Zhou Xiao
031c9bb374
change(bt/ble_log): make checksum and enhanced statistics always enabled
...
Remove CONFIG_BLE_LOG_PAYLOAD_CHECKSUM_ENABLED conditional compilation
-- payload checksum is always computed over the full frame.
Remove CONFIG_BLE_LOG_XOR_CHECKSUM_ENABLED conditional -- XOR checksum
is always used; delete the sum checksum dead code path.
Remove CONFIG_BLE_LOG_ENH_STAT_ENABLED conditional -- enhanced
statistics (frame/byte counters per source) are always active.
Remove incorrect select on choice symbol
BT_LE_CONTROLLER_LOG_MODE_BLE_LOG_V2 from BLE_LOG_IS_ESP_CONTROLLER.
2026-04-07 13:10:20 +08:00
Zhou Xiao
817fd9ea7a
change(bt/ble_log): deprecate legacy SPI log output module
...
Move ble_log_spi_out.c and ble_log_spi_out.h into a deprecated/
subdirectory under components/bt/common/ble_log/. Extract all
BT_BLE_LOG_SPI_OUT_* Kconfig options into deprecated/Kconfig.in
with an if-block to reduce depends-on repetition, sourced from
ble_log/Kconfig.in inside a "Legacy SPI Log Output (Deprecated)"
menu. Add mutual exclusion with BLE_LOG_ENABLED so that the legacy
SPI Out and the new BLE Log Module cannot be enabled simultaneously.
Update CMakeLists.txt source path and add deprecated/include to
include dirs so existing callers are unaffected. The BLE Log
Module's SPI Master DMA peripheral transport is the replacement.
2026-04-07 13:10:16 +08:00
Zhou Xiao
374b9a4a63
change(bt/ble_log): remove BLE Log UHCI Out module
...
Delete ble_log_uhci_out.c and its header. Remove the UHCI Out source
from CMakeLists.txt and all BT_BLE_LOG_UHCI_OUT_* Kconfig options.
Remove per-chip BT_LE_CONTROLLER_LOG_UHCI_OUT_ENABLED Kconfig and
all UHCI Out caller references in esp32c5/c6/h2 controller bt.c.
Update ble_log_console README to reference the new BLE Log Module
UART DMA config. The functionality is superseded by the BLE Log
Module's UART DMA peripheral transport.
2026-04-07 13:10:08 +08:00
Mahavir Jain
a2732a715a
Merge branch 'feat/update_cjson_master_v5.3' into 'release/v5.3'
...
feat(cjson): update to latest master (v5.3)
See merge request espressif/esp-idf!47302
2026-04-07 10:26:07 +05:30
Island
78a04b369d
Merge branch 'feat/use_common_config_to_sel_crypt_lib_v5.3' into 'release/v5.3'
...
Feat/use common config to sel crypt lib (v5.3)
See merge request espressif/esp-idf!46405
2026-04-07 12:12:01 +08:00
Ashish Sharma
b93d96fe1e
feat(cjson): update to latest master
2026-04-07 10:33:59 +08:00
Jiang Jiang Jian
367a442274
Merge branch 'fix/wifi_nan_wrong_service_id_log_v5.3' into 'release/v5.3'
...
fix(nan): zero-init pub_id and sub_id in NAN service functions (Backport v5.3)
See merge request espressif/esp-idf!47129
2026-04-07 10:23:16 +08:00
Jiang Jiang Jian
646f651e22
Merge branch 'bugfix/wps_deauth_during_scan_v5.3' into 'release/v5.3'
...
fix(wifi): ignore disconnect events outside WPS handshake phase in wps (Backport v5.3)
See merge request espressif/esp-idf!47253
2026-04-07 10:22:59 +08:00
Island
65ae6b3382
Merge branch 'bugfix/fix_privacy_callback_trigger_multipe_times_v5.3' into 'release/v5.3'
...
Bugfix/fix privacy callback trigger multiple times (5.3)
See merge request espressif/esp-idf!47255
2026-04-03 20:35:57 +08:00
Rahul Tank
585b9ea501
Merge branch 'bugfix/gatts_stop_null_conn_aware_states_v5.3' into 'release/v5.3'
...
fix(nimble): fix null dereference of ble_gatts_conn_aware_states after gatts stop (v5.3)
See merge request espressif/esp-idf!47137
2026-04-03 12:39:37 +05:30
Zhi Wei Jian
9cbb718484
fix(ble/bluedroid): Fixed privacy callback triggering multiple times
...
(cherry picked from commit 5272b7e75b )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-04-03 14:02:35 +08:00
Sarvesh Bodakhe
cfa64bdc98
fix(wifi): ignore disconnect events outside WPS handshake phase in wps
...
wifi_station_wps_start() calls esp_wifi_disconnect() to leave a
previously connected AP before scanning for WPS registrars. When the
STA is already connected, the async disconnect event triggers
wps_sm_notify_deauth() which incorrectly treats it as a handshake failure,
disabling WPS entirely.
Guard wps_handle_failure() so it only fires when wps_get_status() is
WPS_STATUS_PENDING, i.e. the STA has found a WPS AP and is actively
in the M1-M8 exchange.
2026-04-03 11:29:15 +05:30
Jiang Jiang Jian
ccb2dca703
Merge branch 'bugfix/wifibug-1649_bp5.3' into 'release/v5.3'
...
fix(wifi): return specific error in API BPv5.3
See merge request espressif/esp-idf!47176
2026-04-03 11:33:54 +08:00
Jiang Jiang Jian
f4e0a5299c
Merge branch 'bugfix/fix_coex_sync_filter_and_delay_issue_v5.3' into 'release/v5.3'
...
fix(coex): fix coex sync filter and delay issue(Backport v5.3)
See merge request espressif/esp-idf!47244
2026-04-03 10:58:24 +08:00
Astha Verma
0bf325d44a
fix(nimble): fix null dereference of ble_gatts_conn_aware_states after gatts stop
2026-04-02 21:25:10 +05:30
muhaidong
84a3b9170b
fix(coex): fix coex sync filter and delay issue
2026-04-02 20:33:08 +08:00
Rahul Tank
f675a1888a
Merge branch 'feat/add_eatt_documentation_v5.3' into 'release/v5.3'
...
feat(nimble): Add EATT documentation (v5.3)
See merge request espressif/esp-idf!47022
2026-04-02 11:44:36 +05:30
Sumeet Singh
ce223d2c21
feat(nimble): Update blecent example README.md with EATT documentation
2026-04-02 06:55:15 +05:30
morris
739e6c65dc
Merge branch 'fix/i2c_psram_esp32c5_v5.3' into 'release/v5.3'
...
test(i2c): with malloc comes from PSRAM by default (v5.3)
See merge request espressif/esp-idf!46392
2026-04-01 22:28:13 +08:00
Rahul Tank
8842dc9610
Merge branch 'bugfix/nimble_example_fixes_v5.3' into 'release/v5.3'
...
fix(nimble): Address nimble example issues (v5.3)
See merge request espressif/esp-idf!47074
2026-04-01 15:31:48 +05:30
Hu Rui
de40896138
test(i2c): with malloc comes from PSRAM by default
2026-04-01 15:57:19 +08:00
Island
14a34187b8
Merge branch 'bugfix/fix_some_bluedroid_bugs_260121_v5.3' into 'release/v5.3'
...
Bugfix/fix some bluedroid bugs 260121 (5.3)
See merge request espressif/esp-idf!46981
2026-04-01 11:45:10 +08:00
morris
5bad5cbbcc
Merge branch 'ci/i2c_testcase_bypass' into 'release/v5.3'
...
ci(i2c): bypass the know failure case for deprecated driver
See merge request espressif/esp-idf!47158
2026-03-31 18:14:33 +08:00
Chen Chen
81bd79f7f9
ci(i2c): bypass the know failure case for deprecated driver
2026-03-31 17:14:08 +08:00
Junchi Chen
b6dbd467d8
fix(wifi): return specific error in API BPv5.3
2026-03-31 16:52:17 +08:00
Astha Verma
14447b4d69
fix(nimble): fix missing gatt caching header in examples
2026-03-31 12:33:12 +05:30
Sumeet Singh
b99e5ed88d
fix(nimble): Fix enc adv NVS struct and add ext adv support
2026-03-31 12:33:12 +05:30
Shreeyash Bhakare
19817236bb
fix(nimble): fix CODED PHY ext adv Packet Too Long by using min interval (20 ms)
2026-03-31 12:33:12 +05:30
Rahul Tank
491979b6d7
fix(nimble): Correct adv_list_init / deinit during nimble init / deinit
2026-03-31 12:33:12 +05:30
zhiweijian
76bde71856
fix(bt/bluedroid): Fixed AddCharacteristic failed when attr_len is zero for AUTO_RSP
2026-03-31 12:02:55 +08:00
zhiweijian
8ddc643e97
fix(ble/bluedroid): Fixed bluedrodi CI build error
2026-03-31 11:56:39 +08:00
Wang Meng Yang
e8a2b615f8
Merge branch 'bugfix/bt_idf_ci_v5.3' into 'release/v5.3'
...
fix(bt/example): Fixed the HFP printing issue in the CI test (v5.3)
See merge request espressif/esp-idf!47081
2026-03-31 09:44:21 +08:00
Rahul Tank
010c271d1e
Merge branch 'bugfix/send_conn_cancel_simul_v5.3' into 'release/v5.3'
...
fix(nimble): Issue connect cancel in case of outstanding master connection (v5.3)
See merge request espressif/esp-idf!46693
2026-03-30 22:19:20 +05:30
luoxu
1e31cc4b9d
remove(ble_mesh): deprecate the tinycrypt library within the Bluetooth Mesh component
2026-03-31 00:06:16 +08:00
zhiweijian
bf804b2181
change(ble/bluedroid): Disable the built-in Bluedroid cryptographic implementation
2026-03-31 00:06:16 +08:00
ShenWeilong
790c71f79a
change(bt): use BT_SMP_CRYPTO_STACK_MBEDTLS to select bt cryption lib
2026-03-31 00:06:16 +08:00
Rahul Tank
5bcec448cc
fix(nimble): Issue connect cancel in case of outstanding master connection
2026-03-30 17:14:55 +05:30
Island
290622fad2
Merge branch 'feat/support_run_time_alloc_for_esp_ip_test_v5.3' into 'release/v5.3'
...
Support Mempool Run Time Allocation for ESP IP Chips (v5.3)
See merge request espressif/esp-idf!46821
2026-03-30 19:18:45 +08:00
morris
6b108966af
Merge branch 'ci/ease_restrictions_of_legacy_adc_test_v5.3' into 'release/v5.3'
...
ci(legacy_adc_dac): ease ADC read restriction (v5.3)
See merge request espressif/esp-idf!47117
2026-03-30 17:35:49 +08:00
Island
c6c5766137
Merge branch 'feat/allow_creat_vendor_descriptor_by_service_table_v5.3' into 'release/v5.3'
...
feat(ble/bluedroid): Allow add vendor descriptor by service table create API (5.3)
See merge request espressif/esp-idf!47040
2026-03-30 17:01:44 +08:00
Island
58a3d266c8
Merge branch 'feat/support_adv_monitor_for_bluedroid_host_v5.3' into 'release/v5.3'
...
feat(ble/bluedroid): support adv monitor feature (5.3)
See merge request espressif/esp-idf!47035
2026-03-30 17:01:19 +08:00
zhiweijian
82c4f85e5f
fix(ble/bluedroid): Fixed build error due to rebase conflict
2026-03-30 16:41:54 +08:00
zhiweijian
0598eaba64
disable some parameters check in CTE APIs
2026-03-30 16:40:54 +08:00
luoxu
6bafc36b10
fix(ble/bluedroid): Change BLE mesh adapter to use BTA APIs
2026-03-30 16:40:54 +08:00
zhiweijian
6326d4629b
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:40:54 +08:00
Zhi Wei Jian
317da12550
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:40:54 +08:00
Zhi Wei Jian
4b4c493a45
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:40:54 +08:00
Zhi Wei Jian
e3410cbcae
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:40:53 +08:00
Zhi Wei Jian
a3755ca1a6
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:40:53 +08:00
Zhi Wei Jian
91411aefab
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:40:53 +08:00