Commit Graph

5953 Commits

Author SHA1 Message Date
Alexey Lapshin
37bdc6a827 Merge branch 'fix/bt__unused-but-set-variable_warnings' into 'master'
fix(bt): fix unused-but-set-variable warnings

See merge request espressif/esp-idf!50657
2026-07-15 13:01:45 +04:00
Rahul Tank
4ec87dabad Merge branch 'bugfix/fix_bond_store_overflow' into 'master'
fix(nimble): Fix bond-store overflow when IRK is enabled

See merge request espressif/esp-idf!50584
2026-07-14 11:17:27 +05:30
Island
36d4af40ad Merge branch 'bugfix/fix_bluedroid_read_multi' into 'master'
fix(ble/bluedroid): fix GATT Read Multiple response handling

Closes BLERP-2900

See merge request espressif/esp-idf!49690
2026-07-14 10:28:41 +08:00
Island
fb195f7b50 Merge branch 'bugfix/fix_bluedroid_ext_adv_param_fail_state' into 'master'
fix(ble/bluedroid): preserve ext adv state when set params fails

Closes BLERP-2962 and IDFGH-17144

See merge request espressif/esp-idf!50470
2026-07-14 10:28:30 +08:00
Wang Meng Yang
4387c693bb Merge branch 'feat/add_lmp_dbg_vendor' into 'master'
feat(bt/controller): Added LMP debug vendor HCI and fixed some bugs ts on ESP32-S31

See merge request espressif/esp-idf!50633
2026-07-14 07:50:25 +08:00
liqigan
1b49e48bfd feat(bt/controller): Added LMP debug vendor HCI and fixed some bugs ts on ESP32-S31 2026-07-13 15:15:59 +08:00
Alexey Lapshin
46ddc0f4b2 fix(bt): fix unused-but-set-variable warnings 2026-07-13 12:01:15 +07:00
Zhi Wei Jian
2e6cbccd55 Merge branch 'feat/support_bluedroid_dual_identify' into 'master'
feat(ble/bluedroid): Support bluedroid dual indentify

See merge request espressif/esp-idf!49640
2026-07-13 10:03:39 +08:00
zhiweijian
2358786647 feat(ble/bluedroid): Support bluedroid dual identity 2026-07-10 17:57:09 +08:00
Rahul Tank
8855b69189 fix(nimble): Fix bond-store overflow when IRK is enabled 2026-07-10 10:55:50 +05:30
zhiweijian
abbf001120 fix(ble/bluedroid): use BOOLEAN for BLE HCI command builders 2026-07-10 10:57:19 +08:00
zhiweijian
4fd1ebb4a9 fix(ble/bluedroid): clean up LE CoC connect on CCB alloc failure 2026-07-10 10:57:10 +08:00
zhiweijian
34b59d30ae docs(ble/bluedroid): note ISO BIG HCI alloc failure not checked 2026-07-10 10:56:59 +08:00
zhiweijian
82e71c1767 fix(ble/bluedroid): fix direct-connect cleanup and adv bounds 2026-07-10 10:56:47 +08:00
zhiweijian
93ab11d564 fix(ble/bluedroid): validate BLE confirm/OOB and sec-check device 2026-07-10 10:56:38 +08:00
zhiweijian
98efe02385 fix(ble/bluedroid): validate SMP pair-fail reason and OOB device 2026-07-10 10:56:25 +08:00
zhiweijian
6c3267ee84 fix(ble/bluedroid): route ATT indication-conf timeout separately 2026-07-10 10:55:59 +08:00
zhiweijian
bb00b9817d fix(ble/bluedroid): validate ATT PDU sizes 2026-07-10 10:55:39 +08:00
zhiweijian
37562af0ea fix(ble/bluedroid): re-lookup GATT TCB after enc-complete callback 2026-07-10 10:55:29 +08:00
zhiweijian
4ce692ac0c fix(ble/bluedroid): fix GATT long read and Service Changed CCC 2026-07-10 10:54:53 +08:00
zhiweijian
ac35ae6f2d fix(ble/bluedroid): validate GATT client discovery handles 2026-07-10 10:54:38 +08:00
zhiweijian
27ff0cf8c7 fix(ble/bluedroid): cap Read By Type length and free failed service decl 2026-07-10 10:54:30 +08:00
zhiweijian
995c1508e8 fix(ble/bluedroid): guard GATT database hash and serialization 2026-07-10 10:54:21 +08:00
zhiweijian
f86739b03d fix(ble/bluedroid): fix GATT server busy errors and sr_cmd handling 2026-07-10 10:54:07 +08:00
zhiweijian
0645ba469d fix(ble/bluedroid): fix GATT teardown and service-change flow 2026-07-10 10:53:21 +08:00
zhiweijian
ac93d94958 fix(ble/bluedroid): fix GATT service lifecycle leaks 2026-07-10 10:53:01 +08:00
zhiweijian
b83327f3ca fix(ble/bluedroid): add GATT resource-cleanup helpers 2026-07-10 10:52:43 +08:00
Wang Meng Yang
607f6d09ed Merge branch 'feat/support_bluedroid_le_coc_and_eatt' into 'master'
feat(ble/bluedroid): Support bluedroid LE COC and EATT features

See merge request espressif/esp-idf!50171
2026-07-10 10:14:44 +08:00
yangfeng
156ea55ed1 fix(bt): Fix the validation of AVRCP metadata attr_id in handle_rc_attributes_rsp 2026-07-09 14:52:09 +08:00
zhiweijian
83f0831c53 feat(ble/bluedroid): Support bluedroid LE COC and EATT features 2026-07-09 14:03:01 +08:00
Rahul Tank
63943f4d8b Merge branch 'bugfix/ai_reviewer_nimble_1.6' into 'master'
fix(nimble): Fixes for AI reported issues

See merge request espressif/esp-idf!50012
2026-07-08 13:55:54 +05:30
Wang Meng Yang
0a3ccbc151 Merge branch 'bugfix/smp_sec_flags' into 'master'
fix(bt/bluedroid): fixed several security issues from NVIDIA

Closes SEC-084, SEC-713, SEC-1143, SEC-1153, SEC-1164, and SEC-1169

See merge request espressif/esp-idf!50200
2026-07-08 12:41:25 +08:00
Wang Meng Yang
7bfe369f86 Merge branch 'bugfix/bug_bounty_av' into 'master'
fix(bt/bluedroid): Fix bug bounty issues about A/V from NVIDIA

Closes SEC-1186 and SEC-1187

See merge request espressif/esp-idf!50318
2026-07-08 11:18:23 +08:00
zhanghaipeng
72a49ed53b fix(ble/bluedroid): downgrade numeric comparison log to warning 2026-07-08 11:03:36 +08:00
zhanghaipeng
31bd80fee8 fix(ble/bluedroid): preserve ext adv state when set params fails
Only update extend_adv_cb after HCI Set Extended Advertising
Parameters succeeds, so a failed update does not corrupt cached
legacy_pdu and related fields used by adv data validation.
2026-07-08 10:53:56 +08:00
Rahul Tank
6d835d5226 fix(nimble): Fixes for AI reported issues 2026-07-07 15:45:24 +05:30
chenqingqing
9fbebf293d fix(bt): clarify BR/EDR TX power behavior in menuconfig help 2026-07-07 15:39:26 +08:00
chenqingqing
e42038bad2 fix(bt): validate BR/EDR TX power against chip-supported range
The TX power range configurable in menuconfig only describes the maximum possible range.
Add a function to report the real range, and validate the configured BR/EDR TX power values during conroller init.
2026-07-06 20:45:21 +08:00
Jiang Jiang Jian
309b3e82ec Merge branch 'fix/ble_mesh_disable_adv_pkt_discard_log' into 'master'
fix(ble_mesh): Disable warning logging when advertising packets are discarded

Closes BLERP-2945

See merge request espressif/esp-idf!50146
2026-07-06 15:13:06 +08:00
Jiang Jiang Jian
9126adadb9 Merge branch 'fix/ble_mesh_fixed_issues' into 'master'
Resolve NVIDIA-reported BLE mesh stack issues

Closes SEC-1116, SEC-1069, SEC-761, SEC-1068, SEC-1130, and SEC-1185

See merge request espressif/esp-idf!50176
2026-07-06 15:09:30 +08:00
Wang Meng Yang
cbe15485ce Merge branch 'bugfix/fix_some_ctrl_bugs' into 'master'
fix(bt/controller): Fixed BR/EDR controller bugs found by regression tests on ESP32-S31

Closes BTQABR2023-776, BTQABR2023-786, BTQABR2023-800, BT-4378, BT-4381, and BT-4386

See merge request espressif/esp-idf!50251
2026-07-06 08:56:39 +08:00
luoxu
9a3a767824 fix(ble_mesh): re-check scan dev-found cb before scan-rsp invocation 2026-07-03 17:21:14 +08:00
yangfeng
04282840e7 fix(bt/bluedroid): Fix unchecked p_ctrl_cback and p_msg_cback in AVRC
Closes SEC-1186
2026-07-03 17:04:19 +08:00
yangfeng
d293336dd5 fix(bt/bluedroid): Fix missing NULL check on p_cfg in AVDT_ReconfigReq
Closes SEC-1187
2026-07-03 17:04:19 +08:00
luoxu
781d6b2314 fix(ble_mesh): comment out logs containing sensitive keys 2026-07-03 16:57:15 +08:00
liqigan
6b8073f901 fix(bt/controller): Fixed BR/EDR controller bugs found by regression tests on ESP32-S31
- Fixed the state machine issue caused by security related LMP procedures on ESP32-S31
- Fixed the issue of insufficient air time for ACK reception from the Central on ESP32-S31
- Fixed the page scan collision issue on ESP32-S31
- Fixed read failures for local supported features and extended features on ESP32-S31
- Fixed NULL access issue during SYNC disconnection on ESP32-S31
- Fixed ACL schedule issue during SYNC connection establishment on ESP32-S31
2026-07-03 16:36:10 +08:00
luoxu
eb47e8ab18 fix(ble_mesh): Disable warning logging when advertising packets are discarded 2026-07-03 15:43:01 +08:00
Rahul Tank
2453200f60 fix(nimble): Defer Events / ATT related information from stack
Defer Events/ ATT related GAP events from stack until connection
 event is sent to GAP layer
2026-07-03 11:13:09 +05:30
luoxu
912ec8dc62 fix(ble_mesh): validate PB-ADV start segment length 2026-07-03 12:14:21 +08:00
luoxu
2c4acaa2aa fix(ble_mesh): Reset reassembly buffer at start of each transaction
The reassembly buffer must be reset to its origin at the beginning of every
transaction. prov_msg_recv() pulls the PDU type byte (advancing buf->data by
one) and nothing restores it between transactions. Without this reset,
buf->data drifts forward by one byte per received PDU, causing the segment-0
memcpy to write past the end of the statically allocated rx buffer
(PROV_RX_BUF_SIZE), and the XACT_SEG_DATA() offsets used for continuation
segments to be skewed by the accumulated drift.
2026-07-03 12:14:21 +08:00