Hi!
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 https://yappem.com/www-survey-walmart-c ... art-survey 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.
Need a help
Need a help
Last edited by MaxP on Sat Aug 10, 2019 8:25 pm, edited 2 times in total.
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Broken brokers
My personal view is that trying to code around a broken broker is a hiding to nothing - you'll be forever chasing other non-conformant behaviour. Use a proper broker, e.g. mosquitto which will run happily on minimal hardware such as a Raspberry Pi.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.