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

Improving latency when using the NUS BLE service

Hello. I'm using the NUS BLE service to send ADC sensor data. I am having the SAADC callback function call ble_nus_data_send() to send raw samples. I have set the min and max connection interval to 7.5 ms. The source resistance on the AIN input pin is 33k Ohms and so I can set TACQ to as low as 5 us. I may use the ADC limit feature to detect samples crossing threshold values.

I would like to send sensor data with the lowest possible latency. Can I tweak any GATT, GAP or NUS service parameters to expedite the transfer? I am willing to give up data throughput for improved latency. If 7.5 ms connection interval cannot be reduced are there any other tricks? Thanks!

Parents Reply Children
No Data
Related