fork

Fork of nRF51822 by Nordic Semiconductor

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;