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.
Fork of BLE_API by
Diff: public/BLEDevice.h
- Revision:
- 363:a3d59a6e5da0
- Parent:
- 362:3b1ff00ad8a4
- Child:
- 364:03a7a439a3bf
--- 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,13 +333,13 @@ /** * Setup a callback for when the security procedure for a link has started. */ - void onSecurityProcedureInitiated(Gap::SecurityProcedureInitiatedCallback_t callback); + void onSecurityProcedureInitiated(Gap::SecuritySetupInitiatedCallback_t callback); /** * Setup a callback for when the security procedure for a link has * completed. */ - void onSecurityProcedureCompleted(Gap::SecurityProcedureCompletedCallback_t callback); + void onSecurityProcedureCompleted(Gap::SecuritySetupCompletedCallback_t callback); /** * Setup a callback for when a link with the peer is secured. For bonded @@ -768,13 +768,13 @@ } inline void -BLEDevice::onSecurityProcedureInitiated(Gap::SecurityProcedureInitiatedCallback_t callback) +BLEDevice::onSecurityProcedureInitiated(Gap::SecuritySetupInitiatedCallback_t callback) { transport->getGap().setOnSecurityProcedureInitiated(callback); } inline void -BLEDevice::onSecurityProcedureCompleted(Gap::SecurityProcedureCompletedCallback_t callback) +BLEDevice::onSecurityProcedureCompleted(Gap::SecuritySetupCompletedCallback_t callback) { transport->getGap().setOnSecurityProcedureCompleted(callback); }