abc
Fork of BLE_API by
Diff: public/BLEDevice.h
- Revision:
- 363:a3d59a6e5da0
- Parent:
- 362:3b1ff00ad8a4
- Child:
- 364:03a7a439a3bf
diff -r 3b1ff00ad8a4 -r a3d59a6e5da0 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,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); }