Found 2 other functions taking a
otMessageQueueInfo
argument:
Gets the information about number of messages and buffers in the queue. Updates `aInfo` and adds number of message/buffers in the message queue to the corresponding member variable in `aInfo`. The caller needs to make sure `aInfo` is initialized before calling this method (e.g., clearing `aInfo`). Same `aInfo` can be passed in multiple calls of `GetInfo(aInfo)` on different queues to add up the number of messages/buffers on different queues.
Gets the information about number of messages and buffers in the priority queue. Updates `aInfo` array and adds number of message/buffers in the message queue to the corresponding member variable in `aInfo`. The caller needs to make sure `aInfo` is initialized before calling this method (e.g., clearing `aInfo`). Same `aInfo` can be passed in multiple calls of `GetInfo(aInfo)` on different queues to add up the number of messages/buffers on different queues.