Skip to content

Instantly share code, notes, and snippets.

@PiAir
Created July 27, 2016 22:02
Show Gist options
  • Save PiAir/9e10ea480e01f88c890539a2d1f29dce to your computer and use it in GitHub Desktop.
Save PiAir/9e10ea480e01f88c890539a2d1f29dce to your computer and use it in GitHub Desktop.
eddyStoneData = [
0x03, // Length of Service List
0x03, // Param: Service List
0xAA, 0xFE, // Eddystone ID
0x13, // Length of Service Data
0x16, // Service Data
0xAA, 0xFE, // Eddystone ID
0x10, // Frame type: URL
0xF8, // Power
0x03, // https://
'g',
'o',
'o',
'.',
'g',
'l',
'/',
'Q',
'F',
'l',
'7',
'l',
'9'];
NRF.setAdvertising(eddyStoneData, {interval:100});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment