Tool/software: Code Composer Studio
Hi,
what is the meaning of result -5 by MQTTClient_publish?
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: Code Composer Studio
Hi,
what is the meaning of result -5 by MQTTClient_publish?
From mqtt_common.h:
#define MQTT_PACKET_ERR_PKT_AVL (-5) /**< No pkts are available in pool */
I did some digging in the source code and it seems our library cannot allocate memory for the packet you're trying to send.
Are you getting this error?
Jesu