aa
Dependents: Peripheral_1_serial_copy Peripheral_1_serial 151006_1st_Scenario_normal
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,