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:
- 364:03a7a439a3bf
- Parent:
- 363:a3d59a6e5da0
- Child:
- 365:668d664cbd10
diff -r a3d59a6e5da0 -r 03a7a439a3bf 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 @@ -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