pubsubclient

A client library for the Arduino Ethernet Shield that provides support for MQTT.

MIT License

Stars
3.8K
Committers
39

Bot releases are visible (Hide)

pubsubclient - Latest Release

Published by knolleary over 4 years ago

  • Add setBufferSize() to override MQTT_MAX_PACKET_SIZE
  • Add setKeepAlive() to override MQTT_KEEPALIVE
  • Add setSocketTimeout() to overide MQTT_SOCKET_TIMEOUT
  • Added check to prevent subscribe/unsubscribe to empty topics
  • Declare wifi mode prior to connect in ESP example
  • Use strnlen to avoid overruns
  • Support pre-connected Client objects
pubsubclient -

Published by knolleary almost 6 years ago

  • Fix remaining-length handling to prevent buffer overrun
  • Add large-payload API - beginPublish/write/publish/endPublish
  • Add yield call to improve reliability on ESP
  • Add Clean Session flag to connect options
  • Add ESP32 support for functional callback signature
  • Various other fixes
pubsubclient -

Published by knolleary over 8 years ago

  • Revert breaking change to callback signature
pubsubclient -

Published by knolleary over 8 years ago

  • Add a library.json file for PlatformIO
  • Handle dns failure on connect properly
  • Made use of callback std::function ESP8266-specific
  • Allow existing #-defines to be predefined
pubsubclient - v2.4

Published by knolleary almost 9 years ago

  • Add MQTT_SOCKET_TIMEOUT to prevent it blocking indefinitely whilst waiting for inbound data
  • Fixed return code when publishing >256 bytes
pubsubclient -

Published by knolleary about 9 years ago

  • Add publish(topic,payload,retained) function
pubsubclient -

Published by knolleary about 9 years ago

  • Change code layout to match Arduino Library reqs
pubsubclient -

Published by knolleary about 9 years ago

  • Add MAX_TRANSFER_SIZE def to chunk messages if needed
  • Reject topic/payloads that exceed MQTT_MAX_PACKET_SIZE
pubsubclient -

Published by knolleary about 9 years ago

  • Add (and default to) MQTT 3.1.1 support
  • Fix PROGMEM handling for Intel Galileo/ESP8266
  • Add overloaded constructors for convenience
  • Add chainable setters for server/callback/client/stream
  • Add state function to return connack return code