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.

RTOS/SIMPLELINK-CC3220-SDK: Questions about the CC3220 SDK

Part Number: SIMPLELINK-CC3220-SDK

Tool/software: TI-RTOS

Hi,

 I read about the CC3220 SDK source code and some things I don't understand,Mqueue. C in the SDK,Why is msg_len less than mq_msgsize return -1?

  • This is part of the mq_receive() API definition. We are missing setting errno to EMSGSIZE, but returning -1 is the spec for this case.


    EMSGSIZE
    msg_len was less than the mq_msgsize attribute of the message
    queue.

    We are actively working on supplying errno values but do not have a time-frame yet.

    Todd