knolleary / pubsubclient

A client library for the Arduino Ethernet Shield that provides support for MQTT.
http://pubsubclient.knolleary.net/
MIT License
3.78k stars 1.46k forks source link

subscribe can fail - qos not handled #997

Open jp-embedded opened 1 year ago

jp-embedded commented 1 year ago

subscribe can fail, resulting in no messages received afterwards.

Looking at the code, the publish is sent with QOS1 but the SUBACK is not handled so there is no way to know if the server has received and accepted the subscription.