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-bluetooth-mdw
Fork of nRF51822 by
Diff: source/btle/btle_discovery.cpp
- Revision:
- 384:8a1747598ac2
- Parent:
- 381:c997e9717fb7
diff -r 885c4a173a3d -r 8a1747598ac2 source/btle/btle_discovery.cpp
--- 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();
