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 nRF51822 by
Revision 254:f30c1233e9db, committed 2015-06-19
- Comitter:
- rgrover1
- Date:
- Fri Jun 19 15:55:23 2015 +0100
- Parent:
- 253:4b3f294415f5
- Child:
- 255:c14e1d09f197
- Commit message:
- Synchronized with git rev 4ece950d
Author: Rohit Grover
updated the definition of service/Characteristic callbacks
Changed in this revision
| btle/btle_discovery.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/btle/btle_discovery.h Fri Jun 19 15:55:22 2015 +0100
+++ b/btle/btle_discovery.h Fri Jun 19 15:55:23 2015 +0100
@@ -91,8 +91,8 @@
class ServiceDiscovery {
public:
- typedef void (*ServiceCallback_t)(void);
- typedef void (*CharacteristicCallback_t)(void);
+ typedef void (*ServiceCallback_t)(const DiscoveredService &);
+ typedef void (*CharacteristicCallback_t)(const DiscoveredCharacteristic &);
public:
static ble_error_t launch(Gap::Handle_t connectionHandle,
