Nick O'Leary
8a5b51803d
Merge pull request #600 from sensidev/master
...
Fix publish_P return value
2019-11-25 11:32:18 +00:00
Nick O'Leary
1f4011142b
Merge pull request #528 from lexszero/patch-1
...
Fix publish() when payload == NULL
2019-11-25 11:29:38 +00:00
Nick O'Leary
7cad688df3
Merge pull request #363 from eykamp/documentation_update
...
Updated documentation
2019-11-25 11:28:19 +00:00
Nick O'Leary
b1cb57208c
Merge pull request #361 from eykamp/comments
...
Add some comments
2019-11-25 11:28:00 +00:00
Nick O'Leary
299c8293cb
Merge pull request #365 from czaraugust/master
...
Adding some speed improvments
2019-11-25 11:27:24 +00:00
Nick O'Leary
2b83aa0804
Merge pull request #571 from kevinresol/patch-1
...
Support pre-connected Client
2019-11-25 11:21:09 +00:00
Nick O'Leary
d2ff771f4a
Merge pull request #618 from Brandon2255p/patch-1
...
Removed an unused variable
2019-05-22 14:58:57 +01:00
Brandon Piner
bc65fe5244
Removed an unused variable
2019-05-09 22:10:56 +02:00
lucian
1b9f52b1fc
Fix publish_P return value
2019-04-07 22:19:47 +03:00
Kevin Leung
a4f7821a70
Support pre-connected Client
2019-02-04 00:07:05 +08:00
Alex Ignatov
2dca84a776
Fix publish() when payload == NULL
...
Messages with empty payload are completely valid and are actually useful (e.g., to delete retained value).
This adds a check before calling `strlen()` to prevent crash when using shortcut methods taking `const char*`
2018-11-21 03:09:08 +02:00
Nick O'Leary
26ce89fa47
Update for 2.7
v2.7
2018-11-02 11:42:44 +00:00
Nick O'Leary
a29d0c3d72
Merge pull request #336 from jaecktec/master
...
Enable ESP32 to use PubSubClient (make MQTT_CALLBACK_SIGNATURE functional)
2018-11-02 01:07:40 +00:00
Nick O'Leary
fa3c4362ea
Merge branch 'master' into master
2018-11-02 01:07:33 +00:00
Nick O'Leary
b381728998
Add yield to mock test framework
2018-11-02 01:05:02 +00:00
Nick O'Leary
2bcd9b074a
Merge pull request #472 from apicquot/master
...
Add yield to resolve connection failures
2018-11-02 01:01:44 +00:00
Nick O'Leary
2ed03ad522
Merge pull request #362 from eykamp/new_sig
...
Create new signature to permit cleaner user code
2018-11-02 00:53:02 +00:00
Nick O'Leary
2d053d2df0
Add buffer overflow protection to connect
...
Closes #492
2018-11-02 00:50:52 +00:00
Nick O'Leary
ee30733e24
Fixup bad revert of 500
2018-11-02 00:12:44 +00:00
Nick O'Leary
4daba0ae5c
Fix remaining length protection
2018-11-02 00:06:32 +00:00
Nick O'Leary
af860133e8
Merge branch 'pr_500'
2018-11-01 23:47:15 +00:00
Nick O'Leary
a0f09681f5
Add separate connect function for clean session + test
2018-11-01 23:46:09 +00:00
Nick O'Leary
05a601cc55
Merge pull request #512 from knolleary/revert-500-master
...
Revert "Added support of CleanSession flag during connect"
2018-11-01 23:35:56 +00:00
Nick O'Leary
3637cbec69
Revert "Added support of CleanSession flag during connect"
2018-11-01 23:35:31 +00:00
Nick O'Leary
b1bdbb7aaf
Merge pull request #500 from maxim-kukushkin/master
...
Added support of CleanSession flag during connect
2018-11-01 23:33:51 +00:00
Nick O'Leary
539838822c
Merge pull request #481 from bwibwi13/master
...
Correct maximum size of snprintf (use same size as the buffer ;)
2018-11-01 23:32:13 +00:00
Nick O'Leary
b5f90b679b
Merge pull request #495 from flok99/patch-1
...
Update PubSubClient.cpp
2018-11-01 23:28:22 +00:00
Nick O'Leary
4ecd32ec08
Fix up CI tests
2018-11-01 23:25:04 +00:00
Nick O'Leary
7517de7974
Merge pull request #494 from mcqn/master
...
Add large message API
2018-11-01 23:24:33 +00:00
Maxim Kukushkin
8154cbc09c
Fixed an issue with clean session flag set when willTopic is provided
2018-10-22 23:35:47 +01:00
Maxim Kukushkin
0e8e3123cf
Added support of CleanSession flag during connect
2018-10-02 00:02:31 +01:00
Nick O'Leary
9eff4b3308
Merge pull request #499 from nickdex/patch-1
...
Fix spelling in mqtt_esp8266 example
2018-09-24 10:02:00 +01:00
Nikhil Warke
a1cfd5af56
Fix spelling in mqtt_esp8266 example
2018-09-24 00:29:11 +05:30
Folkert van Heusden
0e2d6c322b
Update PubSubClient.cpp
...
Make sure all data is flushed to the other end when doing a disconnect(): that way we know for sure that it is there when we disconnect the wifi or maybe even reboot.
This change was made after I noticed that I did not get any mqtt messages. I verified that it indeed solves the problem. Example code on request.
2018-09-07 21:39:45 +02:00
Adrian McEwen
b2f3a6d2ec
Add example code for using the large message API.
2018-09-04 13:36:45 +01:00
Adrian McEwen
0c2d12d8b0
Allow the large message publishing to use all the print
methods.
2018-09-04 13:31:43 +01:00
bwibwi13
c87c9a47b3
Correct maximum size of snprintf (use same size as the buffer ;)
2018-08-19 08:39:39 +02:00
Adrian McEwen
3b3a8da8d2
Add large-payload API, make max header size a define, not magic number.
2018-08-15 17:15:04 +01:00
apicquot
9e1a6e6479
Update PubSubClient.cpp
...
added yield to resolve random connection failure
2018-08-07 17:29:29 -04:00
Nick O'Leary
54be6e87db
Check remaining-length encoding is valid
2018-07-18 11:02:08 +01:00
Trygve Laugstøl
f029640ee6
Fixing compiler warnings exposed with -Wall and -Wextra: qos can't be less than zero. ( #274 )
2018-02-22 18:29:44 -08:00
Rotzbua
bb101c58e8
Update link http->https ( #384 )
2018-01-20 00:13:10 +00:00
César Augusto
3b0775a91d
Excluding nada.txt which was empty and improving indentation
2017-12-07 15:31:24 -03:00
César Augusto
6bc3b76a9b
Adding improvments
2017-12-07 12:20:23 -03:00
Unknown
1174d642ab
Updated documentation.
2017-11-16 16:37:41 -08:00
Unknown
8795fdf0f5
Create new signature to permit cleaner user code
2017-11-16 12:49:01 -08:00
Unknown
4fa0226cce
Add some comments
2017-11-16 11:45:33 -08:00
César Augusto
54043f5469
Start
2017-11-14 22:34:33 -03:00
constantin
8498284792
Add ESP32 to documentation
2017-09-19 18:10:09 +02:00
constantin
49f307506b
Add ESP32 callback signature to be functional like ESP8266
2017-09-18 19:27:44 +02:00