Commit Graph

117 Commits (42c837f05a3b79842dbd62d55c83c1a600ef1cb9)

Author SHA1 Message Date
Aidan Garske 2fc5d43dd7 F-13238 - Reject inbound MQTT 5 Topic Alias the client cannot resolve 2026-09-16 14:51:53 -07:00
Eric Blankenhorn 4eeb554921 Add auto-ping feature to client 2026-07-15 16:52:55 -05:00
aidan garske 31ff000110 F-4774 - Bound assigned client id copy by decoded length in mqttclient 2026-07-09 22:39:25 -07:00
Eric Blankenhorn c77cf02662 Fix f-3192 subscribe rejection error 2026-04-21 14:24:30 -05:00
Eric Blankenhorn d3b6389208 Release prep for v2.0.0 2026-03-19 16:22:27 -05:00
David Garske 055418e83a Expanded MQTT broker edge case testing for retained, graceful disconnect, unsubscribe removes subscription, duplicate subscribe QoS update and session persistence. 2026-02-16 14:04:17 -08:00
David Garske 2d7eaf438c Lightweight MQTT Broker 2026-02-09 18:15:01 -08:00
Eric Blankenhorn f7430a6d66 Update license to GPLv3 2025-12-01 15:24:44 -06:00
Eric Blankenhorn 91a9457784 v1.19.2 release prep 2025-01-31 09:48:15 -06:00
Eric Blankenhorn 639108eb2e v1.19.0 release 2024-03-22 13:17:36 -05:00
David Garske 8a0cafe48a Add packet_id to the publish log message in examples. 2023-11-27 13:33:15 -08:00
David Garske 97cb820562 Fixes for using the `-f [file]` option with examples. Allow build-time override of `MAX_BUFFER_SIZE` in examples. 2023-11-22 13:27:29 -08:00
David Garske c973f0f966 * Added write WOLFMQTT_TEST_NONBLOCK support.
* Fix to make sure ctrl+c is honored during a want read/write case.
* Fix the firmware update example to properly synchronize publish and use a unique topic name.
* Improve multi-thread test message to use larger size (> tx but) and in test mode check for actual message.
* Improve remote test done logic.
* Only run GitHub CI for PR's, not local push.
* Properly set `WOLFMQTT_NO_EXTERNAL_BROKER_TESTS` for each test.
* Use cat for logs, not more.
2023-10-27 11:19:47 -07:00
Eric Blankenhorn 73e82730ce Adding publish and subscribe atomic client examples 2023-08-16 12:14:40 -05:00
Lealem Amedie 7df1339d89 Adding alternate main drivers to examples 2023-05-26 11:44:00 -06:00
Juliusz Sosinowicz 6a4df26466 zephyr: Use NO_MAIN_DRIVER and implement main in samples 2023-05-11 17:23:01 +02:00
Juliusz Sosinowicz 50530d90e0 Code review fixes
- Use macros in user settings to configure connection settings
- Fix `main()` signature
- Add note with link in main README
- Add debugging info to README
2023-05-10 18:08:40 +02:00
Juliusz Sosinowicz 178c051db5 zephyr port 2023-04-28 15:50:09 +02:00
Eric Blankenhorn 984be4ffbb wolfMQTT Release v1.15.1 preparation 2023-03-14 07:55:37 -05:00
Eric Blankenhorn 4c80c921a8 Fix example msg cb print error 2022-05-04 16:21:41 -05:00
David Garske c1cac6b75d Fix to make sure property list head is cleared on free. Add MQTT v5 properties support to non-blocking example. Tested with `./configure --enable-nonblock --enable-v5 --enable-propcb` and nbclient example all using QoS level 2. 2022-03-29 12:02:43 -07:00
David Garske bee3d8d9d0 Improve the publish callback printing to clarify range received vs what is printed. 2022-03-24 08:27:02 -07:00
Eric Blankenhorn 77fb2fd0fc Fix decoding user property and add example 2022-02-21 16:57:21 -06:00
Eric Blankenhorn d937a81af6 Add ability to parse pub props in msg CB 2022-02-08 12:21:21 -06:00
Eric Blankenhorn 50ddbda73c Fix MQTTv5 disconnect with props 2022-02-04 10:36:02 -06:00
Eric Blankenhorn e24bd0edaa wolfMQTT Release v1.11.0 preparation 2022-01-07 15:20:59 -06:00
David Garske 3cb61a9d0e Improve the `-T` test mode logic for `mqttclient`. Use internal struct for mac dispatch semaphore. 2021-12-29 15:50:48 -08:00
Eric Blankenhorn 039e04359b Remove unused sub_id element, add support for local test broker 2021-11-19 11:33:13 -06:00
Eric Blankenhorn 789f0863df Fix from review 2021-07-15 15:26:45 -05:00
Eric Blankenhorn e3e55c01cf Test chunked publish. Add publish file feature. 2021-07-15 12:03:11 -05:00
David Garske 237f693c57 Added support for returning publish reason code with MQTT 5. 2021-07-15 09:03:46 -07:00
Eric Blankenhorn 4ed5ed287f wolfMQTT Release v1.8 preparation 2021-02-19 14:44:07 -06:00
Eric Blankenhorn 3d0f4aedf0 Use MqttClient_Ping_ex instead of MqttClient_Ping in examples. 2020-11-09 17:34:45 -06:00
Eric Blankenhorn f604c551ab Clarify usage 2020-10-08 12:58:33 -05:00
Eric Blankenhorn a296522432 Add runtime message option to client 2020-08-27 16:54:17 -05:00
Daniel Pouzzner 5364d3e04e examples/mqttclient/mqttclient.c: tabs/spaces in mqtt_property_cb() (damn you, emacs, damn you!) 2020-07-30 17:23:10 -05:00
Daniel Pouzzner 9514a4f4ae examples/mqttexample.h: remove superluous member MQTTCtx.topic, and refactor dependent code to use a local pointer on the stack. fixes #153. 2020-07-28 23:28:15 -05:00
Daniel Pouzzner 78fce06cca examples/mqttclient/mqttclient.c:mqtt_property_cb(): fix buffer overrun in strcpy() (result must be null-terminated). 2020-07-28 18:35:36 -05:00
Eric Blankenhorn 6da5477708 Fixing LWT prop and allow null LWT 2020-06-30 16:44:45 -05:00
David Garske 3c8d7526d4 Fix for MQTT v5 property name typo. 2020-04-27 14:11:51 -07:00
David Garske a173583496 Added protocol version API's. Fix for MQTT v5 issue with using wrong property free. 2020-04-20 09:42:17 -07:00
Eric Blankenhorn fb82e7b252 Make protocol level a run time option 2020-03-30 16:11:33 -05:00
Chris Conlon f02ab8769e update copyright to 2020 2020-01-03 15:26:53 -08:00
Eric Blankenhorn af3d292677
Merge pull request #136 from dgarske/rel_v1.4
wolfMQTT v1.4 Release
2019-12-27 16:57:10 -06:00
David Garske 619b5a105a wolfMQTT v1.4 Release 2019-12-27 14:46:39 -08:00
David Garske bc8832a7bc Fixes for multi-threaded handling. Added encode debug log messages. Added logging for thread using `WOLFMQTT_DEBUG_THREAD`. 2019-12-27 13:03:58 -08:00
David Garske f96e79b3b5 Fix to add random client_id and topic as hex string when example use "-T" option. Fix for test scripts to check non-zero return code. Enable WIOT example with `--enable-nonblock` set. 2019-12-27 10:03:24 -08:00
David Garske 0f4ef8805e Improvements to the connect and read code to handle runtime option for block/non-block. Enabled the mqttclient example support with `--enable-nonblock`. 2019-12-23 09:56:46 -08:00
David Garske d004da9fac Refactor of the multi-threading code to better handle edge case and state for non-blocking.
* Fixes for multi-thread handling of ack's when processing.
* Refactor to use `stat` from own struct, not shared `msg->stat`.
* Eliminated use of `client->msg` except for `MqttClient_WaitMessage`.
* Fixes to restore "state" after performing MqttClient operation.
* Refactor of publish read and write payload.
* Improvements to multithread example.
* Refactor of the SN code to support new object type and unique state for future multi-thread support.
* Added build option `TEST_NONBLOCK` to force testing non-blocking edge cases.
* Fix for fwpush getting stuck in stop loop on Ctrl+c exit.
2019-08-30 14:47:16 -07:00
Eric Blankenhorn 0b6fbc3496 Multithread capability added 2019-07-02 17:34:03 -05:00