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
Malachi Burke
f36ec4cf85
Fixing reversal of topic/packet identifier (topic should come first)
2015-12-14 20:10:00 -08:00
Kevin Townsend
a339810b75
Disabled dtostrf on STM32F2
2015-12-03 11:56:31 +01:00
Kevin Townsend
bb7cdb5059
Added ARDUINO_STM32F2_FEATHER check
2015-12-03 11:49:10 +01:00
ladyada
0f2fd58345
right - fixed dtostrf for anything else
2015-11-11 12:50:23 -05:00
ladyada
dbc989ac1d
essentially, add Zero support by shimming in the missing functions
2015-11-11 10:22:26 -05:00
ladyada
7c2b558ee9
ping flushes input, tries multiple times
2015-10-22 13:03:55 -04:00
Todd Treece
2aed9ae737
remove defaults from mqtt constructors
2015-10-22 10:09:16 -04:00
ladyada
632c2f2cfe
back compatible ping()
2015-10-21 00:15:27 -04:00
ladyada
286245ab62
compile fix & #ifdef the MQTT version
2015-10-21 00:05:46 -04:00
Todd Treece
b48265faed
support anon auth & generated client id in constructor
2015-10-05 14:54:37 -04:00
Todd Treece
4ab72be73e
adds disconnect & disconnectPacket functions
2015-10-05 14:18:31 -04:00
Todd Treece
16da46aece
renames disconnect to disconnectServer and adds disconnectPacket
2015-10-05 14:07:49 -04:00
Todd Treece
f9ae6f3146
comment out suback for now
2015-10-05 13:46:38 -04:00
Todd Treece
921c132f92
adds missing will payload to connect packet
2015-10-05 13:41:14 -04:00