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

How to access BLE_EVT_TX_COMPLETE?

Hello,

I am getting the error code 0x3004, because I am transmitting data too quickly and filling up the transmission buffers.

From other posts, I know the solution is to wait for the TX_COMPLETE event before I transmit more data. I am transmitting data using the ble_nus_string_send function, then checking the err_code from it.

My question: how do I access the BLE_EVT_TX_COMPLETE event in the main file, so that I can set a condition that will allow me to start transmitting data again over ble_nus?

Related