207 Commits

Author SHA1 Message Date
Nick O'Leary
8a1d7fb620 Merge pull request #93 from vicatcu/master
Implement timeout behavior in readByte / readPacket
2015-11-21 20:20:35 +00:00
Victor Aprea
803f54b0bd changes to use #define MQTT_SOCKET_TIMEOUT instead of dynamic read timeout interval, per comments from @knolleary on https://github.com/knolleary/pubsubclient/issues/87 2015-11-19 13:58:23 -05:00
Victor Aprea
6f97ea04f2 minor cleanup 2015-11-19 09:23:40 -05:00
Victor Aprea
6bb06187b7 added optional timeout setting so that readByte can be escaped 2015-11-18 17:19:41 -05:00
Nick O'Leary
efebd2e5e4 Merge pull request #82 from e-lin/master
Match the length of type for writing data
2015-10-04 19:35:29 +01:00
Elsa
5cdadf43da Match the length of type for writing data
In MQTT_MAX_TRANSFER_SIZE case, the variable bytesRemaining needs to match the type of data length.
2015-10-04 22:16:27 +09:00
Nick O'Leary
2f97e4a558 Add publish(topic,payload,retained) function v2.3 2015-09-11 23:25:21 +01:00
Nick O'Leary
15a0e41c81 Update project url 2015-09-09 20:52:20 +01:00
Nick O'Leary
aa9afc7b44 Fix esp example 2015-09-09 10:32:35 +01:00
Nick O'Leary
461cbdb6e8 Merge pull request #75 from marcelrv/patch-1
Example for ESP8266
2015-09-09 10:23:29 +01:00
Nick O'Leary
47a37a4663 Update library.properties 2015-09-09 10:22:06 +01:00
Nick O'Leary
efcf6dbf1e Update README.md 2015-09-09 10:18:08 +01:00
Nick O'Leary
d5c13d578e Update README.md 2015-09-09 10:17:19 +01:00
Marcel
b6f2cb29bc Example for ESP8266
I was very happy to see this working well. Now ESP8266 and MQTT becomes even more easy.
Maybe attached example will help others to quickly get started
2015-09-09 09:36:39 +02:00
Nick O'Leary
c1d327cac6 Update tests makefile for new src location v2.2 2015-09-07 23:06:38 +01:00
Nick O'Leary
5ace47bc93 Re-layout project to match Arduino Library reqs 2015-09-07 22:56:53 +01:00
Nick O'Leary
da87f50b98 Update library.properties v2.1 2015-09-07 21:18:39 +01:00
Nick O'Leary
8c56c2f9fc Update README.md 2015-09-07 21:14:26 +01:00
Nick O'Leary
ce6b128efb Update CHANGES.txt 2015-09-07 21:10:02 +01:00
Nick O'Leary
2b582f6899 Add MAX_TRANSFER_SIZE def to chunk messages if needed 2015-09-07 18:06:17 +01:00
Nick O'Leary
545d0045f9 Reject topic/payloads that exceed MQTT_MAX_PACKET_SIZE 2015-09-02 10:44:21 +01:00
Nick O'Leary
fc02df2f6f Fix subscribe test description 2015-08-28 23:13:31 +01:00
Nick O'Leary
a181852893 Update travis to use container infrastructure 2015-08-28 23:07:48 +01:00
Nick O'Leary
c51f6c1673 Reenable all keepalive tests 2015-08-28 22:49:10 +01:00
Nick O'Leary
0d11ce4a7e Fix keepalive test & add state checks to connect test 2015-08-28 22:44:52 +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 v2.0 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
Nick O'Leary
5418f32458 Merge pull request #60 from vicatcu/master
refactored constructors to use getters and setters
2015-08-26 21:22:43 +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
d00a6c3cda Update test README.md 2014-02-08 23:45:27 +00:00
Nick O'Leary
495dc5c373 Update test README.md 2014-02-08 23:41:27 +00:00
Nick O'Leary
3cc0c85f05 Add connect/disconnect/connect cycle test 2014-02-08 23:28:58 +00: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
aab2dcdf1a Add subscribe and receive specs 2014-02-08 00:54:22 +00:00
Nick O'Leary
c6bb3caf57 Fix publish_P and add test coverage 2014-02-07 20:57:12 +00:00
Nick O'Leary
bc80d7cf77 Add publish spec 2014-02-06 22:27:33 +00:00
Nick O'Leary
f945d512d5 Test connect ip/host/port 2014-02-06 21:53:53 +00:00
Nick O'Leary
011171cfc3 Add new unit tests 2014-02-06 21:23:13 +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