Commit Graph
5965 Commits
Author SHA1 Message Date
luoxu 7e0e06cf0c feat(ble_mesh): disable BLE 5.0 features for fast_prov_server sdkconfig 2026-04-23 17:02:38 +08:00
luoxu f06e23917d fix(ble_mesh): disabled ble50 by default for ble_mesh 2026-04-23 16:58:40 +08:00
Hrushikesh Bhosale ddedbb7f11 fix(http_server/ws_echo_server): Fix ws_echo_server test URI registration race condition
The WebSocket echo server test connects immediately after seeing
'Starting server on port:' in the device log, but the /ws URI handler
is registered asynchronously after the server starts, taking 40-660ms
depending on config and CI load.

This causes WebSocket handshake to return 404 Not Found because the
URI handler is not registered yet when the client connects.

Wait for 'Returned from app_main()' before connecting, which
guarantees all URI handlers are registered. Add connection retry
with WebSocketBadStatusException handling to WsClient.

(cherry picked from commit 7a50e3ab04)
2026-04-17 14:46:30 +05:30
Hrushikesh Bhosale 4de56cfdc6 fix(https_x509_bundle): replace unreliable external URL in https_x509_bundle example
Replace howsmyssl.com with letsencrypt.org in the https_x509_bundle
example. howsmyssl.com is a third-party server that is frequently
unreachable from CI, causing flaky test failures. letsencrypt.org
chains to the same ISRG Root X1 CA, so the custom certificate bundle
validation coverage is identical.

(cherry picked from commit d6596eff3a)
2026-04-17 14:39:29 +05:30
Hrushikesh Bhosale d1d5609700 fix(examples/system/ota/otatool): fix serial port contention in pytest
The otatool pytest closes the serial port and then immediately launches
otatool_example.py as a subprocess that re-opens the same port via
esptool. This fails intermittently because pytest-embedded's
QueueFeederThread may still hold the FD when close() returns, and the
OS has not fully released the serial port by the time the subprocess
tries to open it.

Add a delay after serial close and a 3-attempt retry loop around the
subprocess to handle transient serial port contention.

(cherry picked from commit 926d5ee6ad)
2026-04-17 14:36:58 +05:30
Tan Yan Quan c829595165 ci(openthread): include mbedtls in openthread dependencies 2026-04-10 11:25:52 +08:00
Shu Chen fbddafa2a0 Merge branch 'bugfix/fix_ot_ci_testcases_v5.2' into 'release/v5.2'
ci: improve BR host related test cases (v5.2)

See merge request espressif/esp-idf!47265
2026-04-09 02:36:26 +00:00
morris 291075ddf2 Merge branch 'fix/wrong_channel_gpio_num_on_p4_adc2_5.2' into 'release/v5.2'
feat(adc): add adc_continuous_parse_data api (v5.2)

See merge request espressif/esp-idf!46774
2026-04-07 14:17:51 +08:00
yiwenxiu ac372137ef feat(openthread): improve BR host related test cases 2026-04-03 15:29:22 +08:00
Island 5958167641 Merge branch 'feat/support_run_time_alloc_for_esp_ip_test_v5.2' into 'release/v5.2'
Support Mempool Run Time Allocation for ESP IP Chips (v5.2)

See merge request espressif/esp-idf!46820
2026-04-03 10:13:15 +08:00
Chen Jichang 107548e016 change(parlio_tx): use shift edge instead sample edge
Made-with: Cursor
2026-04-02 18:41:32 +08:00
cjin 3f32fefaec feat(ble): supported ble mempool run time allocation for esp ip chips 2026-04-02 16:40:03 +08:00
Sumeet Singh 4c30f20afb feat(nimble): Update blecent example README.md with EATT documentation 2026-04-02 06:57:07 +05:30
Rahul Tank e8e60bb6cf Merge branch 'bugfix/nimble_example_fixes_v5.2' into 'release/v5.2'
fix(nimble): Address nimble example issues (v5.2)

See merge request espressif/esp-idf!47075
2026-04-01 15:42:52 +05:30
Island 1e07f40a93 Merge branch 'bugfix/fix_some_bluedroid_bugs_260121_v5.2' into 'release/v5.2'
Bugfix/fix some bluedroid bugs 260121 (5.2)

See merge request espressif/esp-idf!46980
2026-04-01 11:45:16 +08:00
Astha Verma 65474b7fba fix(nimble): fix missing gatt caching header in examples 2026-03-31 17:31:13 +05:30
Sumeet Singh 20f52d60ab fix(nimble): Fix enc adv NVS struct and add ext adv support 2026-03-30 16:18:18 +05:30
Shreeyash Bhakare d72a8b091c fix(nimble): fix CODED PHY ext adv Packet Too Long by using min interval (20 ms) 2026-03-30 16:18:18 +05:30
Zhi Wei Jian 4813de3e89 fix(ble/bluedroid): fix bugs in BLE 5.0 bluedroid examples
- Fix callback function usage and parameter errors
- Fix spelling: BROCASTER to BROADCASTER in examples
- Update examples to match API changes



(cherry picked from commit 8f4dd7824e)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-03-30 16:45:02 +08:00
yangfeng 07fc9e3127 fix(bt/example): Fixed the HFP printing issue in the CI test 2026-03-30 11:52:23 +08:00
Zhi Wei Jian 64b2e02c8f fix(bluedroid): printf EXAMPLE_CI_ID, PIPELINE_ID and CHIP_ID
(cherry picked from commit 7bb1018948)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-03-23 17:23:37 +08:00
Zhi Wei Jian 9968fe22b8 fix(ble/bluedroid): Fixed Incorrect use of event parameters in gattc_gatts_coex
(cherry picked from commit b218e02b49)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-03-23 17:23:37 +08:00
gaoxu 4de3b4e25a feat(adc): add adc_continuous_parse_data api 2026-03-19 18:39:27 +08:00
Jiang Jiang Jian 4e05ccee81 Merge branch 'ci/improve-tests_v5.2' into 'release/v5.2'
tests: change wifi tests expect timeout to 60 (v5.2)

See merge request espressif/esp-idf!46587
2026-03-17 10:26:28 +08:00
Tan Yan Quan 2aa79dd067 feat(protocol_examples_common): support infinite retries for example_handler_on_wifi_disconnect 2026-03-16 19:49:59 +08:00
Jiang Jiang Jian b5bd797e7b Merge branch 'bugfix/fix_some_wifi_bugs_260313_v5.2' into 'release/v5.2'
fix(wifi): fix some wifi bugs 260313 v5.2(Backport v5.2)

See merge request espressif/esp-idf!46617
2026-03-16 15:00:02 +08:00
Jiang Jiang Jian 180724fc43 Merge branch 'ci/fix_mqtt_sll_test_v5.x_v5.2' into 'release/v5.2'
ci(mqtt): use QoS=1 for control messages in SSL test (v5.2)

See merge request espressif/esp-idf!46512
2026-03-16 11:38:32 +08:00
Jiang Jiang Jian 8b924a54fe Merge branch 'feat/nvs_iteration_statistics_examples_v5.2' into 'release/v5.2'
feat(examples/storage): add nvs statistics and iteration examples (v5.2)

See merge request espressif/esp-idf!43678
2026-03-16 11:34:48 +08:00
wuzhenghui 661a442886 feat(example): add cache safe check for wifi powersave example CI 2026-03-13 17:01:14 +08:00
Fu Hanxi 06ca1805fd tests: change wifi tests expect timeout to 60
- wifi_router
- wifi_ap
- wifi_high_traffic
2026-03-13 10:05:15 +08:00
Rahul Tank 77ec82dc0f feat(nimble): Added changes in examples to have code under flags 2026-03-12 10:43:52 +05:30
Bogdan Kolendovskyy 5c806c924f ci(mqtt): use QoS=1 for control messages in SSL test
SSL test relies on the device receiving a control message during the test, which was being sent
with QoS=0. Send the control message with QoS=1 to avoid failures due to poor network connection.
2026-03-11 16:55:19 +01:00
muhaidong 38c806f9ef fix(wifi): fix lmac tx done assert issue 2026-03-10 20:08:52 +08:00
Jiang Jiang Jian bd76f0caec Merge branch 'fix/fix_io_wakeup_issues_v5.2' into 'release/v5.2'
fix(esp_hw_support): make esp_deep_sleep_enable_gpio_wakeup available to PD_TOP lightsleep (v5.2)

See merge request espressif/esp-idf!45873
2026-03-09 18:56:24 +08:00
Tan Yan Quan bac161cdda feat(openthread): turn off rx earlier for csl if no packet received 2026-03-02 17:00:29 +08:00
Rahul Tank 75eda3f00c fix(nimble): Improve safety, fix bugs, and update docs across NimBLE examples
- Remove unused headers from examples
- Improve periodic adv/sync example functionality and readability
- Use ble_hs_id_infer_auto() instead of hardcoded BLE_OWN_ADDR_PUBLIC/RANDOM
- Add ble_hs_util_ensure_addr() calls in on_sync for proper address setup
- Use correct ext adv instance (0 instead of 1) in phy_prph, l2cap_coc, multi_conn
- Fix struct name: ble_gap_periodic_adv_enable_params -> ble_gap_periodic_adv_start_params
- Add CONFIG_BT_NIMBLE_GAP_SERVICE guards around ble_svc_gap_device_name_set
- Fix unsafe AD data parsing with bounds checks in central examples
- Fix UUID matching bugs (off-by-one loop condition and byte order) in
  phy_cent, htp_cent, and proximity_sensor_cent
- Fix ble_multi_conn_cent address type to use dynamic inference
- Remove contradictory sm_sc=0 after sm_sc=1 in ble_multi_adv
- Add CONFIG_BT_NIMBLE_EXT_ADV=y to ble_multi_adv sdkconfig defaults
- Check return values for ble_gap_set_host_feat, nimble_port_init
- Update tutorials and READMEs to match code changes
2026-02-25 13:07:02 +05:30
Rahul Tank d2a5aacb62 Merge branch 'bugfix/fix_host_nimble_fixes_v5.2' into 'release/v5.2'
fix(nimble): Fix various issues for security/vulnerability in host (v5.2)

See merge request espressif/esp-idf!45995
2026-02-25 12:54:20 +05:30
Rahul Tank f410a6ca23 fix(nimble): Fix various issues for security/vulnerability in host 2026-02-23 15:26:48 +05:30
hrushikesh.bhosale 1f4dd05b0c fix(esp_http_client): Fixed esp_http_client example pytest
- For async request need to expect -1 as content length, but it was
expecting positive value instead
2026-02-23 12:03:49 +05:30
Rahul Tank 700181eb1f fix(nimble): Bugfixes for various issues 2026-02-16 11:35:20 +05:30
wuzhenghui a0ca0c9de9 fix(example): fix uninitialized gpio/rtcio in deepsleep example 2026-02-13 12:22:54 +08:00
Rahul Tank ab0700c044 Merge branch 'bugfix/fix_ble_multi_adv_v5.2' into 'release/v5.2'
fix(nimble): Fix ble_multi_adv example to show correct UUIDs information (v5.2)

See merge request espressif/esp-idf!45814
2026-02-12 15:48:27 +05:30
Astha Verma c042a611c6 fix(nimble): Added device name log for ext adv in blecent_throughput 2026-02-11 12:48:23 +05:30
Rahul Tank 2739813bf0 fix(nimble): Fix ble_multi_adv example to show correct UUIDs information 2026-02-11 12:44:06 +05:30
Shu Chen 7ac13d83d0 Merge branch 'feat/add_phy_cli_debug_v5.2' into 'release/v5.2'
feat(openthread): support 154 debug features on RCP (v5.2)

See merge request espressif/esp-idf!45734
2026-02-10 11:08:30 +00:00
Rahul Tank 217e5743b9 Merge branch 'bugfix/security_fixes_for_examples_v5.2' into 'release/v5.2'
fix(nimble): Fix vulnerabilities in NimBLE examples (v5.2)

See merge request espressif/esp-idf!45485
2026-02-09 14:24:51 +05:30
Shreeyash 35ca390a06 fix(nimble): Fix vulnerabilities in NimBLE examples 2026-02-06 18:48:32 +05:30
Tan Yan Quan edfce4d9d0 feat(openthread): support 154 debug features on RCP 2026-02-06 20:18:41 +08:00
Tan Yan Quan 66e816b23b feat(ieee802154): add support for phyreg -g register debug 2026-02-06 20:18:41 +08:00
luoxu b640f05f6a feat(ble_mesh): alignment to release/v6.0 2026-02-06 11:15:20 +08:00