Zhang Hai Peng
db30b36157
feat(ble/bluedroid): Add BLE SMP support for multi-ADV with static random addresses
...
(cherry picked from commit 7986e2faa8 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-06-18 10:24:51 +08:00
Zhang Hai Peng
48f1392518
refactor(bt): migrate bt_hci_to_btsnoop to esp-pylib
...
Replace argparse with rich-click and use esp_pylib.logger for
standardized console output and fatal error handling.
(cherry picked from commit 3a7896f2c5 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-06-16 15:34:06 +08:00
Zhang Hai Peng
a1d964122e
fix(bt): Suppress gattc drop-notif warning for unregistered gatt_if
...
GATT stack broadcasts notifications to every client app, so unregistered
gatt_if instances were flooding logs even when another app had registered
the handle. Only warn when no client app registered for the handle.
(cherry picked from commit c18c8dc5e7 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-06-10 15:24:39 +08:00
Zhang Hai Peng
6f8ea23bca
fix(ble/bluedroid): Propagate create_attr_tab BTA failures in inter_cb
...
(cherry picked from commit 4f8027da11 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-06-02 10:23:59 +08:00
Zhang Hai Peng
471e6e159c
fix(ble/bluedroid): Validate signed-write perm vs AUTH in attr table check
...
(cherry picked from commit fce3fa337a )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-06-02 10:23:58 +08:00
Zhang Hai Peng
0e5041ddf7
docs(bt): clarify BLE TX power priority and granularity
...
(cherry picked from commit 4ab49f267b )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-06-02 10:23:35 +08:00
Zhang Hai Peng
a51727fbb1
docs(bt): clarify GATT client auth_req may trigger SMP
...
(cherry picked from commit 43734e7d7b )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-06-02 10:23:35 +08:00
Zhang Hai Peng
5e0f01efb2
docs(bt/bluedroid): add usage note for esp_ble_get_cur_sendable_packets_num
...
(cherry picked from commit 27fc241384 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-06-02 10:23:35 +08:00
Zhang Hai Peng
e84ff21451
feat(ble/bluedroid): add auto-setting for is_aux parameter in esp_ble_gattc_enh_open
...
(cherry picked from commit 1a9f2af505 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-06-02 10:23:34 +08:00
Zhang Hai Peng
0c95d3abdb
doc(ble/bluedroid): clarify callback notes to avoid time-consuming ops
...
(cherry picked from commit 4590b4bb34 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-06-02 10:23:34 +08:00
Zhang Hai Peng
6c6a5ab648
fix(ble/bluedroid): Ensure HIGH_DUTY_ADV_INTERVAL config is applied in stack
...
(cherry picked from commit 82c5c1fef3 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-06-02 10:23:33 +08:00
Zhang Hai Peng
8147cb5708
fix(bt): Add default BLE controller funcs reset enable
...
(cherry picked from commit 7c1cb4b296 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-06-02 10:14:22 +08:00
Zhang Hai Peng
0a5d37dbc6
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(51d9dfde)
...
- improve coded PHY performance under Wi-Fi coexistence
(cherry picked from commit 8da824cd0e )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-05-28 11:24:23 +08:00
Zhang Hai Peng
4a26c5b51b
fix(bt/bluedroid): validate handle in esp_ble_gattc_register_for_notify
...
(cherry picked from commit aa29772cbe1ec0fb1c5c6629dc5bf333a0194198)
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-05-15 11:03:56 +08:00
Zhang Hai Peng
bf64433a6b
feat(ble): Support BLE critical logs
...
(cherry picked from commit 0af57d731c )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-05-14 14:23:45 +08:00
Zhang Hai Peng
5592d4bfba
fix(bluedroid): correct format specifier in BLE create CIS debug log
...
(cherry picked from commit 519131a671 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-05-14 14:23:44 +08:00
zhanghaipeng
cf133455b6
fix(ble): Optimize connection interval minimum parameter check
2026-05-13 21:37:00 +08:00
Zhang Hai Peng
f68279de63
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(2f683593)
...
- Fixed read remote feature timeout when using coded phy
- Fixed disconnection issue(0x08) when using 125k coded phy
- Fixed disconnection issue(0x08) when updating connection param
- Fixed disconnection issue(0x08) when using multi connection
- Avoid error when adding duplicate device to whitelist
- Support disable channel assessment by vendor hci
- Support smaller connection interval (3.75 ms)
- Support duplicate exception list in EVT ADV
(cherry picked from commit 658ff8730b )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-05-13 21:37:00 +08:00
Zhang Hai Peng
da7dc7c0a8
fix(bt/bluedroid): fix BLE SMP pairing failure on BLE-only devices when using default param
...
(cherry picked from commit 74a053bd4e )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-04-21 11:53:53 +08:00
Zhang Hai Peng
7b1382a63e
fix(ble): Fixed BLE assert in "emi.c" when low memory
...
(cherry picked from commit e3aac6f703 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-03-23 17:53:19 +08:00
Zhang Hai Peng
086ebb7ccb
feat(examples/bluedroid): add BLE ACL latency measurement example
...
(cherry picked from commit 934970a06f )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-01-07 19:28:30 +08:00
zhanghaipeng
9ef7842daa
feat(ble/bluedroid): add periodic advertising create sync retry mechanism
2026-01-07 19:28:30 +08:00
Zhang Hai Peng
1af43047f6
docs(ble): add flow diagrams to bluedroid BLE examples
...
(cherry picked from commit 051077835c )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-01-07 19:28:30 +08:00
Zhang Hai Peng
a40ac062f4
refactor(examples/bluedroid): Replace hardcoded ADV type values with macros
...
(cherry picked from commit fdeb5ad87a )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-01-07 19:28:30 +08:00
Zhang Hai Peng
c92bd4679c
fix(bt/osi): add NULL check in osi_mutex_free and osi_sem_free (IDFGH-16853)
...
(cherry picked from commit 8630040602 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-01-07 19:28:30 +08:00
Zhang Hai Peng
07ed373646
fix(bt/bluedroid): fix UAF in bta_gattc_enqueue for search service command
...
(cherry picked from commit 6196298750 )
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 7cd2f7b34d )
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 b6aed7e1c8 )
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 643d9c2387 )
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 93cfbb8522 )
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 597fc6e5c1 )
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 a721e94a0f )
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 c762832600 )
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 a36bf7fe14 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-01-07 19:28:30 +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
zhanghaipeng
9b0f6330e8
fix(bt): Update esp32 libbtdm_app.a (15a18b1a)
...
- fix(ble): fixed BLE enable scan timeout
- fix(ble): fixed crash in "btdm_controller_task"
2026-01-04 12:21:04 +08:00
zhanghaipeng
c4cc87501b
fix(ble/bledroid): fix codespell issues in bluedroid code
2025-12-17 17:10:58 +08:00
Zhang Hai Peng and Zhang Shuxian
540b6bad34
docs: Update CN translation and improve formatting
...
(cherry picked from commit feff20614e )
Co-authored-by: Zhang Shuxian <zhangshuxian@espressif.com >
2025-12-11 16:21:48 +08:00
Zhang Hai Peng
c3c6304091
feat(ble/blufi): Support setting BLE encryption for blufi
...
(cherry picked from commit 60a028fb17 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-11 16:21:47 +08:00
Zhang Hai Peng
d28b874e35
fix(ble/bluedroid): Fix security issues in GATT module
...
(cherry picked from commit f502b2aab1 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-03 11:54:24 +08:00
Zhang Hai Peng
ef96110b4d
fix(ble/bluedroid): Fix security issues in HCI module
...
(cherry picked from commit b163685c06 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-03 11:54:23 +08:00
Zhang Hai Peng
7c7f30aa09
fix(ble/bluedroid): Fix security issues in GAP module
...
(cherry picked from commit 1ed5a4465d )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-03 11:54:22 +08:00
Zhang Hai Peng
569854b55a
fix(ble/bluedroid): Add length check in prepare write response
...
(cherry picked from commit b03ff3cf21 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-03 11:54:22 +08:00
Zhang Hai Peng
1936ba80d7
fix(ble/bluedroid): Add boundary check for adv_handle in btm_ble_adv_set_terminated_evt
...
(cherry picked from commit d2baf3b0d4 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-03 11:54:21 +08:00
Zhang Hai Peng
8739a2d82b
fix(ble/bluedroid): Fix VLA in a2dp_gatts_coex example
...
(cherry picked from commit e741f09e0f )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-03 11:54:20 +08:00
Zhang Hai Peng
1ab91f0b5f
fix(ble/bluedroid): Add NULL checks in GATT APIs
...
(cherry picked from commit a6730c7da6 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-03 11:54:20 +08:00
Zhang Hai Peng
8960e3ef50
fix(ble/bluedroid): Add NULL checks in esp_gap_ble_api
...
(cherry picked from commit b71c51564a )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-03 11:54:19 +08:00
Zhang Hai Peng
8ef83c2367
fix(ble/bluedroid): Add NULL check in esp_ble_gap_add_device_to_resolving_list
...
(cherry picked from commit 4b44d8e814 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-03 11:54:19 +08:00
Zhang Hai Peng
de2b4af5bd
fix(ble/bt): Add NULL check in esp_hid_device example
...
(cherry picked from commit 8e0f74a2cc )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-03 11:54:18 +08:00
Zhang Hai Peng
775b64753e
fix(ble/bt): Add NULL check in esp_hid_host example
...
(cherry picked from commit 8b5dd75368 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-03 11:54:17 +08:00
Zhang Hai Peng
f67bb6c31c
fix(ble/blufi): Add DH param length validation
...
(cherry picked from commit 773814c087 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-03 11:54:17 +08:00
Zhang Hai Peng
dedf21c0ae
fix(ble/bluedroid): Fix memory leak in ble_spp_server example
...
(cherry picked from commit b6b3b81bf6 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-03 11:54:16 +08:00
Zhang Hai Peng
45835b025f
fix(ble/bluedroid): Use calloc in gatt_server example
...
(cherry picked from commit e26b60090d )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-03 11:54:16 +08:00
Zhang Hai Peng
7ca7eb47c4
fix(ble/bluedroid): Use snprintf in ble_eddystone example
...
(cherry picked from commit 24e023e307 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-03 11:54:15 +08:00
Zhang Hai Peng
9112b87c19
fix(ble/bluedroid): Add bounds check in ble_ancs example
...
(cherry picked from commit 7e876249df )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-03 11:54:15 +08:00
Zhang Hai Peng
316c5a589a
fix(ble/bluedroid): Fix potential out-of-bounds issue
...
- add length check in hci_hal_h4_hdl_rx_packet to prevent OOB
- add adv data length check in btm_ble_cache_adv_data
- add indicate data length check in BTA_GATTS_HandleValueIndication
- add report length check in bta_hh_parse_keybd_rpt
- add report length check in BTA_HdSendReport
- add descriptor length check in BTA_HdRegisterApp
- prevent buffer overflow in attribute processing
(cherry picked from commit 71efec78c5 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-02 00:04:40 +08:00
Zhang Hai Peng
1d22e44e51
fix(ble/bluedroid): Fix potential CVE-2024-0039 out-of-bounds write in attp_build_value_cmd
...
- Reference: https://source.android.com/docs/security/bulletin/2024-03-01?hl=zh-cn
(cherry picked from commit e1d39f630f )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-02 00:04:40 +08:00
Zhang Hai Peng
e3f03bb165
fix(ble/bluedroid): Fix potential CVE-2020-0022 in reassemble_and_dispatch
...
- Reference: https://nvd.nist.gov/vuln/detail/CVE-2020-0022
(cherry picked from commit 1f7fd91b5a )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-02 00:04:40 +08:00
Zhang Hai Peng
131322d502
fix(ble/bluedroid): Fixed missing BLE connect and disconnect events
...
(cherry picked from commit 2dcbd64616 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-11-21 21:53:24 +08:00
Zhang Hai Peng
a3ff4beeb3
fix(ble/bluedroid): Fixed BLE incorrect device record count issue
...
(cherry picked from commit 9bfd9c5340 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-11-21 17:53:22 +08:00
zhanghaipeng
7c6d8e4761
feat(ble/bluedroid): Added BLE debug LOG for bluedroid
2025-11-14 11:17:17 +08:00
Zhang Hai Peng
8487639a87
feat(ble/bluedroid): add API to get local BLE IRK
...
(cherry picked from commit 3c68650d7e )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-10-21 17:53:20 +08:00
Zhang Hai Peng
fc1d5a8f9a
fix(ble/bluedroid): fix memory leak during deinit when service table is created but not started
...
(cherry picked from commit ddd12f2498282e147044d1fe532a51aeb18875f9)
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-10-17 16:45:50 +08:00
Zhang Hai Peng
cd793de75a
fix(ble/bluedroid): prevent crash when deinit/disable host during scan
...
Crash occurs if the BLE host is deinitialized or disabled while scanning is still active.
This usage is not recommended.
(cherry picked from commit ca2c78f53e )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-10-14 21:53:52 +08:00
Zhang Hai Peng
181cd0bee9
fix(ble/bluedroid): Fixed resolve adv data crash if host deinitialized or disabled
...
(cherry picked from commit 7ce921ed95 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-10-14 21:53:50 +08:00
Zhang Hai Peng
1c39449555
feat(blufi): Update BluFi document
...
(cherry picked from commit 3f4bedd3a5 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-09-09 11:52:30 +08:00
Zhang Hai Peng
3b95b50703
fix(bt): Update esp32 libbtdm_app.a (f1dc7d8)
...
- Improve ESP32 stability and security
(cherry picked from commit 8ec5410236 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-08-26 21:53:36 +08:00
Zhang Hai Peng
a2e44fffc8
docs(ble): add advisory for CVE-2025-55297 found in Blufi example
...
(cherry picked from commit 1952f0333c )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-08-25 17:53:39 +08:00
Zhang Hai Peng and Cody
14dcf57fb1
fix(ble/bluedroid): Update Gatt_Server_Service_Table_Example_Walkthrough.md
...
(cherry picked from commit 6b360dacf6 )
Co-authored-by: Cody <codyhubman4@gmail.com >
2025-08-15 14:54:12 +08:00
Zhang Hai Peng and BLKDASH
9c2b36b0c1
fix(ble/bluedroid): Fixed the problem of macro definition error
...
(cherry picked from commit 6b212c7d47 )
Co-authored-by: BLKDASH <128231495+BLKDASH@users.noreply.github.com >
2025-08-15 14:54:10 +08:00
Zhang Hai Peng
91ef2747b6
fix(ble/bluedroid): Fixed potential out-of-bounds memory access when resolve adv data
...
(cherry picked from commit 12df54e8d1 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-08-15 14:54:07 +08:00
Zhang Hai Peng
c64d9bc3e3
fix(bt/ble): Update esp32 libbtdm_app.a (722c907a)
...
- Fixed bt hci event was not report to host when hci command was sent
(cherry picked from commit 155c32be20 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-08-04 11:53:35 +08:00
Zhang Hai Peng
315cc8f503
fix(ble/bluedroid): set sec_conn only on successful pairing in ble_hid_device_demo
...
(cherry picked from commit 50fe55ca59 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-07-29 21:53:41 +08:00
Zhang Hai Peng
5cf3be2eae
fix(ble/bluedroid): Fixed fail to disconnect when device record is cleared
...
(cherry picked from commit b6dc79af47 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-07-25 21:54:16 +08:00
Zhang Hai Peng
e95dfc2964
fix(ble/bluedroid): fix incorrect resolving_list_avail_size update
...
(cherry picked from commit ac385530af )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-07-25 21:54:14 +08:00
Zhang Hai Peng
24ea9693ce
fix(ble/bluedroid): ensure resolving list is updated when the oldest device is removed
...
(cherry picked from commit 61606a6f95 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-07-25 21:54:11 +08:00
Zhang Hai Peng
7c757b7f45
fix(ble/bluedroid): Fix issue causing BTM_GetSecurityFlags failed
...
(cherry picked from commit 48235c7b25 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-07-25 21:54:09 +08:00
Zhang Hai Peng
6434f7f82e
fix(bt/ble): Update esp32 libbtdm_app.a (3a27e2e)
...
- Optimize check Access Address when receive connection request PDU
(cherry picked from commit a663a87fe0 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-07-24 19:44:09 +08:00
Zhang Hai Peng
4e6f18cfe2
fix(ble/bluedroid): fix build failure when some BLE features are disabled
...
(cherry picked from commit a29cd4ad5f )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-06-25 11:53:47 +08:00
zhanghaipeng
4fd109860b
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(4713a69)
...
- Fixed double free exception during BLE init under low memory
2025-06-17 21:03:32 +08:00
Zhang Hai Peng
f19263a97c
fix(ble/bluedroid): Fixed BLE SMP state machine inconsistency on disconnection
...
(cherry picked from commit 99121258d4 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-06-04 17:13:49 +08:00
Zhang Hai Peng
7f8290e911
feat(ble/bluedroid): Include SMP state in BLE status reporting
...
(cherry picked from commit de9a367f13 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-06-04 17:13:47 +08:00
Zhang Hai Peng
30859ceaff
fix(ble/bluedroid): Fixed null pointer assert in l2c_link_check_send_pkts
...
(cherry picked from commit 8150573012 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-06-03 12:13:42 +08:00
Zhang Hai Peng
d7216d221b
fix(ble/bluedroid): Fixed clear BLE device recored
...
(cherry picked from commit 21391a45fd )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-05-27 15:14:02 +08:00
Zhang Hai Peng
80c5fd1836
fix(ble/bluedroid): Fixed issue with deleting link key when classic Bluetooth is not used
...
(cherry picked from commit 7c16bce827 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-05-27 15:13:59 +08:00
Zhang Hai Peng
43ff2531ab
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(4713205)
...
- Fix: Missing ADV reports after bonding and connection
(cherry picked from commit 244d4f8fa7 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-05-20 11:13:38 +08:00
Zhang Hai Peng
2de265b3e7
fix(ble/bluedroid): Reduce Bluedroid host log output over SPI
...
(cherry picked from commit 0586d10317 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-05-13 16:14:30 +08:00
Zhang Hai Peng and Nebojsa Cvetkovic
953fe222ec
fix(ble/bluedroid): Added value len check in esp_ble_gatts_send_indicate()
...
(cherry picked from commit bfa0fff2e5 )
Co-authored-by: Nebojsa Cvetkovic <nebkat@gmail.com >
2025-05-13 16:14:28 +08:00
Zhang Hai Peng
70f19793f8
fix(ble/bluedroid): Change maximum length of attribute value to 517
...
(cherry picked from commit df8c1f7a96 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-05-13 16:14:25 +08:00
Zhang Hai Peng
0b2f639c62
docs(ble): clarify meaning of 0 value for esp_ble_gap_start_ext_scan() parameters
...
(cherry picked from commit ebb76933d0 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-05-13 16:14:23 +08:00
Zhang Hai Peng
a3cb7f4404
fix(ble/bluedroid): Fixed BLE GAP appearance configuration check
...
(cherry picked from commit 6552854cb5 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-05-13 16:14:20 +08:00
zhanghaipeng
55043e280a
feat(ble/bluedroid): Implement BLE channel map reading API
2025-03-27 17:00:16 +08:00
zhanghaipeng
a9286567f0
fix(ble/bluedroid): Fix potential uint32_t overflow in BLE btu_start_timer
2025-03-27 16:59:12 +08:00
zhanghaipeng
6becf74cbb
fix(ble/bluedrooid): Fixed memory leak issue when deinit the host
2025-03-27 16:59:12 +08:00
zhanghaipeng
d6bb90b453
feat(bluedroid): Support get bt config path
2025-03-27 16:59:12 +08:00
zhanghaipeng
f291725936
fix(ble/bluedroid): Fix missing event reporting in esp_ble_create_sc_oob_data
2025-03-27 16:59:12 +08:00
zhanghaipeng
9dfa6ab0e9
fix(ble/bluedroid): Fixed BLE crash when disable bluedroid host
2025-03-27 16:59:12 +08:00
zhanghaipeng
dcc26e3e4f
feat(ble/bluedroid): Support read periodic advertiser list size command
2025-03-04 15:44:27 +08:00