Commit Graph

94 Commits

Author SHA1 Message Date
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
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
dherrada
148cfb3591
Moved to actions, no doxygen 2020-06-25 09:56:46 -04: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
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
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
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
Todd Treece
3553074d45 bump lib to 0.17.0 2016-12-29 16:09:07 -05:00
Todd Treece
b61d7e7024 remove flashstring helper constructors & methods 2016-08-15 13:05:51 -04:00
ladyada
bdd08d443e fix esp, remove debug 2016-08-09 21:37:07 -04:00
ladyada
4b57d0ddcb remove progmem support (only FONA really needed it and its OK) 2016-08-09 15:52:08 -04:00
ladyada
5f3a1e2322 drop progmem support 2016-08-09 14:21:46 -04:00
Todd Treece
49eda71d17 fix io callback scope issue 2016-07-29 15:06:54 -04:00
Todd Treece
0bfffa1571 access callback_io via ->* 2016-07-29 10:54:30 -04:00
Todd Treece
ad83c09d20 add new sub callback typedef for io wrapper 2016-07-29 09:27:00 -04:00
Todd Treece
f793f8d2d0 allow unauthenticated connections to mqtt brokers 2016-07-13 15:57:00 -04:00
ladyada
9b23f6747e make sure we get all 32 bits printed out 2016-07-13 13:52:23 -04:00
ladyada
82873050b6 add error output on dropped packets, and mqtt w/callbacks example 2016-07-08 17:16:07 -04:00
ladyada
4269d87492 callback support 2016-07-08 17:01:40 -04:00
ladyada
9ed79466b2 shorter suback timeout 2016-07-08 15:21:47 -04:00
ladyada
bb240928e8 fix for extra float zero-terminator https://github.com/adafruit/Adafruit_MQTT_Library/issues/35 2016-07-06 18:37:11 -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
Todd Treece
af8ec63ce6 add new mqtt error codes for connack 2016-06-24 17:02:57 -04:00
ladyada
58f5d0cda6 also fixed 'multiplier overflow' bug - YAY COMPILERS 2016-06-07 22:39:07 -04:00
Anne Hitchcock
de48c73e74 Added MKR1000 board to list to define the dtostrf function
Adding the MKR1000 board to the list of boards for which the dtostrf
function should be defined here (for lack of a better way to determine
if the function is available elsewhere).
2016-05-29 09:03:04 -07:00
Anne Hitchcock
e015dbbcda dtostrf for other SAMD boards
Changed preprocessor directive to create the dtostrf function whenever
it is not defined in order to support more SAMD boards (including
MKR1000) without adding more board defines to the ifdef.
2016-05-29 08:39:09 -07:00
Jens Mueller
9ccd463fb9 properly initialize variables 2016-05-20 20:41:16 +02:00
ladyada
ab1a0938b9 smarter packet reading makes for faster publish-handling! also, retries subscriptions 3 times 2016-05-18 15:23:41 -04:00
ladyada
8f595cdb95 properly process packets until you get the one you want (prep for callback w/good retain support) 2016-02-08 23:36:25 -05:00
ladyada
79dd62468f add support for reading retained subscriptions (only works for one subscription since the pub packet gets eaten otherwise 2016-02-01 18:42:28 -05:00
Stuart Feichtinger
b710c19c6d Tweak 2016-01-31 20:45:29 -06:00
Stuart Feichtinger
8a40f42958 Updated comment 2016-01-31 16:18:45 -06:00
Stuart Feichtinger
0d8c841af5 Clean up duplicate functions 2016-01-31 15:33:58 -06:00
Stuart Feichtinger
e65f9b446e Deleted extraneous code 2016-01-19 16:17:15 -06:00
Stuart Feichtinger
67092945e6 Removed redundant code 2016-01-19 16:10:03 -06:00
Stuart Feichtinger
cda4a5d7d4 Working
MUST include empty void “MQTT_connect” function declaration  or will
crash with 2 publish feeds on ESP8266
2016-01-19 16:01:20 -06:00
Stuart Feichtinger
2876ac43dd Added generic buffer
Crashes when publishing to more than one stream
2016-01-17 19:27:20 -06:00
ladyada
72b3ce172e verify PUBACK for QoS 1 2016-01-10 02:21:54 -05:00