Aditya Patwardhan
e37d149233
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
2022-02-21 01:33:00 +05:30
David Cermak
d24241d5ad
ci/mqtt: Move mqtt example tests to ethernet runners
2022-02-08 18:15:48 +08:00
Sachin Billore
667017d517
ESP32S3 support for ESP-MQTT SSL Mutual Authentication with Digital Signature
...
Closes IDF-3859
2021-09-06 11:17:30 +05:30
Shubham Kulkarni
0a395134d4
Split example_tests with Example_WIFI tag group into Example_OTA and Example_Protocols
2021-04-15 04:00:06 +00:00
Euripedes Rocha
98930e7be2
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
2021-04-08 15:24:43 +00:00
yuanjm
ca037eba9b
examples: Update mqtt open source test server address
2021-02-23 15:29:07 +08:00
David Cermak
b4d792446c
examples/mqtt: Use common transport for setting log severity
2021-02-16 09:00:43 +01:00
Euripedes Rocha Filho
b5682610b6
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.
2021-02-11 07:29:29 +01:00
David Cermak
c6339d0b4c
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)
2021-02-02 14:25:57 +01:00
Fu Hanxi
0146f258d7
style: format python files with isort and double-quote-string-fixer
2021-01-26 10:49:01 +08:00
Aditya Patwardhan
7c11988d19
configure_ds.py: Fix double quoted strings ( pre_hook check )
2021-01-22 12:11:04 +05:30
Aditya Patwardhan
79c23a1886
esp32c3/Digital Signature: mbedtls integration through ESP-TLS
2021-01-22 11:54:16 +05:30
Aditya Patwardhan
f97aed80c2
configure_ds.py: Add function documentation for improving redability.
2021-01-14 22:40:40 +05:30
Aditya Patwardhan
5331bc2c71
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.
2021-01-14 22:40:40 +05:30
Euripedes Rocha Filho
61f8dc4365
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.
2021-01-08 07:38:14 +00:00
David Cermak
1c093c48ed
Examples: MQTT DS example to use ds_peripheral API
2021-01-05 12:04:36 +00:00
Mahavir Jain
0a933f66e3
Merge branch 'fix/https_server_mem_leak_for_error_ret' into 'master'
...
Fix/https server mem leak for error ret
Closes IDFGH-4300
See merge request espressif/esp-idf!11369
2020-11-26 00:11:58 +08:00
Aditya Patwardhan
df0b016cfd
Fixed typo in configure_ds.py script commmand.
2020-11-25 13:47:48 +05:30
He Yin Ling
a908174c06
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.
2020-11-24 17:53:33 +08:00
David Cermak
c31cd77d43
examples: make mqtt tcp example to report tcp-transport errno
2020-11-19 17:25:04 +01:00
Angus Gratton
66fb5a29bb
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)
2020-11-11 07:36:35 +00:00
Angus Gratton
e82eac4354
cmake: Apply cmakelint fixes
2020-11-11 07:36:35 +00:00
Aditya Patwardhan
19df6529b2
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
2020-10-22 17:25:23 +05:30
Aditya Patwardhan
b5c2fa632d
esp32s2/esp_ds: Added mqtt example for TLS using Digital Signature
2020-09-22 18:31:31 +05:30
Marius Vikhammer
a54291b22b
MQTT: add server side authentication to mutual auth example
2020-08-12 11:25:00 +08:00
Renz Bagaporo
4d9c573fb6
test, examples: use new component registration function
2020-03-23 10:58:48 +08:00
Roland Dobai
15884eccf2
Add multi-target support for performance tests
2020-03-09 13:41:56 +01:00
David Cermak
911be99054
mqtt-tests: migrate the publish-connection test from example-test to test-apps
2020-02-07 21:14:24 +01:00
David Cermak
3ecb731c23
mqtt: example test to check connection with different ssl parameters
2020-02-07 10:35:40 +01:00
Angus Gratton
30372f5a4f
Merge branch 'docs/esp_netif_programmer_manual' into 'master'
...
esp netif: formal fixes (docs and c++ sentinels again)
Closes IDFGH-2265
See merge request espressif/esp-idf!6819
2019-12-18 13:12:36 +08:00
David Cermak
74d768fe6d
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
2019-12-17 14:06:40 +01:00
David Cermak
31b2702387
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.
2019-12-17 09:07:49 +01:00
He Yin Ling
c906e2afee
test: update example and unit tests with new import roles:
...
tiny_test_fw is a python package now. import it using normal way.
2019-12-07 10:34:54 +08:00
David Cermak
cf710a3cb1
esp_netif: include tcpip_adapter legacy header by default to provide *implicit* compatiblity
2019-11-13 12:36:25 +01:00
David Cermak
b834c99148
examples: modify other examples and tests to use esp_netif instead of tcpip_adapter
2019-11-13 12:36:25 +01:00
David Cermak
a49b934ef8
examples: protocol examples which use common connection component
...
updated to use esp_netif_init instead of tcpip_adapter in initialization code
2019-11-13 12:36:25 +01:00
Marius Vikhammer
500c247030
protocol examples: enable protocol examples for esp32sbeta
...
Closes IDF-1027
2019-11-01 11:14:10 +08:00
Angus Gratton
7ce75a42c7
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-25 15:13:52 +11:00
David Cermak
f0c6bb431f
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.
2019-10-22 08:49:42 +00:00
Angus Gratton
8675a818f9
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-22 13:51:49 +11:00
Angus Gratton
05180dfb4c
Merge branch 'bugfix/mqtt_reference_latest_version' into 'master'
...
mqtt: updated to latest version to include latest fixes and features
See merge request espressif/esp-idf!6294
2019-10-17 18:01:58 +08:00
Marius Vikhammer
c6934d6175
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
2019-10-15 09:35:23 +00:00
Angus Gratton
496ede9bcd
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-15 14:59:27 +11:00
David Cermak
640eac84fa
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
2019-10-14 06:26:14 +00:00
David Cermak
784a0d21ea
update mqtt weekend test to use mbedtls asymetric buffer
2019-10-02 16:22:50 +02:00
Michael (XIAO Xufeng)
63329b169b
ci: limit example test to ESP32s
2019-09-04 10:53:25 +10:00
Angus Gratton
6990a7cd54
Merge branch 'master' into feature/esp32s2beta_update
2019-08-19 15:03:43 +10:00
Angus Gratton
04ae56806c
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 15:26:58 +10:00
Angus Gratton
24d26fccde
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 13:44:24 +10:00
David Cermak
f3d6a34e7d
esp_tls: enable psk verification mode, added mqtt example using psk authentication
2019-08-07 14:27:40 +10:00