abc

Fork of BLE_API by Bluetooth Low Energy

Revision:
362:3b1ff00ad8a4
Parent:
359:611485c370f5
Child:
363:a3d59a6e5da0
diff -r 9686f5c882fa -r 3b1ff00ad8a4 public/BLEDevice.h
--- a/public/BLEDevice.h	Fri May 08 15:35:47 2015 +0100
+++ b/public/BLEDevice.h	Fri May 08 15:35:47 2015 +0100
@@ -348,7 +348,7 @@
      * occur unless the bonding information is either lost or deleted on either
      * or both sides.
      */
-    void onLinkSecured(Gap::HandleSpecificEvent_t callback);
+    void onLinkSecured(Gap::LinkSecuredCallback_t callback);
 
     /**
      * Setup a callback for bonding; i.e. that link-specific security context
@@ -780,7 +780,7 @@
 }
 
 inline void
-BLEDevice::onLinkSecured(Gap::HandleSpecificEvent_t callback)
+BLEDevice::onLinkSecured(Gap::LinkSecuredCallback_t callback)
 {
     transport->getGap().setOnLinkSecured(callback);
 }