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
He Yin Ling
274a258b02
test: update example and unit tests with new import roles:
...
tiny_test_fw is a python package now. import it using normal way.
2025-09-19 18:51:40 +08:00
David Cermak
1d09afe527
esp_netif: include tcpip_adapter legacy header by default to provide *implicit* compatiblity
2025-09-19 18:51:40 +08:00
David Cermak
6efd355e1e
examples: modify other examples and tests to use esp_netif instead of tcpip_adapter
2025-09-19 18:51:40 +08:00
David Cermak
29a89b1961
examples: protocol examples which use common connection component
...
updated to use esp_netif_init instead of tcpip_adapter in initialization code
2025-09-19 18:51:40 +08:00
Marius Vikhammer
358b4b1919
protocol examples: enable protocol examples for esp32sbeta
...
Closes IDF-1027
2025-09-19 18:51:40 +08:00
David Cermak
bc2c8ffb4f
ci: mqtt ssl test updated to output larger data in form of binary partition
...
Testing with predefined buffer sizes for MQTT as well as mbedTLS to
exercise fragmenting outgoing data on both layers. Example test compares
received partition with the actual binary file.
2025-09-19 18:51:40 +08:00
David Cermak
c70dbbff8f
mqtt: updated to latest version to include latest fixes, support for global CA store, extended error structure to receive mqtt specific errors. updated idf ssl example to use this error struct
...
https://github.com/espressif/esp-mqtt/issues/135
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
90f4b153a5
update mqtt weekend test to use mbedtls asymetric buffer
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
feb7bb6f8a
esp_tls: enable psk verification mode, added mqtt example using psk authentication
2025-09-19 18:51:40 +08:00
Anton Maklakov
898d58b747
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
2025-09-19 18:51:40 +08:00
Mahavir Jain
49360c1a93
examples: change default build instructions in docs to CMake
2025-09-19 18:51:40 +08:00
David Cermak
bf66526873
mqtt: update example documentation on generating a certificate for ssl authentication to hosts
...
Closes https://github.com/espressif/esp-idf/issues/3593
2025-09-19 18:51:40 +08:00
Angus Gratton
0872e4ec68
build system: Use CMake-based build system as default when describing commands
2025-09-19 18:51:40 +08:00
David Cermak
f70dafe18b
esp-tls: extending error handle to contain error descriptors with last mbedtls failure and latest certificate verification result flags, reworked tcp_transport to use this error handle
2025-09-19 18:51:40 +08:00
David Cermak
948eea4a26
esp-tls: capturing specific errors to be available in tcp_transport and then in application code
2025-09-19 18:51:40 +08:00
Renz Christian Bagaporo
0e49903b2f
examples: use new component registration api
2025-09-19 18:51:40 +08:00
Michael (XIAO Xufeng)
0ff7c4ee21
ci: support to build esp32s2beta simple examples
2025-09-19 18:51:40 +08:00
David Cermak
8c299a21d3
mqtt: added support for esp event loop, updating examples to register and use event loop handler
2025-09-19 18:51:40 +08:00
Roland Dobai
4624326cda
Rename Kconfig options (examples)
2025-09-19 18:51:40 +08:00
Ivan Grokhotkov
ad3c88c867
examples/protocols/mqtt: use common network component
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
David Cermak
e38e60f77e
mqtt tests: connect to local broker when running in CI to make the tests more reliable
2025-09-19 18:51:40 +08:00
David Cermak
6b3ba4d55a
mqtt: support for BEFORE_CONNECT event in idf
...
Updated examples to use new event id, idf to use mqtt with fixed retained, oversized messages
2025-09-19 18:51:40 +08:00
Ivan Grokhotkov
4b49b806f8
ci, examples: use sdkconfig.ci as an extra defaults file, if present
...
- Allows placing CI-specific settings into sdkconfig.ci file
- Allows substituting environment variables in sdkconfig.ci
2025-09-19 18:51:40 +08:00
Roland Dobai
f7720ff277
examples: Fix Python coding style
2025-09-19 18:51:40 +08:00