Flavio Fernandes
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
Brent Rubell
f63a37b6fb
Merge pull request #170 from Fapiko/better-ping-handling
...
Better ping handling
2020-11-06 10:39:12 -05:00
Lucas Jandrew
f3f5c18c6d
Reformatted with clang-format
2020-11-06 10:20:52 -05:00
Lucas Jandrew
c952333c40
Removing commented out debug statements
2020-11-05 13:06:12 -05:00
Lucas Jandrew
7e0a1573ea
Merge master to resolve conflicts
2020-11-05 13:04:17 -05:00
Lucas Jandrew
1e72fa7c4a
Bump version number for release
2020-11-05 12:55:09 -05:00
Dylan Herrada
c7f716cf5d
Bump to 2.0.0
2020-09-30 15:21:46 -04:00
Brent Rubell
381c3e576c
Merge pull request #171 from frederikheld/fix/typo_in_comment
...
Fixes typo in comment
2020-09-23 11:49:07 -04:00
Brent Rubell
569c83af8c
Merge pull request #179 from cmumford/fix-protected
...
Corrected client public/private methods.
2020-09-23 11:48:02 -04:00
Brent Rubell
2f572776c1
Merge pull request #184 from mlwinters/master
...
Added support for the MKR1010
2020-09-23 11:43:33 -04:00
Morgan
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
Morgan
4b360f2522
Added support for the MKR1010
...
Added support for the Arduino MKR1010
2020-09-23 09:51:56 +01:00
Brent Rubell
4a409caf16
Merge branch 'master' into better-ping-handling
2020-08-04 10:38:19 -04:00
Brent Rubell
956242a28b
Bump library.properties version for release
2020-07-07 10:19:42 -04:00
Justin Cooper
bf7ce5af91
Latest Adafruit IO SSL Fingerprint
2020-07-06 15:53:19 -05:00
Chris Mumford
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
dherrada
8db0c2787d
Merge pull request #177 from adafruit/actionci
...
Moved to actions, no doxygen
2020-06-26 10:40:14 -04:00
dherrada
148cfb3591
Moved to actions, no doxygen
2020-06-25 09:56:46 -04:00
Frederik Held
ba9a03a41d
Fixes typo in comment
2020-02-29 00:21:45 +01:00
Lucas Jandrew
9bf437e61c
Fix missing handleSubscriptionPacket from code formatting.
2020-02-24 01:41:00 -05:00
Lucas Jandrew
adb717f7dd
Removing remainder of whitespace differences
2020-02-24 01:28:48 -05:00
Lucas Jandrew
3ba30fe64b
Revert code formatting changes by CLion
2020-02-24 01:22:58 -05:00
Lucas Jandrew
8e8245d734
Removed code from my previous PR
2020-02-24 01:11:43 -05:00
Lucas Jandrew
44199a17ee
Fixes issue with client erroneously reading a byte from 0 length packets
2020-02-24 01:10:09 -05:00
Lucas Jandrew
0b8488d9bf
Uncommented code to handle subscription packets...
2020-02-23 22:44:35 -05:00
Lucas Jandrew
5ea3e3ba72
Handle publish packets when they're not the expected packet type
2020-02-23 22:42:43 -05:00
Lucas Jandrew
259cba0837
Adds retain support for publishing messages
2020-02-19 19:15:27 -05:00
brentrubell
3693eb8800
Merge pull request #156 from brentru/patch-esp-bsp-2-5-1
...
Fixing example for ESP8266 (BSP 2.5.1)
2019-05-20 15:01:58 -04:00
brentru
4caf05cf8a
bump version for release
2019-05-20 15:01:47 -04:00
brentru
d5aa959525
adding ssl fingerprint verification to comply with bearssl in esp8266 bsp 2.5.1
2019-05-20 11:20:45 -04:00
brentrubell
bfdece49f7
Merge pull request #155 from brentru/add-airlift-example
...
Update AirLift Example
2019-05-02 10:16:12 -04:00
brentru
3c71f1c560
remove print for pins
2019-04-19 16:36:14 -04:00
brentru
4a709ffc28
update for a master airlift example
2019-04-19 16:32:14 -04:00
brentrubell
4b328500e2
Merge pull request #153 from brentru/add-pyportal-mqtts
...
Add PyPortal MQTTS Example
2019-04-18 12:10:02 -04:00
brentru
2b3892a4b6
bump to v1.0.0
2019-04-17 20:37:20 -04:00
brentru
727dc9f986
fix travis
2019-04-16 14:18:06 -04:00
brentru
c1e0ecd30e
bump to 0.3.0 for release!
2019-04-16 13:51:36 -04:00
brentru
5dd4f68de7
add skip file
2019-04-16 13:45:01 -04:00
brentru
610514e83b
add PyPortal MQTTS Example
2019-04-16 13:44:28 -04:00
brentrubell
0687c95333
Merge pull request #152 from brentru/fixup-readme
...
Update README TravisCI link, add samd51 to compatibility table
2019-04-16 12:07:10 -04:00
brentru
03ac17773f
update readme travis and add samd51 to compat table
2019-04-16 11:56:18 -04:00
brentrubell
b7838a3278
Merge pull request #148 from ACE1046/master
...
Message type check in readSubscription (#147 )
2019-04-16 11:49:27 -04:00
brentrubell
9eb37efa1c
bumping library for compilation on m4 targets ( #151 )
2019-04-16 11:48:54 -04:00
Anton ACE
417d342078
Message type check in readSubscription ( #147 )
...
Added message type checking in readSubscription
https://github.com/adafruit/Adafruit_MQTT_Library/issues/147
2019-03-14 17:54:06 +03:00
brentrubell
493a1cf590
remove CC3000 from keywords.txt ( #145 )
2019-02-19 16:56:07 -05:00
brentrubell
12479b2592
fix sha1 fingerprint for io.adafruit.com ( #143 )
...
* fix sha1 fingerprint for io.adafruit.com
* bump library version
* add terminating character
2019-02-19 16:36:34 -05:00
brentrubell
07c9ae7153
Bump version for new release.
2018-08-28 10:54:44 -04:00
Limor "Ladyada" Fried
0786de66b6
Merge pull request #130 from brentru/mqtt-subscription-increase
...
increase mqtt sub. limit for non 32u4/328p devices
2018-08-27 13:17:19 -07:00
brentru
8780dd5491
increase mqtt sub. limit for non 32u4/328p devices
2018-08-27 14:51:29 -04:00
brentrubell
61f75246f4
Library Fixes ( #127 )
...
* Removing warnings
* handle reading zero-length packets
* updating travis to exclude archived libraries, addin Arduino WiFi101 lib instead
* adding esp lib to travis
* restrict builds to current hardware platforms
* travis, esp8266: skip esp target for non-esp-based examples
* adding test skips for zero, fixing fingerprint error
bump library version
2018-08-20 09:56:40 -04:00