Commit Graph

22 Commits

Author SHA1 Message Date
Axel Lin
121b7c7b13 MQTT: Restore default MQTT_OUTBOX_EXPIRED_TIMEOUT_MS to 30 sec
The OUTBOX_EXPIRED_TIMEOUT_MS was 30*1000 in original esp-mqtt code.
Don't change the default OUTBOX_EXPIRED_TIMEOUT_MS without good reason,
which may has impact on memory usage for existing applications.

Fixes: 8e50d4b3967f ("MQTT: add configurable msg expired timeout")
Signed-off-by: Axel Lin <axel.lin@gmail.com>
2025-09-19 18:51:40 +08:00
Angus Gratton
ebd802fa2c Whitespace: Automated whitespace fixes (large commit)
Apply the pre-commit hook whitespace fixes to all files in the repo.

(Line endings, blank lines at end of file, trailing whitespace)
2025-09-19 18:51:40 +08:00
Jakob Hasse
4b6dedee6a cmock: added cmock as component
* changing dependencies from unity->cmock
* added component.mk and Makefile.projbuild
* ignore test dir in gen_esp_err_to_name.py
* added some brief introduction of CMock in IDF
2025-09-19 18:51:40 +08:00
Marius Vikhammer
33f7fdf23b MQTT: add configurable msg expired timeout 2025-09-19 18:51:40 +08:00
David Cermak
d0f8eb10f3 mqtt-tests: rename tests to match the actual group 2025-09-19 18:51:40 +08:00
David Cermak
ef9a2db815 mqtt: reenable outbox unit tests for esp32s2 2025-09-19 18:51:40 +08:00
Simon Brélivet
14be739764 esp_mqtt: add option to configure mqtt task priority.
Merges https://github.com/espressif/esp-idf/pull/4947
2025-09-19 18:51:40 +08:00
michael
84f104bc71 ci: disable failed cases for s2 temporarily 2025-09-19 18:51:40 +08:00
David Cermak
2323b43c0d mqtt: example test to check connection with different ssl parameters 2025-09-19 18:51:40 +08:00
David Cermak
d52f5e084a mqtt: add basic set of unit tests 2025-09-19 18:51:40 +08:00
David Cermak
6b4a3b3759 ci: updated mqtt weekend test for qemu support
Added default sdkconfig for qemu build for the mqtt publish example,
Added environment configuration for running the same test on target
or in qemu
Updated missing example tests per latest ttfw refactoring
2025-09-19 18:51:40 +08:00
Marius Vikhammer
d67b4ec8b8 MQTT: update default broker URL for examples
The MQTT broker URL used as default in the examples has ceased operation. All examples and documention have been updated to point to the new domain mqtt.eclipse.org.
This also required an update of the python example test scripts to use TLS 1.2
2025-09-19 18:51:40 +08:00
David Cermak
43bc4ca622 ci: fix weekend test confguration update per latest refactoring of
grouping tests
2025-09-19 18:51:40 +08:00
Michael (XIAO Xufeng)
e6df783596 ci: limit example test to ESP32s 2025-09-19 18:51:40 +08:00
David Cermak
b09c4daf0d mqtt_tests: add weekend test for sending and receiving empty payload messages, update config options per new naming convetions 2025-09-19 18:51:40 +08:00
David Cermak
202acd4d6d mqtt tests: adding weekend test for mqtt library to exercise publishing/receiving different data and references esp-mqtt commits to pass these tests
testing conditions:
transports (tcp, ssl, ws..)
qos (0, 1, 2)
short repeated messages (packed packets)
oversized messages (fragmented packets)
publish from a different thread

Closes https://github.com/espressif/esp-idf/issues/2870 by means of including commit 815623dfe5 from esp-mqtt
Closes https://github.com/espressif/esp-idf/issues/2975 by means of including commit 752953dc3b from esp-mqtt
Closes https://github.com/espressif/esp-idf/issues/2850 by means of including commits df455d2a5f 17fd713bce from esp-mqtt
2025-09-19 18:51:40 +08:00
Roland Dobai
79e16da5c4 Correct Kconfigs according to the coding style 2025-09-19 18:51:40 +08:00
Anton Maklakov
984e218317 tcp_transport: Remove the ignore warning because we had idf/esp-idf!3359 2025-09-19 18:51:40 +08:00
Angus Gratton
7bcafbc9f4 doc: Re-add summaries of what children each menu item has
Slightly different to the original version of this, but same goal.
2025-09-19 18:51:40 +08:00
Anton Maklakov
7f2bf4ae2f mqtt: silence a format warning 2025-09-19 18:51:40 +08:00
David Cermak
e5e56341be MQTT: Moved Kconfig from esp-mqtt submodule to esp-idf to support docs genration in RTD 2025-09-19 18:51:40 +08:00
David Cermak
ab9698a3b4 MQTT: Integrate esp-mqtt library into idf
added docs and tests for mqtt library, small fixes (removed warnings, option for custom outbox, websocket bug fixed for longer transports). refactored to use common tcp_transport component, support for CMake build system.
Closes #2108
2025-09-19 18:51:40 +08:00