New MQTT library for ESP8266/ESP32 cores: full QoS0/1/2 payloads up to 120kB

If anybody has been having problems with the AsyncMqttClient Library in any of the categories below, help is at hand - all 16 of these bugs have been fixed in the very-soon-to-be-released PangolinMQTT:

  • Spontaneous DCX/CNX. [MF1]
  • Will Topic bug Prevents sketch from starting with non-static input. [MF1]
  • Bad Subscribe Invalid topic causes DCX/CNX [PP]
  • No topic validation for subscribe (see above) [PP]
  • Discarded messages #1 [MF2]
  • Discarded messages #2 [MF2]
  • Total Message Loss [MF2]
  • No error handling callback [PP]
  • "Killer Packet" inbound [MF3][PP]
  • QoS1 Protocol Violation [MF2][MF3]
  • Fragment Failure [MF3]
  • Numerous API errors - sufficient for their own document[PP]
  • QoS 1/2 protocol violation - no message resend[PP]
  • QoS 1/2 protocol violation - no session recovery[PP]
  • QoS 1 protocol violation - breach of delivery promise[PP]
  • QoS 2 protocol violation - breach of delivery promise[PP]

You can read full details of all the bugs (with supporting evidence) here: Pangolin Github Site