Commit Graph

81 Commits

Author SHA1 Message Date
yuanjianmin
81854fdf75 ci: Fix mqtt broker is not available 2025-09-19 18:51:40 +08:00
Aditya Patwardhan
41782c4f17 mqtt/ssl_ds: Remove unwanted references to configure_ds.py, Also updated
the DS documentation
2025-09-19 18:51:40 +08:00
Aditya Patwardhan
f4f32e7b51 mqtt/ssl_ds: Add documentation on how to use esp-secure-cert-tool with
the example
2025-09-19 18:51:40 +08:00
Aditya Patwardhan
b0d5b719b6 mqtt/ssl_ds example: Update the code to use esp_secure_cert component 2025-09-19 18:51:40 +08:00
Aditya Patwardhan
bfa9a90d99 mqtt/ssl_ds example: Remove configure_ds.py script, use
esp-secure-cert-tool instread
2025-09-19 18:51:40 +08:00
simon.chupin
1cf692ec34 tools: remove the dependency on the future package 2025-09-19 18:51:40 +08:00
Ivan Grokhotkov
649f6d369e build system: re-add -Wno-format as private flag for some example components 2025-09-19 18:51:40 +08:00
yuanjm
17df9effcd example: Add mqtt5 example 2025-09-19 18:51:40 +08:00
Euripedes Rocha
dd40fc3af2 [MQTT] - Updates esp_mqtt configuration struct
- Layered config struct
- Fix examples.
2025-09-19 18:51:40 +08:00
Chen Yudong
119d724017 CI: make sure that reading of the ipv4 address has finished 2025-09-19 18:51:40 +08:00
Chen Yudong
fade26cf27 CI: Improve common test methods
also fix ota test cases
2025-09-19 18:51:40 +08:00
Chen Yudong
debc9962a1 CI: update test cases to use different environment variables
change test environments
optimize asio udp server test
fix icmp echo test case
use ethernet_router env to run iperf test cases
2025-09-19 18:51:40 +08:00
Chen Yudong
729363e4cc CI: fix ip address checker and trace log 2025-09-19 18:51:40 +08:00
Fu Hanxi
4ebf448bcf docs: changes docs supported targets tables 2025-09-19 18:51:40 +08:00
Laukik Hase
ee67d87a90 ci: Fix mqtt_qos1 example test failure
- Updated log levels of some tags in mqtt/tcp example
  - Updated mqtt/tcp example test to work with WiFi
2025-09-19 18:51:40 +08:00
Michael (XIAO Xufeng)
c2d902062e ci: partially enable example build for esp32c2 2025-09-19 18:51:40 +08:00
Djordje Nedic
37ff11d0ed tools: Increase the minimal supported CMake version to 3.16
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2025-09-19 18:51:40 +08:00
David Cermak
b390e07833 esp_netif: Remove tcpip_adapter compatibility layer 2025-09-19 18:51:40 +08:00
Aditya Patwardhan
841e8d7c60 configure_ds.py: Fix the error for prod mode. They script now only verifies the purpose in the prod mode.
Closes https://github.com/espressif/esp-idf/issues/8285
2025-09-19 18:51:40 +08:00
David Cermak
c0871b5be9 ci/mqtt: Move mqtt example tests to ethernet runners 2025-09-19 18:51:40 +08:00
Roland Dobai
5a8152580b Build & config: Remove leftover files from the unsupported "make" build system 2025-09-19 18:51:40 +08:00
Roland Dobai
426f028d84 Build & config: Remove the "make" build system
The "make" build system was deprecated in v4.0 in favor of idf.py
(cmake). The remaining support is removed in v5.0.
2025-09-19 18:51:40 +08:00
Sachin Billore
380f031a98 ESP32S3 support for ESP-MQTT SSL Mutual Authentication with Digital Signature
Closes IDF-3859
2025-09-19 18:51:40 +08:00
Shubham Kulkarni
17ae8434f4 Split example_tests with Example_WIFI tag group into Example_OTA and Example_Protocols 2025-09-19 18:51:40 +08:00
Euripedes Rocha
5fafa05f92 bugfix/mqtt examples: Updates the CA certificates used.
- Updates the CA certificates.
- Updates the URI names to reflect the new URI in the service used in
  the examples.

Closes IDFGH-4986
Closes https://github.com/espressif/esp-idf/issues/6776
2025-09-19 18:51:40 +08:00
yuanjm
c500e7c930 examples: Update mqtt open source test server address 2025-09-19 18:51:40 +08:00
David Cermak
ad00d740f4 examples/mqtt: Use common transport for setting log severity 2025-09-19 18:51:40 +08:00
Euripedes Rocha Filho
4471cd2158 examples/mqtt: Cleanup on examples
- Removes extra callback function, the code from the callback is integrated into the event handler code.
- Clarify usage of handler args, pass NULL as callback data instead of client, to avoid user confusion,
  and add documentation on usage of handler_args.
2025-09-19 18:51:40 +08:00
David Cermak
edde84b377 ci: Make the mqtt example test to send only portion of the partition
This makes the test faster and more robust in very a busy WiFi environment
(our CI) and still exercises the scenario of fragmenting the message on
both mqtt and ssl levels (binary size to send > mqtt buffer size)
2025-09-19 18:51:40 +08:00
Fu Hanxi
438b06bd6b style: format python files with isort and double-quote-string-fixer 2025-09-19 18:51:40 +08:00
Aditya Patwardhan
13f6635a51 configure_ds.py: Fix double quoted strings ( pre_hook check ) 2025-09-19 18:51:40 +08:00
Aditya Patwardhan
e64379783b esp32c3/Digital Signature: mbedtls integration through ESP-TLS 2025-09-19 18:51:40 +08:00
Aditya Patwardhan
a25f7b73e4 configure_ds.py: Add function documentation for improving redability. 2025-09-19 18:51:40 +08:00
Aditya Patwardhan
a3f9fea41f esp32s2/configure_ds.py: The script now reads and parses the efuse summary of
the esp32-s2 chip.
    * Added option to read and use previously burned efuse keys
    * Added option for the user to save the DS parameters for
    * development purpose.
    * Updated required documentation.
2025-09-19 18:51:40 +08:00
Euripedes Rocha Filho
3f2c411e37 examples/mqtt : Fix ssl mutual auth to use event loop
The example for mqtt ssl mutual authentication is now using the event
loop. Thi modification makes it uniform with all the other mqtt
examples.
2025-09-19 18:51:40 +08:00
David Cermak
ee05381ef5 Examples: MQTT DS example to use ds_peripheral API 2025-09-19 18:51:40 +08:00
Aditya Patwardhan
c8fa8e1cb0 Fixed typo in configure_ds.py script commmand. 2025-09-19 18:51:40 +08:00
He Yin Ling
75dd50ef3f test: remove fake binary size check in example test:
the binary size check in example test was removed long time ago. Now we
have updated ttfw_idf to raise exception when performance standard is
not found. These fake performance check will be regarded as error.
Remove them now.
2025-09-19 18:51:40 +08:00
David Cermak
caae6c4582 examples: make mqtt tcp example to report tcp-transport errno 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
Angus Gratton
d24c85e783 cmake: Apply cmakelint fixes 2025-09-19 18:51:40 +08:00
Aditya Patwardhan
b934cb2943 esp32s2-ssl_ds: Use CLI interface for espefuse in configure_ds.py
* make the project CMakelists to flash the external partition "pre_prov"
    * Remove the dependancy of configure_ds.py on esptool.py
    * Updated README
    * Fix the help menu
2025-09-19 18:51:40 +08:00
Aditya Patwardhan
20d4b4fa59 esp32s2/esp_ds: Added mqtt example for TLS using Digital Signature 2025-09-19 18:51:40 +08:00
Marius Vikhammer
28a139c454 MQTT: add server side authentication to mutual auth example 2025-09-19 18:51:40 +08:00
Renz Bagaporo
1ece84aa33 test, examples: use new component registration function 2025-09-19 18:51:40 +08:00
Roland Dobai
3cf32eda75 Add multi-target support for performance tests 2025-09-19 18:51:40 +08:00
David Cermak
1d52a2c3c6 mqtt-tests: migrate the publish-connection test from example-test to test-apps 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
5488fe31ba esp_netif, examples: esp_netif_init() moved into ESP_ERROR_CHECK()
esp_netif_init() returns standard esp_err_t error code (unlike tcpip_adapter init), so shall be checked for the return value
Also to make the initialization code more consistent.
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