Update for latest nRF51822 code changes.
Dependencies: BLE_API nRF51822
Fork of Puck by
Diff: Puck.h
- Revision:
- 23:21b5ecbc84ea
- Parent:
- 22:7d728fed55ab
- Child:
- 25:5ac5f1d1a11e
--- a/Puck.h Tue Mar 03 22:17:17 2015 +0000
+++ b/Puck.h Mon Mar 09 13:23:54 2015 +0000
@@ -211,8 +211,8 @@
deviceName[9] = '\0';
ble.setDeviceName((const uint8_t*) deviceName);
- ble.accumulateAdvertisingPayload(GapAdvertisingData::BREDR_NOT_SUPPORTED);
- LOG_DEBUG("Accumulate advertising payload: BREDR_NOT_SUPPORTED.\n");
+ ble.accumulateAdvertisingPayload(GapAdvertisingData::BREDR_NOT_SUPPORTED | GapAdvertisingData::LE_GENERAL_DISCOVERABLE);
+ LOG_DEBUG("Accumulate advertising payload: BREDR_NOT_SUPPORTED | LE_GENERAL_DISCOVERABLE.\n");
ble.accumulateAdvertisingPayload(GapAdvertisingData::MANUFACTURER_SPECIFIC_DATA, beaconPayload, sizeof(beaconPayload));
LOG_DEBUG("Accumulate advertising payload: beacon data.\n");
