question

duanallen-5336 avatar image
0 Votes"
duanallen-5336 asked ScottAzureRTOS commented

tx_queue_receive returns back TX_QUEUE_EMPTY with TX_WAIT_FOREVER being set


My understanding is that the taks calling tx_queue_receive should stay in suspend mode until it receives Msg because the TX_WAIT_FOREVER is set. However, in this case, I received TX_QUEUE_EMPTY: (0x0A) which is defined as below. It's hard to corelate my assumption and the explanation below, can I get some hlep. :)


TX_QUEUE_EMPTY: (0x0A) Service was unable to retrieve a message because the queue was empty for the duration of the specified time to wait.

azure-rtos
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @duanallen-5336 Community SME's on this topic or our team will review your scenario and circle back at the possible earliest time.

0 Votes 0 ·

What does you tx_queue_receive call look like?

Are you sending anything to the queue?

0 Votes 0 ·

0 Answers