BLE_API for nRF51
Fork of BLE_API by
Diff: ble/Gap.h
- Revision:
- 754:9b391fb5c5d7
- Parent:
- 753:0f60274cd3ad
- Child:
- 762:89ec64c66d94
diff -r 0f60274cd3ad -r 9b391fb5c5d7 ble/Gap.h --- 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);