Lucas Jandrew
44199a17ee
Fixes issue with client erroneously reading a byte from 0 length packets
2020-02-24 01:10:09 -05: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
jerryneedell
2d384b9697
Update Adafruit_MQTT_Client.cpp to remove use of min()
...
see https://github.com/adafruit/Adafruit_MQTT_Library/issues/106 for discussion of link failures after upgrading esp8266 community library BSP to version 2.4.0 -- removing the use of min() allows for successful compilation,link and execution.
Replace call to min() with ternary statement to accomplish same action.
2018-01-06 17:52:40 -05:00
Frederic.Pillon
ce9bcab0b4
Fix min() usage when using STL C++
...
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2017-10-20 16:15:05 +02:00
ladyada
7886b7243c
simplify Client
2016-08-09 21:12:49 -04:00
ladyada
9ed79466b2
shorter suback timeout
2016-07-08 15:21:47 -04:00
ladyada
ad6ae59725
fixiy https://github.com/adafruit/Adafruit_MQTT_Library/issues/46
2016-07-06 18:34:56 -04:00
ladyada
5d133c3852
updated publish half for long packet sendings!
2016-07-06 18:32:21 -04:00
ladyada
b26b4eb32c
max receivable MQTT packet is 16 bits (tested with 300 byte packet receive)
...
also fixd buffer printer to have 16 bit length
2016-07-06 17:20:02 -04:00
ladyada
ab1a0938b9
smarter packet reading makes for faster publish-handling! also, retries subscriptions 3 times
2016-05-18 15:23:41 -04:00
Todd Treece
aa6db4d5f5
rename all subclass diconnect() to disconnectServer()
2015-10-05 14:18:49 -04:00
Tony DiCola
643c906aa6
Add connected() function to MQTT class. Update examples with robust reconnect logic.
2015-07-05 14:29:13 -07:00
Tony DiCola
6a740d4004
Cleanup and prepare for publishing.
2015-06-10 15:38:34 -07:00
Tony DiCola
d7a6433b81
Add Adafruit_MQTT_Client class that implements MQTT code for generic Arduino client. Add ESP8266 example using new MQTT client class. Fix bugs with using library on ESP8266 (move CC3000 to header-only class).
2015-06-08 01:48:25 -07:00