Minor temporary patch to allow DFU packet callback

Fork of BLE_API by Bluetooth Low Energy

Revision:
364:03a7a439a3bf
Parent:
363:a3d59a6e5da0
Child:
365:668d664cbd10
--- a/public/BLEDevice.h	Fri May 08 15:35:47 2015 +0100
+++ b/public/BLEDevice.h	Fri May 08 15:35:47 2015 +0100
@@ -331,15 +331,15 @@
     void onRadioNotification(Gap::RadioNotificationEventCallback_t callback);
 
     /**
-     * Setup a callback for when the security procedure for a link has started.
+     * Setup a callback for when the security setup procedure (key generation
      */
-    void onSecurityProcedureInitiated(Gap::SecuritySetupInitiatedCallback_t callback);
+    void onSecuritySetupInitiated(Gap::SecuritySetupInitiatedCallback_t callback);
 
     /**
      * Setup a callback for when the security procedure for a link has
      * completed.
      */
-    void onSecurityProcedureCompleted(Gap::SecuritySetupCompletedCallback_t callback);
+    void onSecuritySetupCompleted(Gap::SecuritySetupCompletedCallback_t callback);
 
     /**
      * Setup a callback for when a link with the peer is secured. For bonded
@@ -768,15 +768,15 @@
 }
 
 inline void
-BLEDevice::onSecurityProcedureInitiated(Gap::SecuritySetupInitiatedCallback_t callback)
+BLEDevice::onSecuritySetupInitiated(Gap::SecuritySetupInitiatedCallback_t callback)
 {
-    transport->getGap().setOnSecurityProcedureInitiated(callback);
+    transport->getGap().setOnSecuritySetupInitiated(callback);
 }
 
 inline void
-BLEDevice::onSecurityProcedureCompleted(Gap::SecuritySetupCompletedCallback_t callback)
+BLEDevice::onSecuritySetupCompleted(Gap::SecuritySetupCompletedCallback_t callback)
 {
-    transport->getGap().setOnSecurityProcedureCompleted(callback);
+    transport->getGap().setOnSecuritySetupCompleted(callback);
 }
 
 inline void