Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 10 months ago.
The onDataSent callback function is never called
It seems the onDataSent callback is supposed to be called when a notify characteristic is sent and a GATT_EVENT_DATA_SENT event is generated. But, in the BLE stack, sending a notify characteristic only generates a BLE_EVT_TX_COMPLETE event (int the ble.h).
The onDataSent callback and the GATT_EVENT_DATA_SENT event are in the GATT layer, but the BLE_EVT_TX_COMPLETE event is not. How to correlate the BLE_EVT_TX_COMPLETE event with the GATT_EVENT_DATA_SENT event?
Question relating to:
1 Answer
9 years, 10 months ago.
The latest version of BLE_API and nRF51822 libraries address this issue and allow for the propagation of onDataSent().
Thanks for bringing this issue to our attention.
regards, Rohit.
Assigned to
9 years, 10 months ago.This means that the question has been accepted and is being worked on.
Hi, Thanks for pointing this out. I've reproduced the problem. I will look into providing a fix shortly.
posted by Rohit Grover 27 Jun 2014