cancel
Showing results for 
Search instead for 
Did you mean: 

Smart Bluetooth

hachc_2137126
Contributor II

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

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

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