Skip to content

v2.0.0

Compare
Choose a tag to compare
@adam-fowler adam-fowler released this 30 Jun 20:31
· 101 commits to main since this release
80285f6
  • Add Support for MQTT v5.0.
    • Set version in Configuration. Can access v5.0 specific features via MQTTClient.v5 .
    • Add v5 features like properties and reasons.
    • Extract server parameters from CONNACK properties.
  • Replaced FreeRTOS coreMQTT packet serialisation C library with Swift.
  • Combined error types. Errors are either MQTTError for client issues or MQTTPacketError for packet validation issues.
  • Fix packet resend policy. Now PUBLISH and PUBREL packets are stored while waiting for a response from the server. If the server connection is lost the packets still waiting for a response are resent.
  • Add PUBLISH/SUBSCRIBE packet validation to ensure we aren't sending bad packets to server.
  • Add MQTT v3.1.1 connection return codes.
  • Add webSocketMaxFrameSize configuration parameter.