launchCharacteristicDiscovery now calls sd_ble_gattc_characteristics_discover()

master
Rohit Grover 2015-05-01 08:29:57 +01:00
parent 0796184cce
commit f135020de9
1 changed files with 6 additions and 0 deletions

View File

@ -100,6 +100,12 @@ void launchCharacteristicDiscovery(Gap::Handle_t connectionHandle, Gap::Handle_t
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)