Re: Native MQTT client library for ESP8266
Posted: Mon Jan 12, 2015 3:42 pm
I tried to help out tonight - wrote a queue - but I can't get your publish callback to work - in the init, it's all setup
MQTT_OnPublished(&mqttClient, mqttPublishedCb);
But when publishing - nothing happens - the info text in that callback is not showing in the serial and if I add code in there - it's not being run.
MQTT_OnPublished(&mqttClient, mqttPublishedCb);
But when publishing - nothing happens - the info text in that callback is not showing in the serial and if I add code in there - it's not being run.
tuanpm wrote:You right Peter,
If you wait and poll for published event, it will block os threads.
I will add publish buffer and publish queue soon
Tuan PM