How to determine how many packets will be sent at the next connection interval? When nus+libuarte sends a large amount of data, can nus send out the data received by libuarte at each connection interval. sdk17.1 nrf52832
How to determine how many packets will be sent at the next connection interval? When nus+libuarte sends a large amount of data, can nus send out the data received by libuarte at each connection interval. sdk17.1 nrf52832
Hi,
No, there is no API for this. The application would need to keep track of this itself. From https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v7.3.0/group___b_l_e___g_a_t_t_s___f_u_n_c_t_i_o_n_s.html?cp=5_7_3_1_2_4_2_4#ga313fe43c2e93267da668572e885945db we have:
The application can keep track of the available queue element count for notifications by following the procedure below: