Openwear requires RC oscillator to be used
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;