11 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:

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

1 Answer

11 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 Rohit Grover 11 years, 10 months ago.

This means that the question has been accepted and is being worked on.