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.

CC2652R7: Maximum Data size transfer through Message queue

Part Number: CC2652R7

Hi 

SDK using : simplelink_cc13xx_cc26xx_sdk_7_10_01_24

Code Using : simple_peripheral_LP_CC2652R7_tirtos7_ticlang

we are using message queue API's which are all defined in following path "/home/ti/simplelink_cc13xx_cc26xx_sdk_7_10_01_24/source/ti/posix/tirtos/mqeue.c" . 


struct mq_attr
{
long mq_flags; /* Message queue description flags: 0 or O_NONBLOCK.
Initialized from oflag argument of mq_open(). */
long mq_maxmsg; /* Maximum number of messages on queue. */
long mq_msgsize; /* Maximum message size. */
long mq_curmsgs; /* Number of messages currently queued. */
};

In the above "struct mq_attr " structure , what is maximum size we can assigned for "mq_msgsize" member, 

I used like below but I can achieve only 100 bytes of data. Is it limited to 100 bytes only ? or more than that we can use 

struct mq_attr attr;

attr.mq_curmsgs = 0;
attr.mq_flags = 0;
attr.mq_maxmsg = 10;
attr.mq_msgsize = 100;
mq_qcsbleManager = mq_open(mngr_queueName,(O_WRONLY | O_CREAT), 0, &attr);