This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Check if a certain packet has been transmitted

Hello Nordic! In my FW, I need to know when a specific packet has been actually sent (because of SD packet buffering). I am able to receive the BLE_EVT_TX_COMPLETE event, but that provides no information regarding the contents of the packet that was sent. The packet are being sent using notifications.

To achieve this, I was I'm using an thinking about checking the SD buffer status just before requesting the transmission of the packet of interest (say there were x packet on the buffer). Then, I would count down how many TX_COMPLETE were received since the transmission was requested (x--), and when x==0 the packet had been sent. My question is how do I access the status of the SD TX buffer.

Is there a better method to know when a packet has been sent? Indications could be a possibility, but I would like to avoid them if possible.

I'm using a nRF51822 along with SDK6.1 and s110 v7.3.0.

Parents Reply Children
No Data
Related