node-eddystone-beacon-scanner as a replacement
node-uri-beacon-scanner is deprecated, useScan for UriBeacon's using node.js
Use's noble for BLE peripheral scanning, then attempts to parse discovered peripherals using the UriBeacon Advertising Packet Specification
Setup
npm install uri-beacon-scanner
Examples
See examples folder.
Usage
var UriBeaconScanner = ;
Register discover event handler
UriBeaconScanner;
The uriBeacon
object will have the following properties:
uri
- (expanded) URI the beacon is broadcastingflags
- flagstxPower
- measured received power at 0 m in dBmrssi
- RSSI of discovered beacon
Start scanning
Start scanning for UriBeacon's, you can specify whether to allow duplicates (default is false).
UriBeaconScanner;
Stop scanning
Stop scanning for UriBeacon's.
UriBeaconScanner;