Last active
March 15, 2017 12:54
-
-
Save loke-dev/731097071df7fe1fae67d88f76173a38 to your computer and use it in GitHub Desktop.
Eddystone bluetooth beacon for node.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const eddystoneBeacon = require('eddystone-beacon') | |
const options = { | |
name: 'Beacon', // set device name when advertising (Linux only) | |
txPowerLevel: -21, // override TX Power Level, default value is -21, | |
tlmCount: 2, // 2 TLM frames | |
tlmPeriod: 10 // every 10 advertisements | |
} | |
eddystoneBeacon.advertiseUrl('https://lnu.se', options) | |
console.log("Initiated") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment