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

Packets sending and BLE_EVT_TX_COMPLETE timing?

Does someone could tell me where can I find information on the sequencing of events BLE_EVT_TX_COMPLETE and packet transmissions during connection periods?

In my application, I use BLE_EVT_TX_COMPLETE events and tx_complete.count parameter to manage the data flow (notify). I have not found documentation that explains how it works and I don't understand the timing between packets sending on RF link and receiving BLE_EVT_TX_COMPLETE (and tx_complete.count meaning).

Where can I find such information?

Thanks!

Parents
  • Hi,

    There is limited documentation on this, but here is an answer that explain it in a way.

    To summarize: You will get BLE_EVT_TX_COMPLETE event when one or more packets are successfully transmitted (ack received). The tx_complete.count parameter will tell you how many packets that were transmitted. tx_complete.count can be from 1 to the number of buffers that are allocated (which can be checked with sd_ble_tx_buffer_count_get()).

    Also see this message chart (only shows for one packet).

    Ole

Reply
  • Hi,

    There is limited documentation on this, but here is an answer that explain it in a way.

    To summarize: You will get BLE_EVT_TX_COMPLETE event when one or more packets are successfully transmitted (ack received). The tx_complete.count parameter will tell you how many packets that were transmitted. tx_complete.count can be from 1 to the number of buffers that are allocated (which can be checked with sd_ble_tx_buffer_count_get()).

    Also see this message chart (only shows for one packet).

    Ole

Children
No Data
Related