Bluetooth URI Beacon for Physical Web
Requires NodeJS and Linux
Install the dependencies
npm install
Run tests
npm test
Create a beacon
$ sudo node
> uriBeacon = require ('./uriBeacon')
> uriBeacon.advertise('http://example.com')
See the examples
- simpleBeacon - easiest way to create a URI Beacon
- blenoBeacon - manually create a URI Beacon using bleno
- flexibleBeacon - use library to encode URI, manually handle advertising data
This only runs on Linux. You need to run as sudo. See bleno for more info.
Have an older machine or Raspberry Pi? Add a Bluetooth 4.0 USB Adapter.