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

send data over uart without losing connection

hi all, i have a electronic device having a button which sends continous data till i keep button pressed. i want to send these data without losing connection. i can across this tutorial where it is written that i can send data using ble_nus_c_string_send() function this function can only be used 2 times per connection interval (minimum 7.5 ms). If I call this function too fast, the tx buffers fill up and you will be returned the error BLE_ERROR_NO_TX_BUFFERS.

how i should handle this situation so that if i keep my button pressed which gives multiple data and need to send data without connection lost.

Please kindly guide me with some example or something.

thanks!!

Parents Reply Children
No Data
Related