abc
Fork of BLE_API by
Diff: public/BLEDevice.h
- Revision:
- 359:611485c370f5
- Parent:
- 358:6a3536a141f3
- Child:
- 362:3b1ff00ad8a4
diff -r 6a3536a141f3 -r 611485c370f5 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 @@ -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