
Beacon demo for the BLE API using the nRF51822 native mode drivers
Dependencies: BLE_API SDFileSystem mbed-rtos mbed nRF51822 X_NUCLEO_IDB0XA1
Fork of BLE_iBeacon by
Revision 72:eb4de3de66b8, committed 2015-07-22
- Comitter:
- rgrover1
- Date:
- Wed Jul 22 07:45:18 2015 +0000
- Parent:
- 71:12660a3eb07d
- Child:
- 73:abad114618b5
- Commit message:
- minor cosmetic change.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Jul 21 12:28:34 2015 +0000 +++ b/main.cpp Wed Jul 22 07:45:18 2015 +0000 @@ -41,7 +41,7 @@ ble.gap().setAdvertisingInterval(1000); /* 1000ms. */ ble.gap().startAdvertising(); - while(1) { + while (true) { ble.waitForEvent(); // allows or low power operation } }