1
0
mirror of https://github.com/adafruit/Adafruit_MQTT_Library.git synced 2025-07-07 02:56:40 +03:00
Commit Graph

356 Commits

Author SHA1 Message Date
1e33ece844 Merge pull request #215 from brentru/fix-processUntil
Fix subscription packet callbacks not executing within processPacketsUntil()
2.5.0
2022-11-01 11:33:44 -04:00
1eb56066ef clang 2022-10-28 16:44:07 -04:00
52e04bebe9 loren review 2022-10-28 16:32:51 -04:00
a80db209cd bump lib prop 2022-10-28 14:53:54 -04:00
30d4af8179 remove debug 2022-10-28 14:53:32 -04:00
5c00e84d08 add new processSubscriptionPacket func 2022-10-28 13:01:06 -04:00
0ba089d1e8 fixes processUntil 2022-10-28 12:27:33 -04:00
7413e92e77 Merge pull request #213 from adafruit/update-ssl-cert
Update SSL Certificate for ESP8266, add warning
2.4.3
2022-08-15 13:35:40 -04:00
25662868c5 add cert and warning 2022-08-15 13:18:56 -04:00
223d419ebd Update library.properties 2.4.2 2021-07-12 09:53:23 -04:00
37e175dcef Merge pull request #196 from xdylanm/send_long_packet_fix
Fixed length calculation when payload exceeds 128bytes
2021-07-12 09:53:02 -04:00
d466773076 Update library.properties 2.4.1 2021-06-22 13:29:31 -04:00
3a319ab695 Merge pull request #195 from rgorosito/fix-loss-subscriptions
Fix: Subscriptions can't be read if arrive when waiting for response of ping or publish
2021-06-22 13:29:11 -04:00
a2bdbacb17 format 2021-05-30 16:16:14 -07:00
b007806ac1 Fixed length calculation when payload exceeds 128bytes 2021-05-30 14:13:57 -07:00
ab78b291b2 more c formatting fixing 2021-05-25 13:23:51 -03:00
986c1b405c fix c formatting 2021-05-25 13:16:43 -03:00
4cb40f87d2 stop loosing messages 2021-05-23 15:52:35 -03:00
e524b5f3ae Merge pull request #194 from brentru/add-kat-public-funct
Add setKeepAliveInterval() setter
2.4.0
2021-05-18 17:04:56 -04:00
c5cdfc9564 clang format 2021-05-18 16:54:01 -04:00
86aff92f0b fixup 2021-05-18 16:43:33 -04:00
a1e64c039e settable keepalive interval 2021-05-18 16:41:26 -04:00
ea2fb46de3 Merge pull request #193 from xdylanm/send_rcv_long_packets
Support publishing and receiving large messages.
2.3.0
2021-05-14 12:01:40 -04:00
db003d30d1 Addressing comments from PR #193 with merge from PR#166. Clang-format, version ticked to 2.3.0, replaced duplicate topicOffsetFromLength with packetAdditionalLen. 2021-05-14 08:09:07 -07:00
c782cc454f Merge branch 'master' of https://github.com/adafruit/Adafruit_MQTT_Library into send_rcv_long_packets
Pull in changes from flavio-fernandes
2021-05-14 07:47:38 -07:00
ca12d21eb2 Merge pull request #166 from flavio-fernandes/protect.buffer
Adafruit_MQTT::publishPacket: Protect against memory corruption.
2.2.0
2021-05-14 09:22:29 -04:00
93a35d1a3e fix typo 2021-05-12 21:54:08 -07:00
2ea8a0b3fc Support publishing and receiving large messages. Send multiple 250 byte packets (ref PR#113) for larger messages. Correctly identify topic start position for >127byte messages (ref PR#166). Resolves issue #102 2021-05-12 21:31:22 -07:00
ce30d2a146 Merge branch 'master' into protect.buffer 2021-05-12 21:25:20 -04:00
fff701ee62 Bump to 2.2.0 2021-05-12 21:18:33 -04:00
e8922f60a9 Merge pull request #192 from brentru/add-esp32-esp32s2-example
Add usage example for ESP32 SSL/TLS
2021-05-12 17:36:47 -04:00
1a3ff727a3 add .skip files for 8266/zero, this is an esp32 example! 2021-05-12 17:33:16 -04:00
2adac525e1 bump version 2021-05-12 17:30:17 -04:00
813585f72b add example for esp32s2/esp32 2021-05-12 17:26:26 -04:00
d6f07ed4e4 Adafruit_MQTT::publishPacket: Protect against memory corruption.
Avoid memory corruption from happening when data payload provided
in Adafruit_MQTT::publishPacket is greater than MAXBUFFERSIZE.

In order to do that, a helper function is being added to calculate
how much space is available for the payload after subtracting what
is used as the header.

Pull request https://github.com/adafruit/Adafruit_MQTT_Library/pull/166
Fixes https://github.com/adafruit/Adafruit_MQTT_Library/issues/109
Fixes https://github.com/adafruit/Adafruit_MQTT_Library/issues/122

Signed-off-by: Flavio Fernandes <flavio@flaviof.com>
2021-04-02 12:14:39 -04:00
f63a37b6fb Merge pull request #170 from Fapiko/better-ping-handling
Better ping handling
2.1.0
2020-11-06 10:39:12 -05:00
f3f5c18c6d Reformatted with clang-format 2020-11-06 10:20:52 -05:00
c952333c40 Removing commented out debug statements 2020-11-05 13:06:12 -05:00
7e0a1573ea Merge master to resolve conflicts 2020-11-05 13:04:17 -05:00
1e72fa7c4a Bump version number for release 2020-11-05 12:55:09 -05:00
c7f716cf5d Bump to 2.0.0 2.0.0 2020-09-30 15:21:46 -04:00
381c3e576c Merge pull request #171 from frederikheld/fix/typo_in_comment
Fixes typo in comment
2020-09-23 11:49:07 -04:00
569c83af8c Merge pull request #179 from cmumford/fix-protected
Corrected client public/private methods.
2020-09-23 11:48:02 -04:00
2f572776c1 Merge pull request #184 from mlwinters/master
Added support for the MKR1010
2020-09-23 11:43:33 -04:00
f1f515651f Moved defined(ARDUINO_SAMD_MKR1010) to line 25
Move "defined(ARDUINO_SAMD_MKR1010)" from lilne 24 to line 25
2020-09-23 10:27:06 +01:00
4b360f2522 Added support for the MKR1010
Added support for the Arduino MKR1010
2020-09-23 09:51:56 +01:00
4a409caf16 Merge branch 'master' into better-ping-handling 2020-08-04 10:38:19 -04:00
956242a28b Bump library.properties version for release 1.3.0 2020-07-07 10:19:42 -04:00
bf7ce5af91 Latest Adafruit IO SSL Fingerprint 1.2.0 2020-07-06 15:53:19 -05:00
c5599bfabc Corrected client public/private methods.
Switched the following four methods from public to
protected in Adafruit_MQTT_Client and Adafruit_MQTT_FONA:

1. connectServer
2. disconnectServer
3. readPacket
4. sendPacket

When public (previously) they could be called by users
of this library, which is not the intent of this API.
2020-07-03 10:43:51 -07:00