morris
deabbb0664
Merge branch 'ci/reenable_p4_tests_v5.4' into 'release/v5.4'
...
ci: re-enable p4 eco4 runner (v5.4)
See merge request espressif/esp-idf!43909
2026-04-17 19:05:49 +08:00
morris
458836e182
Merge branch 'fix/i2c_null_check_v5.4' into 'release/v5.4'
...
fix(i2c): add NULL check and correct log (v5.4)
See merge request espressif/esp-idf!46688
2026-04-17 19:04:43 +08:00
morris
269046ef89
Merge branch 'fix/i2c_fsm_reset_sequence_v5.4' into 'release/v5.4'
...
fix(i2c): reset master before bus clear on chips without HW FSM reset (v5.4)
See merge request espressif/esp-idf!47509
2026-04-17 19:04:07 +08:00
morris
7106fbf9f1
Merge branch 'doc/i2c_master_probe_comment_update_v5.4' into 'release/v5.4'
...
docs(i2c): update i2c_master_probe parameter comment (v5.4)
See merge request espressif/esp-idf!47513
2026-04-17 19:03:47 +08:00
morris
e5aca38345
Merge branch 'fix/usb_security_backport_v5.4' into 'release/v5.4'
...
fix(usb): USB security fixes from esp-usb (backport v5.4)
See merge request espressif/esp-idf!47103
2026-04-17 19:03:17 +08:00
morris
5f4d54a097
Merge branch 'ci/ease_restrictions_of_legacy_adc_test_v5.4' into 'release/v5.4'
...
ci(legacy_adc_dac): ease ADC read restriction (v5.4)
See merge request espressif/esp-idf!47116
2026-04-17 18:53:44 +08:00
Island
7bead3ac8e
Merge branch 'feat/support_run_time_alloc_for_esp_ip_test_v5.4' into 'release/v5.4'
...
Support Mempool Run Time Allocation for ESP IP Chips (v5.4)
See merge request espressif/esp-idf!46822
2026-04-17 18:12:36 +08:00
Island
db8081e018
Merge branch 'fix/fix_bluedroid_gattc_gatts_coex_example_params_error_v5.4' into 'release/v5.4'
...
fix(ble/bluedroid): Fixed Incorrect use of event parameters in gattc_gatts_coex (5.4)
See merge request espressif/esp-idf!46905
2026-04-17 18:11:12 +08:00
Island
aee5245e2d
Merge branch 'bugfix/fix_some_bluedroid_bugs_260121_v5.4' into 'release/v5.4'
...
Bugfix/fix some bluedroid bugs 260121 (5.4)
See merge request espressif/esp-idf!46982
2026-04-17 18:11:09 +08:00
Island
7f6adb256f
Merge branch 'feat/support_adv_monitor_for_bluedroid_host_v5.4' into 'release/v5.4'
...
feat(ble/bluedroid): support adv monitor feature (5.4)
See merge request espressif/esp-idf!47036
2026-04-17 18:10:52 +08:00
Island
1ffdb33de9
Merge branch 'feat/add_bluedroid_cancel_open_api_v5.4' into 'release/v5.4'
...
feat(ble/bluedroid): Added cancel open function for bluedroid (5.4)
See merge request espressif/esp-idf!46900
2026-04-17 18:10:38 +08:00
Island
3b435a80a8
Merge branch 'feat/allow_creat_vendor_descriptor_by_service_table_v5.4' into 'release/v5.4'
...
feat(ble/bluedroid): Allow add vendor descriptor by service table create API (5.4)
See merge request espressif/esp-idf!47041
2026-04-17 18:10:15 +08:00
Fu Hanxi
e999464740
Merge branch 'ci/manual-gate-v5.4' into 'release/v5.4'
...
ci: manual job to block pipeline start (v5.4)
See merge request espressif/esp-idf!46724
2026-04-17 11:53:55 +02:00
Fu Hanxi
0a662a15f9
Merge branch 'ci/fix_check_build_test_rules_script' into 'release/v5.4'
...
ci: fix check_build_test_rules script (v5.4)
See merge request espressif/esp-idf!46711
2026-04-17 11:52:02 +02:00
Fu Hanxi
e15f264c09
Merge branch 'ci/enable-docs_v5.4' into 'release/v5.4'
...
ci: install.sh --enable-docs when job name contains docs (v5.4)
See merge request espressif/esp-idf!46786
2026-04-17 11:51:13 +02:00
Marius Vikhammer
e33cc478aa
Merge branch 'update/version_5_4_4' into 'release/v5.4'
...
Update version to 5.4.4
See merge request espressif/esp-idf!47576
2026-04-17 13:08:20 +08:00
Jin Chen
b923c9ad97
change(ble): [AUTO_MR] Update lib_esp32c5 to 913c704d
...
(cherry picked from commit 739cb8e00d )
Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com >
2026-04-14 14:50:32 +05:30
Jin Chen
8c7298bbd0
feat(ble): make env init function cuttable on ESP32-C2
...
(cherry picked from commit 5ec82368ba )
Co-authored-by: cjin <jinchen@espressif.com >
2026-04-14 14:50:32 +05:30
Jin Chen
34dcd0d41f
feat(ble): supported ble mempool run time allocation for esp ip chips
...
(cherry picked from commit 84d75cf772 )
Co-authored-by: cjin <jinchen@espressif.com >
2026-04-14 14:50:32 +05:30
Jin Chen
b51461f964
change(ble): [AUTO_MR] Update lib_esp32c2 to b8594335
...
(cherry picked from commit a2ef5c0ff9 )
Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com >
2026-04-14 14:50:32 +05:30
Marius Vikhammer
296b6eab94
change(version): Update version to 5.4.4
v5.4.4
2026-04-14 14:31:36 +08:00
Jiang Jiang Jian
a52c67a67b
Merge branch 'fix/fix_ext_coex_154_stage_switch_v5.4' into 'release/v5.4'
...
fix(coex): fix ieee802.15.4 external coex tx/rx stage handling (v5.4)
See merge request espressif/esp-idf!46681
2026-04-13 15:22:19 +08:00
Chen Chen
85cc29fa9c
docs(i2c): update i2c_master_probe parameter comment
...
closes https://github.com/espressif/esp-idf/issues/18442
2026-04-13 15:13:34 +08:00
Chen Chen
3587c30e3b
fix(i2c): reset master before bus clear on chips without HW FSM reset
...
Reorder s_i2c_hw_fsm_reset() so i2c_ll_reset_register and interrupt
masking run before s_i2c_master_clear_bus(). Avoids ISR firing when
i2c_common_set_pins reconnects GPIOs to a stuck FSM (IDFGH-17497).
Closes https://github.com/espressif/esp-idf/issues/18438
Made-with: Cursor
2026-04-13 15:12:27 +08:00
Jiang Jiang Jian
200e80503f
Merge branch 'bugfix/oob_read_in_continue_packet_v5.4' into 'release/v5.4'
...
fix(bt/bluedroid): fix ACL reassembly dropping valid continuation fragments (v5.4)
See merge request espressif/esp-idf!47380
2026-04-09 14:37:04 +08:00
Jin Cheng
04ddb36756
fix(bt/bluedroid): moved L2CAP length check into start packets only
2026-04-08 20:41:42 +08:00
Jon Gilmore
02b5d4bb13
fix(bt/bluedroid): fix ACL reassembly dropping valid continuation fragments
...
The minimum length check in `reassemble_and_dispatch()` applied the START packet minimum (`HCI_ACL_PREAMBLE_SIZE + L2CAP_LENGTH_SIZE` = 8 bytes) to **all** ACL packets, including continuation fragments. Continuation fragments only carry the 4-byte ACL preamble (handle + length) with no L2CAP header, so small but valid continuations (5-7 bytes) were incorrectly rejected as "too short."
This caused the first L2CAP PDU in a rapid burst of BLE GATT indications to be silently dropped. The partial reassembly was orphaned, then discarded when the next indication's START fragment arrived, producing:
```
E BT_HCI: ACL packet too short (len=5)
W BT_HCI: reassemble_and_dispatch found unfinished packet for handle with start packet. Dropping old.
```
Parse the ACL preamble first (requires only 4 bytes) to determine the boundary flag, then apply the L2CAP length check only to START packets. Continuation packets are now accepted with the correct minimum of `HCI_ACL_PREAMBLE_SIZE` (4 bytes).
- ESP32-S3 connected to a BLE peripheral that fragments indications at 40 bytes per L2CAP PDU
- Peripheral sends 8+ indications within ~200ms (burst of state changes)
- The final continuation fragment of the first indication is small (5-6 bytes after type stripping)
- 100% reproducible on every burst; confirmed on ESP-IDF 5.5.3, 5.5.4, and 6.0.0
Verified on ESP32-S3 with a Sub-Zero wall oven (SO3050PESP, firmware 8.5):
- **Before fix:** First indication in every burst lost (ACL reassembly failure)
- **After fix:** All indications in burst delivered correctly, including when the final continuation fragment is 5-6 bytes
Closes https://github.com/espressif/esp-idf/issues/18414
2026-04-08 20:41:42 +08:00
Tomas Rezucha
e7b50cd646
fix(usb): USB security fixes from esp-usb
...
Combination of the following commits:
- c546816048
- 749af3b938
- 234ed4e9d4
- 8f7fe7308d
2026-04-08 12:50:27 +02:00
zhiweijian
1ced86789b
fix(ble/bluedroid): Fixed privacy callback triggering multiple times
2026-04-03 14:07:23 +08:00
Jiang Jiang Jian
9c4bbcdace
Merge branch 'bugfix/fixed_disconnect_issues_v5.4' into 'release/v5.4'
...
Bugfix/fixed disconnect issues v5.4
See merge request espressif/esp-idf!47186
2026-04-01 16:18:12 +08:00
Hu Rui
507b1dc924
fix(i2c): add NULL check and correct log
2026-04-01 15:53:38 +08:00
Xu Si Yu
3ab273d3ea
fix(coex): fix ieee802.15.4 external coex tx/rx stage handling
2026-04-01 15:42:53 +08:00
zhaoweiliang
b10d5d31f3
fix(ble): Fixed an occasional disconnection issue on ESP32-C6 and ESP32-H2
2026-03-31 19:36:24 +08:00
zhiweijian
d2892e882a
fix(ble/bluedroid): Fixed bluedrodi CI build error
2026-03-31 14:32:34 +08:00
zhiweijian
5d02a35ea1
fix(bt/bluedroid): Fixed AddCharacteristic failed when attr_len is zero for AUTO_RSP
2026-03-31 12:02:32 +08:00
zhiweijian
d45c6fe739
fix(ble/bluedroid): Fixed build error due to rebase conflict
2026-03-30 16:37:42 +08:00
Jiang Jiang Jian
e20cf83b09
Merge branch 'docs/update_c2_feature_status_v5.4' into 'release/v5.4'
...
fix(docs): Updated BLE features support status (5.4)
See merge request espressif/esp-idf!46858
2026-03-30 12:16:41 +08:00
zhiweijian
ed6d84b57b
disable some parameters check in CTE APIs
2026-03-30 10:51:13 +08:00
luoxu
fb6593f438
fix(ble/bluedroid): Change BLE mesh adapter to use BTA APIs
2026-03-30 10:50:53 +08:00
zhiweijian
0bd4c9a5ad
fix(ble/bluedroid): optimize bluedroid host and fix GAP, memory, status and BTM API issues
...
- return HCI_ERR_MEMORY_FULL on cmd buffer alloc failure
- remove legacy adv/scan semaphores and mutex
- Use the same legacy gap callback instead of each independent legacy gap event callback
2026-03-30 10:49:26 +08:00
Zhi Wei Jian
35ba73a021
fix(ble/bluedroid): Null/range checks, crypto cleanup and API consistency
...
- smp_api.h/smp_int.h: SMP_OPCODE_ARRAY_SIZE and SecureConnectionOobDataReply
declaration alignment
- p_256_ecc_pp/p_256_multprecision: bounds and overflow fixes in ECC/multiprecision
- smp_act: init le_key; p_dev_rec null check in smp_key_distribution;
smp_compute_dhkey failure notify in smp_both_have_public_keys
- smp_api: early state/cb_evt check in SMP_SecureConnectionOobDataReply
- smp_cmac: input/length validation in cmac_aes_k_calculate and
aes_cipher_msg_auth_code
- smp_keys: smp_gen_p2_4_confirm return and smp_calculate_comfirm_cont;
smp_process_private_key/smp_compute_dhkey cleanup and peer_pub_be clear
- smp_l2c: fix callback param types with L2CAP
- smp_main: event/state bounds in smp_sm_event; smp_get_event_name default string
- smp_utils: cmd_code<SMP_OPCODE_ARRAY_SIZE and smp_cmd_build_act check;
smp_mask_enc_key/smp_command_has_invalid_parameters bounds
(cherry picked from commit 50747e4f63 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-03-30 10:49:11 +08:00
Zhi Wei Jian
64987b1cdd
fix(ble/bluedroid): Align config, controller indent and init error paths
...
- bt_target: remove/align obsolete macros with Kconfig
- device/controller: fix start_up() Secure Connections indent,
get_ble_resolving_list_max_size return type
- controller.h: align type/interface declarations with implementation
- bte_init: remove unused/redundant code
- bte_main: return -1 on osi_init failure, null check in bte_main_hci_send
(cherry picked from commit b83647f5ea )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-03-30 10:47:35 +08:00
laokaiyao
c563ccd442
ci(legacy_adc_dac): ease ADC read restriction
2026-03-30 10:17:52 +08:00
Wei Yuhan
48389747a8
docs(ble): Added BLE Multi Connection Guide
2026-03-27 16:50:41 +08:00
Wei Yuhan
e5b6b980e1
docs(ble): Removed esp32c5 and esp32c61 labels in the ble doc
2026-03-27 16:45:45 +08:00
Wei Yuhan
ea98ec65c4
fix(docs): Updated GATT Caching support status
2026-03-27 16:17:06 +08:00
Jiang Jiang Jian
e153ab93fa
Merge branch 'bugfix/idfci-8990_v5.4' into 'release/v5.4'
...
fix(bt): Fix crash due to functions not placed in IRAM(v5.4)
See merge request espressif/esp-idf!46942
2026-03-27 10:14:54 +08:00
xiongweichao
0ece0e924c
fix(bt): Fix crash due to functions not placed in IRAM
2026-03-26 21:06:55 +08:00
Jiang Jiang Jian
4d1dfc7c6e
Merge branch 'bugfix/wifi_cmd_version_in_iperf' into 'release/v5.4'
...
update wifi-cmd version in wifi iperf
See merge request espressif/esp-idf!47007
2026-03-26 17:59:21 +08:00
Zhi Wei Jian
d0df9e9089
feat(ble/bluedroid): Allow add vendor descriptor by service table create API
...
(cherry picked from commit 8207bd11e7 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-03-26 17:23:58 +08:00