EddyStone Beacon demo for the BLE API using the nRF51822 native mode drivers
Dependencies: BLE_API mbed nRF51822
Fork of BLE_iBeacon by
Diff: main.cpp
- Revision:
- 72:eb4de3de66b8
- Parent:
- 71:12660a3eb07d
- Child:
- 73:4793c5b3a7be
--- 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 } }