Commit Graph

28 Commits

Author SHA1 Message Date
Todd Treece
4dc6f1e486 adds ping to the end of the main loop in examples 2015-10-22 14:13:19 -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
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
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
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
Matthijs Kooijman
565d9afd36 Add parenthesis to fix compiler warning
Gcc warns when using = where == seems logical, and adding parenthesis
tells gcc you really mean =.
2015-07-27 20:32:38 +02:00
Matthijs Kooijman
6879df86f6 Add Adfruit_MQTT::connectErrorString() method
This easily allows printing error messages without having to hard-code
return values in the sketch and makes the example sketches a bit more
concise.
2015-07-27 20:32:36 +02:00
Todd Treece
f61abbdae0 skip due travis builds 2015-07-27 14:08:41 -04:00
Todd Treece
ee6094cccd simplify travis config with new helper functions 2015-07-27 14:04:58 -04:00
Tony DiCola
23f919adc3 Merge connected branch, bump to version 0.9.3 2015-07-14 15:54:04 -07:00
Tony DiCola
9b92bb379c Add date and time to client ID generation for more unique value. 2015-07-06 13:43:52 -07: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
ad33b0b738 Merge branch 'master' of https://github.com/adafruit/Adafruit_MQTT_Library 2015-06-12 12:59:37 -07:00
Tony DiCola
08f05456ec Update default keepalive to 5 minutes, add reset on ping fail to CC3k sketch. 2015-06-12 12:59:14 -07:00
Tony DiCola
fe6302bfb8 Make static IP optional and off by default in CC3k example. 2015-06-11 13:58:36 -07:00
Tony DiCola
6a740d4004 Cleanup and prepare for publishing. 2015-06-10 15:38:34 -07:00
Tony DiCola
d063469e03 Add Ladyada's FONA implementation. 2015-06-09 21:22:36 -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
Tony DiCola
f3ca82a548 Update CC3k example. 2015-06-04 21:25:00 -07:00
Todd Treece
ae0b4778a1 updates aio mqtt auth info in cc3k example 2015-06-03 17:13:41 -04:00
ladyada
c79e6e82ea delish 2015-06-02 18:37:15 -04:00