muhaidong
b43e3e9ea6
fix(coex): fix coex sync filter and delay issue
2026-04-02 20:39:27 +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
Xiao Xufeng
0cb4b65613
fix(spi_flash): fixed overboundary check skipping of erase and write_encrypted
2026-04-02 17:19:34 +08:00
Xiao Xufeng
13f414ca08
refactor(spi_flash): not patching api_funcs on C3 and S3
2026-04-02 17:19:34 +08:00
cjin
3f32fefaec
feat(ble): supported ble mempool run time allocation for esp ip chips
2026-04-02 16:40:03 +08:00
Jin Chen
953692616a
feat(ble): make env init function cuttable on ESP32-C2
...
(cherry picked from commit 5ec82368ba )
Co-authored-by: cjin <jinchen@espressif.com >
2026-04-02 16:36:22 +08:00
Jin Chen
2502afa094
change(ble): [AUTO_MR] Update lib_esp32h2 to 913c704d
...
(cherry picked from commit a8d705ff7a )
Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com >
2026-04-02 16:36:22 +08:00
Jin Chen
8e067d416f
change(ble): [AUTO_MR] Update lib_esp32c2 to b8594335
...
(cherry picked from commit a2ef5c0ff9 )
Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com >
2026-04-02 16:36:22 +08:00
Jin Chen
ef9c3a7972
change(ble): [AUTO_MR] Update lib_esp32c6 to 913c704d
...
(cherry picked from commit 06010a8b79 )
Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com >
2026-04-02 16:36:22 +08:00
Tan Yan Quan
50342fb9c8
feat(openthread/openthread/lib): update thread-lib for upstream 9b887f6bd
...
* esp-openthread: thread_zigbee/esp-openthread@f7ea7ab12
* openthread: espressif/openthread@9b887f6bd
* esp-idf: espressif/esp-idf@fd0c24472
2026-04-02 07:53:32 +00:00
Tan Yan Quan
fd0c24472d
feat(openthread): update OT to 9b887f6bd
2026-04-02 15:43:38 +08:00
Wang Meng Yang
55e88b4e27
Merge branch 'bugfix/improve_spp_hid_v5.2' into 'release/v5.2'
...
fix(bt/bluedroid): fixed multiple high-severity issues from AI code review in SPP & HID (v5.2)
See merge request espressif/esp-idf!47148
2026-04-02 14:24:23 +08:00
Rahul Tank
eec94d330f
Merge branch 'feat/add_eatt_documentation_v5.2' into 'release/v5.2'
...
feat(nimble): Add EATT documentation (v5.2)
See merge request espressif/esp-idf!47024
2026-04-02 11:48:15 +05:30
Sumeet Singh
4c30f20afb
feat(nimble): Update blecent example README.md with EATT documentation
2026-04-02 06:57:07 +05:30
Alexey Lapshin
2e8fb77241
fix(newlib): fix intended warning in case -Wshadow is enabled
2026-04-01 20:10:58 +08:00
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
morris
12d942c658
Merge branch 'fix/i2c_nack_c5_v5.2' into 'release/v5.2'
...
fix(i2c_master): Fix potential concurrency issue with task and interrupt when nack happens (v5.2)
See merge request espressif/esp-idf!47155
2026-04-01 17:22:50 +08:00
C.S.M
c6795167c6
fix(i2c_master): Fix concurrency issue with task and interrupt when nack
2026-04-01 14:58:53 +08:00
morris
b29fd46bb1
Merge branch 'ci/i2c_testcase_bypass_v5.2' into 'release/v5.2'
...
ci(i2c): bypass the know failure case for deprecated driver (v5.2)
See merge request espressif/esp-idf!47179
2026-04-01 14:41:41 +08:00
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
Chen Chen
f7a44d1b09
ci(i2c): bypass the know failure case for deprecated driver
2026-04-01 08:40:00 +08:00
luoxu
99c115e259
remove(ble_mesh): deprecate the tinycrypt library within the Bluetooth Mesh component
2026-04-01 00:21:39 +08:00
zhiweijian
aada9ef228
change(ble/bluedroid): Disable the built-in Bluedroid cryptographic implementation
2026-04-01 00:21:39 +08:00
ShenWeilong
1286301e57
change(bt): use BT_SMP_CRYPTO_STACK_MBEDTLS to select bt cryption lib
2026-04-01 00:21:39 +08:00
Astha Verma
65474b7fba
fix(nimble): fix missing gatt caching header in examples
2026-03-31 17:31:13 +05:30
Junchi Chen
dc6b20df37
fix(wifi): return specific error in API BPv5.2
2026-03-31 16:41:46 +08:00
zhiweijian
bd3e284921
fix(ble/bluedroid): Fixed bluedrodi CI build error
2026-03-31 14:05:07 +08:00
zhiweijian
e022bea682
fix(bt/bluedroid): Fixed AddCharacteristic failed when attr_len is zero for AUTO_RSP
2026-03-31 12:03:33 +08:00
Jiang Jiang Jian
21cd10e001
Merge branch 'bugfix/bt_idf_ci_v5.2' into 'release/v5.2'
...
fix(bt/example): Fixed the HFP printing issue in the CI test (v5.2)
See merge request espressif/esp-idf!47082
2026-03-30 19:43:52 +08:00
Jin Cheng
1de651d067
fix(bt/bluedroid): fixed multiple high-severity issues from AI code review in SPP
2026-03-30 19:28:45 +08:00
Jin Cheng
419f6aa7f5
fix(bt/bluedroid): fixed multiple high-severity issues from AI code review in HID
2026-03-30 19:27:27 +08:00
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
Rahul Tank
93b0ad0c90
fix(nimble): Correct adv_list_init / deinit during nimble init / deinit
2026-03-30 16:18:18 +05:30
Island
495871916e
Merge branch 'feat/allow_creat_vendor_descriptor_by_service_table_v5.2' into 'release/v5.2'
...
feat(ble/bluedroid): Allow add vendor descriptor by service table create API (5.2)
See merge request espressif/esp-idf!47039
2026-03-30 17:01:39 +08:00
Island
6049d79e41
Merge branch 'feat/support_adv_monitor_for_bluedroid_host_v5.2' into 'release/v5.2'
...
feat(ble/bluedroid): support adv monitor feature (5.2)
See merge request espressif/esp-idf!47034
2026-03-30 17:01:17 +08:00
zhiweijian
945d041610
fix(ble/bluedroid): Fixed build error due to rebase conflict
2026-03-30 16:45:03 +08:00
zhiweijian
00b3483208
disable some parameters check in CTE APIs
2026-03-30 16:45:03 +08:00
luoxu
aae75d6d58
fix(ble/bluedroid): Change BLE mesh adapter to use BTA APIs
2026-03-30 16:45:03 +08:00
zhiweijian
1321f3355d
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 16:45:03 +08:00
Zhi Wei Jian
aa89634475
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 16:45:03 +08:00
Zhi Wei Jian
ff49f989a7
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 16:45:03 +08:00
Zhi Wei Jian
c89b01c3e5
fix(ble/bluedroid): BLE credit, reject when p_rcb NULL, timeout and leak fixes
...
- l2c_int: align struct/constant types with l2c_ble/l2c_main
- l2c_api: null/state checks in L2CA_SendFixedChnlData
- l2c_ble: reject when p_rcb==NULL, add L2CAP_CMD_BLE_FLOW_CTRL_CREDIT;
l2cble_init_direct_conn int64_t timeout and link_timeout==0 fix
- l2c_link: null/state checks and cleanup in hci_disc_comp/timeout/send_to_lower
- l2c_main: free p_msg on FCR non-Basic and COC branches; fix LE credit handling;
process_l2cap_cmd bounds
- l2c_utils: credit/queue cleanup and null checks in l2cu_disconnect_chnl
(cherry picked from commit 16d523e9bf )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-03-30 16:45:03 +08:00
Zhi Wei Jian
5399361622
fix(ble/bluedroid): Fix double-free, exec write, bounds and HCI param checks
...
- gap_ble: add length/attribute checks in gap_proc_write_req
- gatt_cl: set p_cmd->p_cmd=NULL before memset to avoid double-free;
pending_cl_req %= GATT_CL_MAX_LCB
- gatt_sr: fix exec write zeroed_attrs and offset/len bounds, OOM cleanup
- gatt_sr_hash: null checks for p_attr->p_next, p_data+=2, len==0 in
gatts_calculate_datebase_hash, gatts_show_local_database
- gatt_utils: explicit return NULL, indent, idx<GATT_MAX_APPS checks,
len>GATT_MAX_ATTR_LEN, gatt_cleanup_upon_disc dealloc branch
- hciblecmds: length/handle validation in BLE ext adv/BIG sync HCI commands
(cherry picked from commit 1d31286f1a )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-03-30 16:45:03 +08:00
Zhi Wei Jian
890cbb1d54
fix(ble/bluedroid): Event length checks and timer/alarm error handling
...
- btu_hcif: validate p_msg->len and hci_evt_len in process_event; pass evt_len to
sub-handlers; fix cs_subevt num_steps_reported==0 malloc; bounds in
command_complete and role_change_evt
- btu_task: handle osi_alarm_new/hash_map_set failure in btu_start_timer,
btu_start_quick_timer, btu_start_timer_oneshot
(cherry picked from commit 537661fb2e )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-03-30 16:45:03 +08:00
Zhi Wei Jian
6e56940435
fix(ble/bluedroid): BLE GAP/ACL/ISO/SCO null checks, evt_len and resource handling
...
- btm_acl: malloc/list_append failure handling, remove/memset order in btm_acl_removed
- btm_ble: remove incorrect sec_flags in SMP_OOB/NC/SC_OOB fall-through
- btm_ble_5_gap: btm_ble_hci_status_to_str unreachable return,
BTM_BleSetExtendedAdvParams/BleStartExtAdv leak and bounds
- btm_ble_addr: fix indent in btm_find_dev_by_identity_addr
- btm_ble_gap: null check p_service_data, pass evt_len to btm_ble_process_adv_pkt,
bounds in process_adv_pkt
- btm_ble_iso: align param types with declaration
- btm_ble_privacy: handle BTM_BLE_IRK_LIST_INVALID_INDEX in update_resolving_list,
comment fixes
- btm_devctl: fix btm_vsc_complete param order/type
- btm_sco: add evt_len to btm_sco_process_num_completed_pkts for bounds check
- btm_ble_int.h/btm_int.h: add evt_len to process_adv_pkt and
process_num_completed_pkts declarations
(cherry picked from commit 65b2cb2728 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-03-30 16:45:03 +08:00
Zhi Wei Jian
852c3b210e
fix(ble/bluedroid): Add length/pointer checks and fix error paths
...
- hci_hal_h4: validate packet length and pointers in hci_packet_complete,
hdl_rx_adv_rpt, callbacks
- hci_layer: align hci_start_up error path and return; validate packet len in
filter_incoming_event
- hci_packet_factory: ensure BT_HDR length/offset initialized in make_command_no_params
- packet_fragmenter: validate length before fragment_and_dispatch
(cherry picked from commit 778dd2ab5e )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-03-30 16:45:02 +08:00
Zhi Wei Jian
80414d0012
fix(ble/bluedroid): Fix init failure handling, storage/config and GATT leaks
...
- btc_main: handle bte_main_boot_entry failure with cleanup and future_ready(FUTURE_FAIL)
- btc_ble_storage: fix key/length validation in _btc_storage_get_ble_bonding_key
- btc_config: align return/error contract with callers
- btc_dm: use safe BTA_SERVICE_ID_TO_SERVICE_MASK, fix sec_cb_handler type
- btc_gatt_util: fix btc_to_bta_response/set_read_value length and bounds
- btc_gatts: future_free on early return, max_nb_attr uint16_t, fail cleanup,
handle bounds
- btc_ble_cte/btc_iso_ble: fix callback type/param consistency with BTA
(cherry picked from commit 6f5d9e3440 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-03-30 16:45:02 +08:00
Zhi Wei Jian
f964d8dc50
fix(ble/bluedroid): Add null/range checks and fix resource handling in BTA layer
...
- bta_dm_int: fix BTA_SERVICE_ID_TO_SERVICE_MASK undefined behavior (1<<id when id>=32)
- bta_gattc_main: add event bounds check before state table lookup
- bta_gattc_utils: null checks for remote_bda/p_rcb, fix list_free in clcb_dealloc,
bta_to_btif_uuid fixes
- bta_gatts_act: fix formatting/indent in send_service_change_indication
- bta_gatts_api: validate attr_val/len, add error logs on alloc failure
- bta_sys_main: null/range checks in sm_execute, alarm/hash_map error handling in
bta_alarm_cb
(cherry picked from commit f4cec2ac4e )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-03-30 16:45:02 +08:00
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