Software can read HMC5883L

Dependents:   DOOR_BLE_PROGRAM

Fork of BLE_API by Bluetooth Low Energy

Files at this revision

API Documentation at this revision

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);
     }