Created
December 1, 2018 05:54
-
-
Save bathtimefish/ccf64d4f8fc776eb79655d5ed0a41e28 to your computer and use it in GitHub Desktop.
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
var bleacon = require('bleacon'); | |
var uuidSeed = 'e279e48e-5b42-401d-b3ac-8289017070e6'; | |
var uuid = uuidSeed.replace(/-/g,''); | |
var major = 0; | |
var minor = 0; | |
var measuredPower = -59; | |
console.log('Start iBeacon...'); | |
bleacon.startAdvertising(uuid, major, minor, measuredPower); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment