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