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:
- 362:3b1ff00ad8a4
- Parent:
- 359:611485c370f5
- Child:
- 363:a3d59a6e5da0
--- a/public/BLEDevice.h Fri May 08 15:35:47 2015 +0100 +++ b/public/BLEDevice.h Fri May 08 15:35:47 2015 +0100 @@ -348,7 +348,7 @@ * occur unless the bonding information is either lost or deleted on either * or both sides. */ - void onLinkSecured(Gap::HandleSpecificEvent_t callback); + void onLinkSecured(Gap::LinkSecuredCallback_t callback); /** * Setup a callback for bonding; i.e. that link-specific security context @@ -780,7 +780,7 @@ } inline void -BLEDevice::onLinkSecured(Gap::HandleSpecificEvent_t callback) +BLEDevice::onLinkSecured(Gap::LinkSecuredCallback_t callback) { transport->getGap().setOnLinkSecured(callback); }