Tool/software: TI-RTOS
Hi,
Is there any way to get the number of bytes copied to msg(buffer) when Mailbox_pend(Mailbox_Handle handle, Ptr msg, UInt timeout) is called?
Regards,
Sandhya
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.
Tool/software: TI-RTOS
Hi,
Is there any way to get the number of bytes copied to msg(buffer) when Mailbox_pend(Mailbox_Handle handle, Ptr msg, UInt timeout) is called?
Regards,
Sandhya
Thanks for your reply.
This is my understanding - since multiple messages can be posted in a mailbox, normally when a mailbox is created, the size provided will be the maximum size of a single message and when Mailbox_getMsgSize() is called it will return that size which is provided during mailbox creation and TI is not providing an option to get the exact number of bytes read when Mailbox_pend() is called (like msgQReceive() in VxWorks). Please confirm