Commit Graph
30 Commits
Author SHA1 Message Date
David Cermak 60cdb79a67 mqtt_msg: avoid uncasting const to mqtt topic and data pointers 2019-05-15 13:40:14 +02:00
João Cabral db71c753aa FIX: mqtt_get_id wrong logic on msg size checks.
This error was preventing the function from returning the right msg ID,
returning always 0.
2019-05-15 13:40:14 +02:00
David Cermak 35fc42d2b9 mqtt_msg: added missing message type for unsubscribe msg type
Closes #109
2019-05-06 11:23:35 +02:00
David Cermak 7d22ab5fe6 pending_msg_count update on delete expired from outbox
Closes #111
2019-05-06 11:23:35 +02:00
David Cermak fd564b1f17 client receive: refactor receive to read only one message to fragment only payload for longer messages
Closes #113
2019-05-06 11:23:28 +02:00
Gregory Eslinger 0450bd0093 MQTT Client: Added support for receiving empty payload 2019-04-26 17:07:04 +02:00
suda-morris ca373e22cb change rom/queue.h to sys/queue.h 2019-03-14 20:26:28 +08:00
David Cermak 51089629f7 corrected outbox for oversized messge and qos1, added errno to error messages 2019-02-13 15:21:32 +01:00
David Cermak 6a0d1e7bff support for qos1 and qos2 message retrasmission on reconnect 2019-02-13 15:21:32 +01:00
David Cermak e0bbbebc08 mqtt support for sending fragmented messages and full mqtt message length support 2019-01-03 09:14:34 +01:00
Riccardo Binetti 8bd8583216 Add mqtt_get_connect_session_present 2018-10-15 11:29:47 +02:00
David Cermak d344f928ca transport: renamed transport headers to avoid compilation collisions 2018-10-02 14:17:54 +02:00
Angus Gratton 61f411c1f9 Revert "Merge branch 'feature/idf_transport_API_change' into 'idf'"
This reverts merge request !3
2018-09-24 13:25:04 +08:00
Jitin George cbeaf67fe3 esp-mqtt: Add support for modified transport_set_func() API from esp-idf/component/tcp_transport 2018-09-18 17:49:41 +05:30
David Cermak 3bbdebcca9 bugfix for longer data on ws transport 2018-08-21 11:55:36 +02:00
David Cermak 0c25441fdd support for custom implementation of msg outbox 2018-08-21 11:55:36 +02:00
David Cermak fa7ade77b1 IDF integration: Refactored to common tcp transport component, fixed warnings 2018-08-21 11:55:36 +02:00
Ivan Aponte 87ef46a9b4 fix some keepalives issues (#51)
* merge some changes

* fix blocking issue
2018-06-01 23:06:53 +07:00
Tuan PM 75d3c65cb6 Add error handling for mqtt, fixed some issues 2018-05-03 21:50:24 +07:00
Christian Gawron 4bc37bb8db fix handling of large messages (#40) 2018-05-03 20:46:06 +07:00
agmuntianu 5c46be5ada Crash fixes and ssl connection (#29)
* add missing config for setting default port for SSL in Kconfig

* free the TCP only after closing the connection , not before

* set the config in the client before we access the schema in the client

* fix typo

* dispatch also Publish event
2018-03-09 22:04:33 +07:00
Tuan PM c06c24a947 fixed default protocol is 3.11 2018-03-01 22:30:15 +07:00
Tuan PM c9e55caa5b Merge branch 'master' of https://github.com/tuanpmt/espmqtt 2018-02-27 23:02:40 +07:00
Tuan PM a5ef145163 check transport before use & close the connection if it connects failed 2018-02-27 23:02:35 +07:00
JasonJiaJie 8c34c8df68 Keppalive issue
There is no keepalive packget if current time is very large. Caused by integer overflow.
2018-02-26 16:06:42 +08:00
Tuan PM 4fd75c1b4b Add header license 2018-02-17 11:42:41 +07:00
Tuan PM 782e1f8042 Add support ws and wss 2018-02-17 01:03:35 +07:00
Tuan PM 33e2324098 Finishing mqtt client 2018-02-16 22:48:22 +07:00
Tuan PM 503c540eee remove license header and add doc 2018-02-16 18:46:13 +07:00
Tuan PM 083f8789ac Add support outbox, changed API 2018-02-16 02:40:16 +07:00