Skip to content

Instantly share code, notes, and snippets.

@bathtimefish
Created December 1, 2018 05:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bathtimefish/ccf64d4f8fc776eb79655d5ed0a41e28 to your computer and use it in GitHub Desktop.
Save bathtimefish/ccf64d4f8fc776eb79655d5ed0a41e28 to your computer and use it in GitHub Desktop.
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