nordic
Fork of nRF51822 by
Diff: source/btle/btle_discovery.cpp
- Revision:
- 385:8a1747598ac2
- Parent:
- 382:c997e9717fb7
--- a/source/btle/btle_discovery.cpp Mon Jul 06 10:21:03 2015 +0100 +++ b/source/btle/btle_discovery.cpp Mon Jul 06 10:21:03 2015 +0100 @@ -76,6 +76,17 @@ nRF51GattClient::getInstance().processWriteResponse(&response); } break; + + case BLE_GATTC_EVT_HVX: { + GattHVXCallbackParams params; + params.handle = p_ble_evt->evt.gattc_evt.params.hvx.handle; + params.type = static_cast<HVXType_t>(p_ble_evt->evt.gattc_evt.params.hvx.type); + params.len = p_ble_evt->evt.gattc_evt.params.hvx.len; + params.data = p_ble_evt->evt.gattc_evt.params.hvx.data; + + nRF51GattClient::getInstance().processHVXEvent(¶ms); + } + break; } sdSingleton.progressCharacteristicDiscovery();