I'm working with the FreeRTOS example of the CC3200SDK_1.1.0 and I have a question in the part of the creation of the Queue.
My problem is that in the osi.h file says:
/*******************************************************************************
This function creates a message queue that is typically used for inter thread
communication.
Parameters:
pMsgQ - pointer to the message queue control block
pMsgQName - pointer to the name of the message queue
MsgSize - the size of the message.
NOTICE: THE MESSGAE SIZE MUST BE SMALLER THAN 16
MaxMsgs - maximum number of messages.
Please note that this function allocates the entire memory required
for the maximum number of messages (MsgSize * MaxMsgs).
********************************************************************************/
OsiReturnVal_e osi_MsgQCreate(OsiMsgQ_t* pMsgQ ,
char* pMsgQName,
unsigned long MsgSize,
unsigned long MaxMsgs);
I don´t understand why should be 16 and actually I use a value of 50 and works fine, and also for what is the maximum number of messages?
If somebody could explain it to me, it'll be great
Regards, Juan