tx_queue_receive returns back TX_QUEUE_EMPTY with TX_WAIT_FOREVER being set
duan allen
76
Reputation points
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.
Sign in to answer