add "LE Device Address" 0x1B to advertising data types
Fork of BLE_API by
Revision 752:424c2ae44553, committed 2015-07-21
- Comitter:
- rgrover1
- Date:
- Tue Jul 21 13:25:39 2015 +0100
- Parent:
- 751:868b6dd7a6bf
- Child:
- 753:0f60274cd3ad
- Commit message:
- Synchronized with git rev 5eda1ad9
Author: Rohit Grover
make signature of BLE::onRadioNotification() more explicit.
void onRadioNotification(void (*callback)(bool))
This then is extended in Gap.h by:
template <typename T>
void onRadioNotification(T *tptr, void (T::*mptr)(bool));
Changed in this revision
ble/BLE.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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); }