This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

mqtt publish

Dear Sir.

Using the mqtt_simple project , I inserted a 1 sec timer.

Within the timer I want to use the publish routine  like this

 data_publish(&client,MQTT_QOS_1_AT_LEAST_ONCE,&json_text[0],_PUBLISH_SRC.json_reisha_size);

Is it OK ? , or the publish routine should be synchronized with the mqtt loop ?.

Please Advise

Parents Reply Children
No Data
Related