fork BLE_API to add update adv payload API
Fork of BLE_API by
Diff: ble/BLE.h
- Revision:
- 752:424c2ae44553
- Parent:
- 751:868b6dd7a6bf
diff -r 868b6dd7a6bf -r 424c2ae44553 ble/BLE.h --- a/ble/BLE.h Tue Jul 21 13:25:39 2015 +0100 +++ b/ble/BLE.h Tue Jul 21 13:25:39 2015 +0100 @@ -1126,7 +1126,7 @@ * to ble.onRadioNotification(...) should be replaced with * ble.gap().onRadioNotification(...). */ - void onRadioNotification(Gap::RadioNotificationEventCallback_t callback) { + void onRadioNotification(void (*callback)(bool)) { gap().onRadioNotification(callback); }