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: microbit-dal microbit-dal microbit-ble-open microbit-dal ... more
Fork of BLE_API by
Diff: public/BLEDevice.h
- Revision:
- 359:611485c370f5
- Parent:
- 358:6a3536a141f3
- Child:
- 362:3b1ff00ad8a4
--- a/public/BLEDevice.h Fri May 08 15:35:47 2015 +0100
+++ b/public/BLEDevice.h Fri May 08 15:35:47 2015 +0100
@@ -339,7 +339,7 @@
* Setup a callback for when the security procedure for a link has
* completed.
*/
- void onSecuritySetupCompleted(Gap::HandleSpecificEvent_t callback);
+ void onSecurityProcedureCompleted(Gap::SecurityProcedureCompletedCallback_t callback);
/**
* Setup a callback for when a link with the peer is secured. For bonded
@@ -770,13 +770,13 @@
inline void
BLEDevice::onSecurityProcedureInitiated(Gap::SecurityProcedureInitiatedCallback_t callback)
{
- transport->getGap().setonSecurityProcedureInitiated(callback);
+ transport->getGap().setOnSecurityProcedureInitiated(callback);
}
inline void
-BLEDevice::onSecuritySetupCompleted(Gap::HandleSpecificEvent_t callback)
+BLEDevice::onSecurityProcedureCompleted(Gap::SecurityProcedureCompletedCallback_t callback)
{
- transport->getGap().setOnSecuritySetupCompleted(callback);
+ transport->getGap().setOnSecurityProcedureCompleted(callback);
}
inline void
