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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.4
    0
    • latest

Version History

Package Sidebar

Install

npm i uri-beacon

Weekly Downloads

0

Version

0.2.4

License

Apache Version 2.0

Last publish

Collaborators

  • don