AnsweredAssumed Answered

_lwmsgq_receive check for message

Question asked by DALE RODDA on Mar 7, 2011
Latest reply on Mar 9, 2011 by David E Seymour

I am new to using MQX and its documentation. The _lwmsgq_receive function in the reference manual, has a LWMSGQ_RECEIVE_BLOCK_ON_EMPTY with an error code of LWMSGQ_EMPTY. However, a block task never returns. How do I check to see if there is an message?


I have been looking at the MQX reference guide, the users guide and the guide. Like I said I am new at this but where is the documentation? I am thinking there should be a documented way to find the number of messages or the status and I have not found it YET. Hope springs eternal!