fork BLE_API to add update adv payload API
Fork of BLE_API by
Diff: ble/Gap.h
- Revision:
- 754:9b391fb5c5d7
- Parent:
- 753:0f60274cd3ad
- Child:
- 758:ce45c506a779
--- 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);