42 Commits

Author SHA1 Message Date
Nick O'Leary
545d0045f9 Reject topic/payloads that exceed MQTT_MAX_PACKET_SIZE 2015-09-02 10:44:21 +01:00
Nick O'Leary
1c54371b1c Update tests & add travis 2015-08-28 22:16:48 +01:00
Nick O'Leary
9459df9d44 Update changes file 2015-08-28 16:38:46 +01:00
Nick O'Leary
f6521a2ed0 Readme update 2015-08-28 13:44:56 +01:00
Nick O'Leary
fa5b7f75d1 Tidy up more api and examples 2015-08-28 11:21:52 +01:00
Nick O'Leary
8e7e99cb8d Tidy up PROGMEM and const char*s 2015-08-27 23:22:54 +01:00
Nick O'Leary
12a9d89ea2 Add wider IPAddress support in api 2015-08-27 14:18:16 +01:00
Nick O'Leary
c753ecaebe Add MQTT 3.1.1 support 2015-08-26 23:07:22 +01:00
Nick O'Leary
c1a522102d Ensure big packets are properly length encoded
Fixes #63
2015-08-26 22:23:55 +01:00
Nick O'Leary
acc9fe500e ifdef PROGMEM references to support ESP8266/Galileo etc 2015-08-26 22:15:55 +01:00
Nick O'Leary
3852808aac Add single setServer func in place of port/ip/domain 2015-08-26 22:15:19 +01:00
Victor Aprea
fb7884573d a couple functionally equivalent minor update based on pull request diff 2015-04-08 17:21:53 -04:00
Victor Aprea
8fbb41a429 refactored constructors to use getters and setters 2015-04-08 17:07:56 -04:00
Nick O'Leary
c37e03e2a8 Add keepalive_spec and stream handling tests 2014-02-08 23:15:13 +00:00
Nick O'Leary
3930b15158 Add qos1 receive test 2014-02-08 17:50:13 +00:00
Nick O'Leary
c6bb3caf57 Fix publish_P and add test coverage 2014-02-07 20:57:12 +00:00
Nick O'Leary
989ca99594 Stream.h should be included for completeness 2014-02-03 22:22:50 +00:00
Nick O'Leary
6c82bdcf8a readPacket assumed all packets had a topic
Fixes #37
2014-02-02 14:28:57 +00:00
Mark Cheverton
1344cdf1b4 Added support for stream the MQTT message to storage via a Stream object 2014-01-26 14:30:33 +00:00
Mark Cheverton
5060358cce Fixing bug for large message packets 2013-10-31 14:31:54 +00:00
Nicholas O'Leary
875061615f Callback length field wrong for >128 byte packets 2013-01-11 17:09:39 +00:00
Alexander Rust
5161ec543f Added unsubscribe method 2013-01-10 21:29:15 +01:00
Nicholas O'Leary
25a2af4238 Fix subscribe message id
Remove pointless &client arg to default constructor
2013-01-10 20:15:26 +00:00
Nicholas O'Leary
5ffa607322 Copy payload before republishing in mqtt_publish_in_callback example 2012-11-04 14:07:56 +00:00
Nicholas O'Leary
ecedcb804f Update CHANGES.txt for 1.9 2012-10-28 23:07:06 +00:00
Nicholas O'Leary
569ada9937 Write each packet with a single call to _client->write() 2012-10-28 00:14:33 +01:00
Nicholas O'Leary
97e9614780 Unable to set keep alive to over 32 seconds (signed int vs unsigned long) 2012-10-27 22:10:38 +01:00
Nicholas O'Leary
6f23967ee1 License update 2012-09-13 22:38:08 +01:00
Nicholas O'Leary
a971ed4a2c Allow any instance of Client to be passed in.
Added new example for publishing in callback.
2012-09-13 22:35:48 +01:00
Joby Taffey
9607eefa0f Added publish_P, for publishing a message from PROGMEM.
Message can be any size.
2012-07-13 16:41:31 +01:00
Joby Taffey
62693d406c Allow setting of a will without also setting a username and password. 2012-07-13 16:34:45 +01:00
Wil
87fb3a9895 Implemented user/pass auth as per MQTT v3.1 specs 2012-04-04 03:44:45 -04:00
dpslwk
cc7e1c45c7 Update example to be 1.8 compatible 2012-03-13 18:29:43 +00:00
Nicholas O'Leary
ee378802a9 Merge branch 'master' of github.com:knolleary/pubsubclient
Conflicts:
	PubSubClient/PubSubClient.cpp
	PubSubClient/PubSubClient.h
2012-03-08 22:11:28 +00:00
Nicholas O'Leary
4d2e5994bc Various changes for v1.8 including larger message support and tidied up types. 2012-03-08 21:54:24 +00:00
Matteo Collina
f328d0849f Added DNS support. 2012-01-25 14:36:16 +01:00
Nicholas O'Leary
e4fdabf4db Changes for beta4 - use EthernetClient not Client 2011-09-12 09:28:06 +01:00
Nicholas O'Leary
4ad0d5f4ac Updated to the Arduino-1.0 API 2011-08-04 15:38:43 +01:00
Nicholas O'Leary
fb5f8de2a4 Improved keepalive handling 2011-04-26 20:52:57 +01:00
Nicholas O'Leary
fca33c7f5a Restored README to top level 2011-03-25 22:54:24 +00:00
Nicholas O'Leary
632c44a4d1 Added packet type constants and other stylistic changes 2011-03-25 22:51:51 +00:00
Nicholas O'Leary
ce9fff9349 Restructure code 2011-03-23 21:18:22 +00:00