This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC26xx: Getting the TX Queue size?

Is there anyway to find out how many messages are in the TX queue in the BLE stack? I know that you can send lots of notifications for example and check the status return to see if the queue is full, but I would like to know when the queue is empty.. The only way I can think of is setting the queue size to be 1 and controlling the packet flow in, but that is really painful and kills throughput. Is there any other way?

Thanks!

  • Hello,

    No, there is no method to check the number of queued items in the Controller. For BLE, the core spec does not define this behavior.

    If you get blePending error code, this indicates that the queue is full.

    Best wishes