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
Diff: btle/btle_gattc.cpp
- Revision:
- 211:bf81b20ede23
- Parent:
- 210:e7749aec4203
- Child:
- 212:f2316b17d8be
diff -r e7749aec4203 -r bf81b20ede23 btle/btle_gattc.cpp
--- a/btle/btle_gattc.cpp Fri Jun 19 15:55:17 2015 +0100
+++ b/btle/btle_gattc.cpp Fri Jun 19 15:55:17 2015 +0100
@@ -100,6 +100,12 @@
discoveryStatus.connHandle = connectionHandle;
discoveryStatus.currCharInd = 0;
+
+ ble_gattc_handle_range_t handleRange = {
+ .start_handle = startHandle,
+ .end_handle = endHandle
+ };
+ printf("launch characteristic discovery returned %u\r\n", sd_ble_gattc_characteristics_discover(connectionHandle, &handleRange));
}
void bleGattcEventHandler(const ble_evt_t *p_ble_evt)
