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:
- 58:ea344155a388
- Parent:
- 57:9782cb35c494
- Child:
- 59:4cd4f48e2775
--- a/main.cpp Mon Feb 16 09:33:34 2015 +0000 +++ b/main.cpp Mon Feb 16 09:50:59 2015 +0000 @@ -45,13 +45,10 @@ int main(void) { - // Initialize BLE baselayer ble.init(); - // Initialize ibeacon iBeaconService ibeacon(ble, uuid, majorNumber, minorNumber, txPower); - // Set advertising time ble.setAdvertisingInterval(Gap::MSEC_TO_ADVERTISEMENT_DURATION_UNITS(100)); /* 100ms. */ ble.startAdvertising();