v2
Dependencies: BLE_API mbed DOOR
Fork of DOOR by
Diff: main.cpp
- Revision:
- 2:90b493cdcb1f
- Parent:
- 0:7613d21e5974
- Child:
- 4:0ce8d2dd62f9
--- a/main.cpp Tue Apr 01 10:36:41 2014 +0000 +++ b/main.cpp Wed Apr 02 18:36:52 2014 +0000 @@ -49,7 +49,7 @@ GapAdvertisingData advData; GapAdvertisingData scanResponse; - /* Define an iBeacon payload + /* Define an Beacon payload -------------------------------------------------------------- 128-Bit UUID = E2 0A 39 F4 73 F5 4B C4 A1 2F 17 D1 AD 07 A9 61 Major/Minor = 0000 / 0000 @@ -60,7 +60,7 @@ /* Make sure we get a clean start */ nrf.reset(); - /* iBeacon includes the FLAG and MSD fields */ + /* Beacon includes the FLAG and MSD fields */ advData.addFlags(GapAdvertisingData::BREDR_NOT_SUPPORTED); advData.addData(GapAdvertisingData::MANUFACTURER_SPECIFIC_DATA, iBeaconPayload, sizeof(iBeaconPayload));