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.
Dependencies: nrf51-sdk
Fork of nRF51822 by
Diff: btle/btle_discovery.cpp
- Revision:
- 330:0a8ebc25b57c
- Parent:
- 325:eb6914dca928
- Child:
- 332:b054000833d4
--- a/btle/btle_discovery.cpp Fri Jun 19 15:55:32 2015 +0100
+++ b/btle/btle_discovery.cpp Fri Jun 19 15:55:32 2015 +0100
@@ -248,12 +248,14 @@
for (unsigned charIndex = 0; charIndex < numCharacteristics; charIndex++) {
if (response->chars[charIndex].uuid.type == BLE_UUID_TYPE_UNKNOWN) {
charUUIDDiscoveryQueue.enqueue(charIndex);
- characteristics[charIndex].setup(connHandle,
+ characteristics[charIndex].setup(NULL, /* gattc FIX THIS */
+ connHandle,
response->chars[charIndex].char_props,
response->chars[charIndex].handle_decl,
response->chars[charIndex].handle_value);
} else {
- characteristics[charIndex].setup(connHandle,
+ characteristics[charIndex].setup(NULL, /* gattc FIX THIS */
+ connHandle,
response->chars[charIndex].uuid.uuid,
response->chars[charIndex].char_props,
response->chars[charIndex].handle_decl,
