Minor temporary patch to allow DFU packet callback

Fork of BLE_API by Bluetooth Low Energy

Revision:
358:6a3536a141f3
Parent:
357:d4bb5d2b837a
Child:
359:611485c370f5
--- a/public/BLEDevice.h	Fri May 08 15:35:47 2015 +0100
+++ b/public/BLEDevice.h	Fri May 08 15:35:47 2015 +0100
@@ -333,7 +333,7 @@
     /**
      * Setup a callback for when the security procedure for a link has started.
      */
-    void onSecuritySetupStarted(Gap::HandleSpecificEvent_t callback);
+    void onSecurityProcedureInitiated(Gap::SecurityProcedureInitiatedCallback_t callback);
 
     /**
      * Setup a callback for when the security procedure for a link has
@@ -768,9 +768,9 @@
 }
 
 inline void
-BLEDevice::onSecuritySetupStarted(Gap::HandleSpecificEvent_t callback)
+BLEDevice::onSecurityProcedureInitiated(Gap::SecurityProcedureInitiatedCallback_t callback)
 {
-    transport->getGap().setOnSecuritySetupStarted(callback);
+    transport->getGap().setonSecurityProcedureInitiated(callback);
 }
 
 inline void