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
Dependents: microbit-dal microbit-ble-open microbit-dal-eddystone microbit-dal-ble-accelerometer-example ... more
Diff: nRF51GattServer.cpp
- Revision:
- 36:bd0186ce644a
- Parent:
- 35:7174913c9d67
- Child:
- 38:dc4d0edf9bb9
diff -r 7174913c9d67 -r bd0186ce644a nRF51GattServer.cpp
--- a/nRF51GattServer.cpp Fri Jun 27 13:58:12 2014 +0100
+++ b/nRF51GattServer.cpp Thu Jul 03 10:01:02 2014 +0100
@@ -232,6 +232,10 @@
event = GattServerEvents::GATT_EVENT_DATA_WRITTEN;
break;
+ case BLE_EVT_TX_COMPLETE:
+ handleEvent(GattServerEvents::GATT_EVENT_DATA_SENT);
+ return;
+
case BLE_GATTS_EVT_HVC:
/* Indication confirmation received */
event = GattServerEvents::GATT_EVENT_CONFIRMATION_RECEIVED;