fork BLE_API to add update adv payload API
Fork of BLE_API by
Revision 754:9b391fb5c5d7, committed 2015-07-21
- Comitter:
- rgrover1
- Date:
- Tue Jul 21 13:25:39 2015 +0100
- Parent:
- 753:0f60274cd3ad
- Child:
- 755:e41890615604
- Commit message:
- Synchronized with git rev f12267fc
Author: Rohit Grover
Update comment header for onRadioNotification() to explain the second prototype.
Changed in this revision
ble/Gap.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/ble/Gap.h Tue Jul 21 13:25:39 2015 +0100 +++ b/ble/Gap.h Tue Jul 21 13:25:39 2015 +0100 @@ -867,6 +867,15 @@ * @param callback * The application handler to be invoked in response to a radio * ACTIVE/INACTIVE event. + * + * or in the other version: + * + * @param tptr + * Pointer to the object of a class defining the member callback + * function (mptr). + * @param mptr + * The member callback (within the context of an object) to be + * invoked in response to a radio ACTIVE/INACTIVE event. */ void onRadioNotification(void (*callback)(bool param)) { radioNotificationCallback.attach(callback);