umqtt subscribe needs broker response
Posted: Thu Jun 27, 2019 10:06 am
Dear All,
I use umqtt on ESP8266 to connect to Thingsboard MQTT broker.
AFAIK the in current implementation of umqtt, after subscribing to a topic the server must send a response, therefore the client waits for that response. However the Thingsboard built-in MQTT broker does not send any response after subscribe, so my program waits forever.
Could you please recommend any workaround? How should I rewrite the umqtt.simple to handle this behavior?
Thanks in advance
I use umqtt on ESP8266 to connect to Thingsboard MQTT broker.
AFAIK the in current implementation of umqtt, after subscribing to a topic the server must send a response, therefore the client waits for that response. However the Thingsboard built-in MQTT broker does not send any response after subscribe, so my program waits forever.
Could you please recommend any workaround? How should I rewrite the umqtt.simple to handle this behavior?
Thanks in advance