Commit Graph

156 Commits

Author SHA1 Message Date
Tony DiCola
936c6b25e1 Work around mqtt_esp8266 example compile failure on Arduino 1.6.6 2015-11-20 20:52:49 -08: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
Todd Treece
03c1a2d07b bump lib version to v0.12.0 2015-10-22 14:39:28 -04:00
Todd Treece
88e28f517d update readme todos 2015-10-22 14:37:44 -04:00
Todd Treece
97afcf92c5 Merge pull request #10 from adafruit/3.1.1
MQTT 3.1.1 Support
2015-10-22 14:36:35 -04:00
Todd Treece
4dc6f1e486 adds ping to the end of the main loop in examples 2015-10-22 14:13:19 -04: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
Todd Treece
371b16bfab Merge branch 'master' of github.com:adafruit/Adafruit_MQTT_Library into 3.1.1 2015-10-21 15:38:55 -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
ladyada
15713af468 switch to MQTT 3.1.1 by default 2015-10-20 23:51:03 -04:00
Todd Treece
9fa0c54fce Merge pull request #14 from tapiralec/master
add ethernet example
2015-10-06 08:02:35 -04:00
Alec Moore
63229fbd12 skip tests on due and esp8266 2015-10-06 00:56:32 -05:00
Alec Moore
9e6b151997 triggering travis ci 2015-10-05 20:13:18 -05:00
Alec Moore
4ccf81e923 fixed up and functional
removed unnecessary "}", and removed getFreeRam() which was dependent on "utility/debug.h"
2015-10-05 19:47:54 -05:00
Alec Moore
478e2324d5 removed username/aio key 2015-10-05 19:17:32 -05:00
Todd Treece
9a11d83cf5 removes client id from all example sketches 2015-10-05 15:26:02 -04:00
Todd Treece
f1499b484a rearrange child classes to match new constructor 2015-10-05 14:57:44 -04:00
Todd Treece
b48265faed support anon auth & generated client id in constructor 2015-10-05 14:54:37 -04:00
Todd Treece
aa6db4d5f5 rename all subclass diconnect() to disconnectServer() 2015-10-05 14:18:49 -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
Todd Treece
e70e2367b6 only check for suback if using MQTT 3.1.1 or higher 2015-10-05 11:32:10 -04:00
Todd Treece
b9c9a28883 adds packet ids for publish QoS > 0
also adds packet id counter so packet ids aren't
static values. this is a step in the direction
of QoS 1 support
2015-10-05 11:21:05 -04:00
Todd Treece
765a2feaff remove broken while loop from ping() 2015-10-05 10:38:09 -04:00
Todd Treece
0fbd734646 adds unsubscribe & unsubscribePacket functions 2015-10-05 10:33:33 -04:00
Todd Treece
476d1115e6 adds will() function 2015-10-05 09:50:57 -04:00
Todd Treece
e9e154ab52 adds will support to the connect packet 2015-10-05 09:45:27 -04:00
Todd Treece
e60be3e972 adds unsubscribePacket method def 2015-10-05 09:27:31 -04:00
Todd Treece
b2a198af5a adds unsubscribe() method def 2015-10-05 09:26:06 -04:00
Todd Treece
b9a04c8be5 adds will() method def 2015-10-05 09:25:07 -04:00
Todd Treece
78d733aee3 define the missing MQTT control packets 2015-10-05 09:14:17 -04:00
Alec Moore
57885554f9 adding ethernet example
It took more than a couple minutes to get some sample code going with ethernet, so I figured it would benefit everyone if there was at least one example out there.
2015-10-03 00:59:51 -05:00
Todd Treece
dfbe6a1e11 remove client id from esp example 2015-10-02 17:22:31 -04:00
Todd Treece
4f3466bdbf comment out MQTT_DEBUG 2015-10-02 17:13:35 -04:00
Todd Treece
913cce41af adds zero byte client id option for 3.1.1 2015-10-02 17:10:16 -04:00
Todd Treece
a3925bdb6b adds MQTT 3.1.1 connect packet changes 2015-10-02 10:45:00 -04:00
Todd Treece
ea779b1daa allow user to define MQTT KEEPALIVE in sketch 2015-10-02 10:43:11 -04:00
Todd Treece
a0520d3265 default to MQTT_PROTOCOL_LEVEL 4 2015-10-01 12:00:56 -04:00
Todd Treece
798e37b4de bump lib to v0.11.1 2015-09-08 12:16:02 -04:00
Todd Treece
5ac8cda53d update mqtt client id to be __TIME__ + AIO_USERNAME in examples 2015-09-08 12:15:21 -04:00
Tony DiCola
e41e843d67 Add Travis ignore for Due using Yun test. 2015-08-31 15:11:28 -07:00
Tony DiCola
e42f3094e5 Add Arduino Yun example. 2015-08-31 14:36:06 -07:00
Todd Treece
2572130d97 bump lib version to 0.10.0 2015-08-03 14:45:21 -04:00
Todd Treece
63493a0bfb Merge pull request #3 from matthijskooijman/fixes
Various fixes and improvements
2015-08-03 14:40:35 -04:00
Matthijs Kooijman
3a1bef8318 Default to qos = 0 in Adafruit_MQTT::publish()
This was already the case for the Adafruit_MQTT_Publish constructor, so
this makes things a bit more consistent when using the publish() method
directly.
2015-08-02 11:51:51 +02:00