High level Bluetooth Low Energy API and radio abstraction layer
Dependents: BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate BLE_ANCS_SDAPI_IRC ... more
Overview
The BLE_API is a high level abstraction for using Bluetooth Low Energy on multiple platforms. For details and examples using the BLE_API please see the BLE_API Summary Page. Or click on the API Documentation tab above.
Supported Services
Supported services can be found in the BLE_API/services folder.
Diff: ble/GapAdvertisingData.h
- Revision:
- 769:2d236d9afa9e
- Parent:
- 765:4cd91998cd48
- Child:
- 895:a43c4a9bde02
--- a/ble/GapAdvertisingData.h Fri Aug 07 15:55:21 2015 +0100 +++ b/ble/GapAdvertisingData.h Fri Aug 07 15:55:21 2015 +0100 @@ -328,7 +328,7 @@ * Returns a pointer to the the current payload */ const uint8_t *getPayload(void) const { - return (_payloadLen > 0) ? _payload : NULL; + return _payload; } /**