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.
Fork of nRF51822 by
Revision 36:bd0186ce644a, committed 2014-07-03
- Comitter:
- Rohit Grover
- Date:
- Thu Jul 03 10:01:02 2014 +0100
- Parent:
- 35:7174913c9d67
- Child:
- 37:c29c330d942c
- Commit message:
- trigger onDataSent() for BLE_EVT_TX_COMPLETE
Changed in this revision
| nRF51GattServer.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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;
