能源管控程序
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
 
 

86 Zeilen
2.7 KiB

  1. 2.8
  2. * Add setBufferSize() to override MQTT_MAX_PACKET_SIZE
  3. * Add setKeepAlive() to override MQTT_KEEPALIVE
  4. * Add setSocketTimeout() to overide MQTT_SOCKET_TIMEOUT
  5. * Added check to prevent subscribe/unsubscribe to empty topics
  6. * Declare wifi mode prior to connect in ESP example
  7. * Use `strnlen` to avoid overruns
  8. * Support pre-connected Client objects
  9. 2.7
  10. * Fix remaining-length handling to prevent buffer overrun
  11. * Add large-payload API - beginPublish/write/publish/endPublish
  12. * Add yield call to improve reliability on ESP
  13. * Add Clean Session flag to connect options
  14. * Add ESP32 support for functional callback signature
  15. * Various other fixes
  16. 2.4
  17. * Add MQTT_SOCKET_TIMEOUT to prevent it blocking indefinitely
  18. whilst waiting for inbound data
  19. * Fixed return code when publishing >256 bytes
  20. 2.3
  21. * Add publish(topic,payload,retained) function
  22. 2.2
  23. * Change code layout to match Arduino Library reqs
  24. 2.1
  25. * Add MAX_TRANSFER_SIZE def to chunk messages if needed
  26. * Reject topic/payloads that exceed MQTT_MAX_PACKET_SIZE
  27. 2.0
  28. * Add (and default to) MQTT 3.1.1 support
  29. * Fix PROGMEM handling for Intel Galileo/ESP8266
  30. * Add overloaded constructors for convenience
  31. * Add chainable setters for server/callback/client/stream
  32. * Add state function to return connack return code
  33. 1.9
  34. * Do not split MQTT packets over multiple calls to _client->write()
  35. * API change: All constructors now require an instance of Client
  36. to be passed in.
  37. * Fixed example to match 1.8 api changes - dpslwk
  38. * Added username/password support - WilHall
  39. * Added publish_P - publishes messages from PROGMEM - jobytaffey
  40. 1.8
  41. * KeepAlive interval is configurable in PubSubClient.h
  42. * Maximum packet size is configurable in PubSubClient.h
  43. * API change: Return boolean rather than int from various functions
  44. * API change: Length parameter in message callback changed
  45. from int to unsigned int
  46. * Various internal tidy-ups around types
  47. 1.7
  48. * Improved keepalive handling
  49. * Updated to the Arduino-1.0 API
  50. 1.6
  51. * Added the ability to publish a retained message
  52. 1.5
  53. * Added default constructor
  54. * Fixed compile error when used with arduino-0021 or later
  55. 1.4
  56. * Fixed connection lost handling
  57. 1.3
  58. * Fixed packet reading bug in PubSubClient.readPacket
  59. 1.2
  60. * Fixed compile error when used with arduino-0016 or later
  61. 1.1
  62. * Reduced size of library
  63. * Added support for Will messages
  64. * Clarified licensing - see LICENSE.txt
  65. 1.0
  66. * Only Quality of Service (QOS) 0 messaging is supported
  67. * The maximum message size, including header, is 128 bytes
  68. * The keepalive interval is set to 30 seconds
  69. * No support for Will messages