uri-beacon

0.2.4 • Public • Published

uri-beacon is deprecated, use eddystone-beacon as a replacement

eddystone-beacon NPM

eddystone-beacon Github

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 ('./uri-beacon')
> uriBeacon.advertise('http://example.com')

Create a beacon and specify the txPowerLevel in dBm

$ sudo node
> uriBeacon = require ('./uri-beacon')
> uriBeacon.advertise('http://example.com', { txPowerLevel: -22 })

See the examples

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.

Install

npm i uri-beacon

DownloadsWeekly Downloads

0

Version

0.2.4

License

Apache Version 2.0

Last publish

Collaborators

  • don