Beacon demo for the BLE API using the nRF51822 native mode drivers
Dependencies: BLE_API mbed nRF51822 X_NUCLEO_IDB0XA1
Fork of BLE_iBeacon by
Diff: main.cpp
- Revision:
- 22:080d9bf2f5c0
- Parent:
- 21:a61af863b273
- Child:
- 23:b66fa312e926
--- a/main.cpp Fri May 23 15:23:11 2014 +0100 +++ b/main.cpp Fri May 23 16:17:13 2014 +0100 @@ -39,7 +39,7 @@ * Major/Minor = 0000 / 0000 * Tx Power = C8 */ -uint8_t beaconPayload[] = { +const static uint8_t beaconPayload[] = { 0x4C, 0x00, // Company identifier code (0x004C == Apple) 0x02, // ID 0x15, // length of the remaining payload