Tool/software:
I am using the sdk of mqtt code , and i am getting queue is full , i checked the queue element or handle and was not able to solve the issue . mq_send is not returning 0 i guess ( in send msg to queue) ??
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:
I am using the sdk of mqtt code , and i am getting queue is full , i checked the queue element or handle and was not able to solve the issue . mq_send is not returning 0 i guess ( in send msg to queue) ??
Hi,
Have you tried the mqtt example as is? The example use https://mosquitto.org as the broker. Run the example as is first and make sure it is working as expected. If you want to run MCU as a broker you can also take a look at the example C:\ti\simplelink_msp432e4_sdk_4_20_00_12\examples\rtos\MSP_EXP432E401Y\ns\mqttclientserver.
- First install a mqtt client app on your smartphone.
- connect to the broker at test.mosquitto.org
- subscribe to the topic /Broker/To/simplelink and provide a test message. See below.
- Click the Publish button.
- In the client terminal window, you will see the message displayed. See below.
- Press the button on the LaunchPad and the client send a message 'Push Button 0 has been pressed on SimpleLink device'. See below.
- On the phone client subscribing to the same topic '/simplelink/ButtonPressEvt0', You will see the same message.