fork BLE_API to add update adv payload API
Fork of BLE_API by
Diff: public/BLE.h
- Revision:
- 549:0ade048a19a3
- Parent:
- 548:623e4c0f0b6e
- Child:
- 550:35b3962903af
diff -r 623e4c0f0b6e -r 0ade048a19a3 public/BLE.h --- a/public/BLE.h Fri Jun 19 15:52:09 2015 +0100 +++ b/public/BLE.h Fri Jun 19 15:52:09 2015 +0100 @@ -1135,7 +1135,7 @@ * @note: This API is now *deprecated* and will be dropped in the future. * You should use the parallel API from GattServer directly. A former call * to ble.onDataSent(...) should be replaced with - * ble.gap().onDataSent(...). + * ble.gattServer().onDataSent(...). */ void onDataSent(void (*callback)(unsigned count)) { gattServer().onDataSent(callback); @@ -1162,7 +1162,7 @@ * @note: This API is now *deprecated* and will be dropped in the future. * You should use the parallel API from GattServer directly. A former call * to ble.onDataWritten(...) should be replaced with - * ble.gap().onDataWritten(...). + * ble.gattServer().onDataWritten(...). */ void onDataWritten(void (*callback)(const GattWriteCallbackParams *eventDataP)) { gattServer().onDataWritten(callback);