Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Smart Bluetooth Forum Discussions

hachc_2137126
Level 5
Level 5
10 likes given 5 likes given First like received

While the Indication is defined as sequential forth and back way, does this function 'blecm_getAvailableTxBuffers' should be used before sending indication?

Or specifically, is there any buffer designed for sending indication?

0 Likes
1 Solution
ArvindS_76
Employee
Employee
500 likes received 250 likes received 100 likes received

Yes, it is recommended to call blecm_getAvailableTxBuffers() to check if there are buffers are available to send the indication.

This API checks if the controller has free transmit buffers. The controller does not differentiate between notifications, indications or any other L2CAP, SMP or GATT traffic because all this is user data (from above HCI). So you may have unacknowledged packets from previous transfers in the controllers' transmit queue.

View solution in original post

1 Reply
ArvindS_76
Employee
Employee
500 likes received 250 likes received 100 likes received

Yes, it is recommended to call blecm_getAvailableTxBuffers() to check if there are buffers are available to send the indication.

This API checks if the controller has free transmit buffers. The controller does not differentiate between notifications, indications or any other L2CAP, SMP or GATT traffic because all this is user data (from above HCI). So you may have unacknowledged packets from previous transfers in the controllers' transmit queue.