Commit Graph

46520 Commits

Author SHA1 Message Date
Zhang Hai Peng 07ed373646 fix(bt/bluedroid): fix UAF in bta_gattc_enqueue for search service command
(cherry picked from commit 61962987501dbc778d474dc7d6e065211cea557b)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng 622990b70e feat(examples/bluedroid): Add BLE time interval conversion macros for better readability
Add macros to convert time values from milliseconds to BLE interval units:
- ESP_BLE_GAP_ADV_ITVL_MS: Convert advertising interval (0.625ms unit)
- ESP_BLE_GAP_SCAN_ITVL_MS: Convert scan interval (0.625ms unit)
- ESP_BLE_GAP_SCAN_WIN_MS: Convert scan window (0.625ms unit)
- ESP_BLE_GAP_CONN_ITVL_MS: Convert connection interval (1.25ms unit)
- ESP_BLE_GAP_PERIODIC_ADV_ITVL_MS: Convert periodic adv interval (1.25ms unit)
- ESP_BLE_GAP_SUPERVISION_TIMEOUT_MS: Convert supervision timeout (10ms unit)


(cherry picked from commit 7cd2f7b34d925f6b4ebcbecf320c2d5a1b2e7036)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng 3c3cfb7eaa feat(ble/bluedroid): Increase maximum notify/indication registration count
(cherry picked from commit b6aed7e1c8b22a3813eda17f9436706b725e1de5)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng 2cf13e5c6d fix(ble/bluedroid): Fix multiple out-of-bounds read vulnerabilities in GATT PDU handlers
(cherry picked from commit 643d9c2387f9fc677025e66faf714667a7e75f85)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng fa99ba7f72 fix(ble/bluedroid): Fix out-of-bounds read in l2cble_process_sig_cmd
(cherry picked from commit 93cfbb8522c8e4cf3c56378fe97f2a7d10a2e5e3)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng 00e6211ff8 fix(ble/bluedroid): Fix integer underflow in gatt_process_read_by_type_rsp
(cherry picked from commit 597fc6e5c1b4a0448ad3d43185d9d48624085a0c)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng a805e4e6e8 fix(bt): fix BLE security issue in controller and HCI packet parser
(cherry picked from commit a721e94a0fc78c61f6690126a982ac2966ff400b)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng 9ad2dd11ad fix(ble/hci): Fix OOB read in ble_adv_scan_combined example
(cherry picked from commit c76283260003781735618a827418dfed9f481cba)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng a012fee0be fix(ble/bluedroid): Added security check in example Bluedroid_GATT_Server
(cherry picked from commit a36bf7fe14305b643baa4c97306274b592d2329d)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Shu Chen dc7c25f3c9 Merge branch 'fix/fix_an_ot_example_v5.5' into 'release/v5.5'
fix(openthread): remove the default netif configuration from the ot_br example (v5.5)

See merge request espressif/esp-idf!44727
2026-01-07 08:13:42 +00:00
morris f4985641d3 Merge branch 'bugfix/misconfiguration_sdkconfig_file_not_exist_v5.5' into 'release/v5.5'
add missing sdkconfig files in the driver test (v5.5)

See merge request espressif/esp-idf!44821
2026-01-07 14:53:41 +08:00
Island 2a8fd3c4eb Merge branch 'feat/support_bluedroid_host_smp_with_psa_tinycrypt_v5.5' into 'release/v5.5'
Feat/support bluedroid host smp with psa tinycrypt v5.5

See merge request espressif/esp-idf!44787
2026-01-07 14:23:54 +08:00
Island 0876e0def2 Merge branch 'feat/support_fixed_id_for_ctrl_log_v5.5' into 'release/v5.5'
feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(1bb2f50) (v5.5)

See merge request espressif/esp-idf!44780
2026-01-07 14:18:07 +08:00
Island 31f8d00bd3 Merge branch 'fix/ble_mesh_eliminate_deprecated_warn_for_mbt_v5.5' into 'release/v5.5'
fix(ble_mesh): eliminate deprecated warning for mbt (v5.5)

See merge request espressif/esp-idf!44629
2026-01-07 12:14:57 +08:00
Island 5e51f56ff7 Merge branch 'feat/ble_mesh_blob_adapt_to_long_packet_v5.5' into 'release/v5.5'
feat(ble_mesh): adapt blob cli&srv to long packet (v5.5)

See merge request espressif/esp-idf!44696
2026-01-07 12:14:44 +08:00
morris e5ab5d2364 Merge branch 'bugfix/fix_isp_awb_for_p4_eco4_v5.5' into 'release/v5.5'
fix(esp_driver_isp): Fix AWB subwindown compatibility for ESP32-P4 ECO4 (v5.5)

See merge request espressif/esp-idf!44826
2026-01-07 10:53:08 +08:00
Wang Meng Yang 17cd45038f Merge branch 'bugfix/fix_event_filter_bug_v5.5' into 'release/v5.5'
fix(bt/controller): Fixed hci connection request event filter bug (v5.5)

See merge request espressif/esp-idf!43875
2026-01-07 10:42:32 +08:00
morris 980e8289a1 refactor(tests): add missing sdkconfig files in the driver test 2026-01-07 10:18:58 +08:00
Roland Dobai 7ac308c3d4 Merge branch 'fix/update_argument_file_readme' into 'release/v5.5'
change(tools): Updated argument files with quotations in README.md

See merge request espressif/esp-idf!44832
2026-01-06 12:37:14 +01:00
Marek Fiala c34a8f9c88 change(tools): Updated argument files with quotations in README.md 2026-01-06 11:33:08 +01:00
Roland Dobai 0cf7c8e915 Merge branch 'change/readme_chip_support_v5.5' into 'release/v5.5'
Tools: Add auto-generated chip support table into the README (v5.5)

See merge request espressif/esp-idf!44805
2026-01-06 10:57:46 +01:00
Dong Heng 2b199da335 fix(esp_driver_isp): Fix AWB subwindown compatibility for ESP32-P4 ECO4 2026-01-06 15:49:03 +08:00
morris c4ac92b254 Merge branch 'fix/awb_subwindow_v5.5' into 'release/v5.5'
fix(isp): Added subwindow configuration for AWB (v5.5)

See merge request espressif/esp-idf!44219
2026-01-06 15:44:06 +08:00
Island b4a987ae30 Merge branch 'feat/support_bhost2025_44_v5.5' into 'release/v5.5'
feat(ble/bluedroid): Add more debug log for bluedroid (v5.5)

See merge request espressif/esp-idf!43366
2026-01-06 14:18:46 +08:00
Island 5ca6847ddb Merge branch 'fix/fix_some_bludedroid_host_bug_v5.5' into 'release/v5.5'
fix(ble/bluedroid): optimize bluedroid some code (v5.5)

See merge request espressif/esp-idf!44785
2026-01-06 14:15:10 +08:00
Island a0c9a56f10 Merge branch 'fix/add_esp_timer_trigger_back_v5.5' into 'release/v5.5'
fix(ble): add esp timer trigger back for timestamp synchronization (v5.5)

See merge request espressif/esp-idf!44693
2026-01-06 12:44:39 +08:00
morris e03454d6f8 Merge branch 'fix/fix_ccm_shadow_configure_v5.5' into 'release/v5.5'
isp: support bypass shadow register check for CCM (v5.5)

See merge request espressif/esp-idf!44757
2026-01-06 11:27:55 +08:00
Marius Vikhammer bda5a3b34d Merge branch 'fix/freertos_tick_hook_test_v5.5' into 'release/v5.5'
fix(freertos): Added stability fixes to tick hook test (v5.5)

See merge request espressif/esp-idf!44523
2026-01-06 08:39:31 +08:00
Roland Dobai 2ee0f15346 change(readme): Add auto-generated chip support table into the README 2026-01-05 16:39:29 +01:00
Zhou Xiao 0394fe266c fix(ble): fixed cache error risk in ble log module 2026-01-05 19:25:29 +08:00
Zhou Xiao df013bae45 feat(ble): provide isr dispatch method option for ble log ts 2026-01-05 19:25:29 +08:00
Zhou Xiao a82ca85558 fix(ble): add esp timer trigger back for timestamp synchronization
(cherry picked from commit d1a5804de9c1fa2f27ee01b68180fa25b2a29005)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-01-05 19:25:29 +08:00
Island 271116ba22 Merge branch 'fix/ble_mesh_proxy_cli_coexists_with_adv_v5.5' into 'release/v5.5'
fix(ble_mesh): Fix start callback timing when GATT and ADV bearers coexist (v5.5)

See merge request espressif/esp-idf!44418
2026-01-05 19:15:40 +08:00
Aditya Patwardhan 6d0a7a01ce Merge branch 'bugfix/http_digest_arg_validation_v5.5' into 'release/v5.5'
fix(esp_http_client): prevent out-of-bounds read in Digest auth (v5.5)

See merge request espressif/esp-idf!43901
2026-01-05 16:00:38 +05:30
Island 664882084c Merge branch 'feat/ble_mesh_lib_log_output_opt_v5.5' into 'release/v5.5'
feat(ble_mesh): add ext log initialization functions (v5.5)

See merge request espressif/esp-idf!43756
2026-01-05 17:59:40 +08:00
Island 4b8027b8e8 Merge branch 'fix/ble_mesh_cpp_compile_issue_v5.5' into 'release/v5.5'
fix(ble_mesh): resolve C++ compilation issue in net.h (v5.5)

See merge request espressif/esp-idf!43436
2026-01-05 17:59:30 +08:00
Island 1552633607 Merge branch 'fix/ble_mesh_trans_enh_seg_rpl_v5.5' into 'release/v5.5'
fix(ble_mesh): fixed incorrect rpl behavior in transport enh (v5.5)

See merge request espressif/esp-idf!44388
2026-01-05 17:59:20 +08:00
zhiweijian a48590a9f4 fix(ble/bluedroid): Replaced the psa_ api with the mbedtls_ api 2026-01-05 11:23:31 +08:00
zhiweijian fe7b658652 feat(ble/bluedroid): Support bluedroid encrypted advertising data 2026-01-05 10:49:16 +08:00
zhiweijian 6b754fbfcf feat(ble/bluedroid): Move the TinyCrypt and mbedTLS configuration items to the bt common path 2026-01-05 10:48:56 +08:00
zhiweijian c04036d6bf feat(ble/bluedroid): Supported Bludroid host encryption using TinyCrypt 2026-01-05 10:48:45 +08:00
zhiweijian 1906584c89 feat(ble/bluedroid): Supported Bludroid host encryption using mbedtls 2026-01-05 10:48:32 +08:00
Island e4d066cea1 Merge branch 'change/ble_update_lib_20251202_v5.5' into 'release/v5.5'
change(ble): [AUTO_MR] 20251202 - Update ESP BLE Controller Lib (v5.5)

See merge request espressif/esp-idf!44019
2026-01-05 10:25:18 +08:00
zhanghaipeng f1f1392a4d fix(ble/bluedroid): Fix array index in set_periodic_adv_subevt_data 2026-01-05 10:20:05 +08:00
zhanghaipeng 1c56fad5d0 fix(ble/bluedroid): Remove duplicate filter_policy in ext_conn_v2 HCI cmd 2026-01-05 10:19:53 +08:00
zhanghaipeng 9825b32ce2 fix(ble/bluedroid): Fix heap buffer overflow in BTC_GAP_BLE_SET_PA_SUBEVT_DATA deep copy 2026-01-05 10:19:41 +08:00
Zhi Wei Jian 267368bbcc fix(ble/bluedroid): optimize bluedroid some code
(cherry picked from commit 6b09de6dbf4039b1e489aff6869ce40ee70de3a3)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-05 10:07:28 +08:00
Chen Jian Hua d76ad391ec feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(1bb2f50)
- Support fixed log id for log compression
- Support parsing log with synced timestamp


(cherry picked from commit 2ccf3123739bb1d68fc3ba3d43e54dd859da7fab)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2026-01-05 09:33:22 +08:00
Luo Xu 777ec2c2b5 fix(ble_mesh): add type casting for adv data pointer
(cherry picked from commit e4f514ae108538050ff393eb961c1bb0adf8bdac)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-01-05 00:05:42 +08:00
Luo Xu 6fea5c66ed fix(ble_mesh): resolve C++ compilation issue in net.h
Closes https://github.com/espressif/esp-idf/issues/17868


(cherry picked from commit 7ae9d8deb641c3f9f14ea7bcda64ecf6da581436)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-01-05 00:05:42 +08:00