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:
- 362:3b1ff00ad8a4
- Parent:
- 359:611485c370f5
- Child:
- 363:a3d59a6e5da0
diff -r 9686f5c882fa -r 3b1ff00ad8a4 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 @@ -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); }