Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate BLE_ANCS_SDAPI_IRC ... more
Diff: public/BLEDevice.h
- Revision:
- 358:6a3536a141f3
- Parent:
- 357:d4bb5d2b837a
- Child:
- 359:611485c370f5
diff -r d4bb5d2b837a -r 6a3536a141f3 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
@@ -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