Commit Graph

3306 Commits

Author SHA1 Message Date
Wang Meng Yang
6d63daac84 Merge branch 'feature/add_api_to_send_vendor_hci_cmd_v5.0' into 'release/v5.0'
Feature/add api to send vendor hci cmd v5.0 (backport v5.0)

See merge request espressif/esp-idf!30227
2024-04-16 17:49:01 +08:00
Jiang Jiang Jian
3fdc794f5d Merge branch 'bugfix/spp_crash_after_deint_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Fixed SPP crash due to the connection not being disconnected before esp_spp_deinit was called(v5.0)

See merge request espressif/esp-idf!30083
2024-04-15 11:55:09 +08:00
zhiweijian
70f84cfca9 fix(ble/bluedroid): Fixed adv not restart due to disconnection reason 0x3e 2024-04-13 15:53:20 +08:00
zhiweijian
c755433922 feat(bt/common): Add bluerooth hci layer data stream record 2024-04-13 15:44:27 +08:00
zhiweijian
57665f7246 feat(bt/bluedroid): add api to setnd vendor hci command 2024-04-13 14:13:43 +08:00
zhiweijian
304be189d8 fix(ble/bluedroid): fixed bluedroid host DTM API 2024-04-13 14:13:26 +08:00
zhiweijian
1e72b8b803 feat(ble/bluedroid): Add APIs for BLE direct test mode on bluedroid host 2024-04-13 14:13:04 +08:00
Rahul Tank
debefe9c70 fix(nimble): Fix compilation issues when CCCD is set to 0 2024-04-12 12:36:14 +05:30
xiongweichao
eab0acdb3c fix(bt/bluedorid): Fixed crash caused by using illegal pointer 2024-04-12 09:13:43 +08:00
xiongweichao
da2a32fbad fix(bt/bluedorid): Fixed no event when removing an invalid SDP record 2024-04-12 09:13:43 +08:00
Rahul Tank
6a10821296 fix(nimble): Fix for Vulnerability CVE_2024_24746 2024-04-11 20:02:49 +05:30
Rahul Tank
c34f7a95be fix(nimble): Add support for data length change evt 2024-04-11 12:34:05 +05:30
xiongweichao
350a248a7f fix(bt/bluedroid): Fix SPP crash after deinit
- The disconnection event comes up after spp disable is completed, so a null pointer is used.
2024-04-10 20:11:27 +08:00
Rahul Tank
5b5777f40c fix(nimble): Fix the size of num_packets in dtm event 2024-04-09 19:02:48 +05:30
Island
bc4c4fe06a Merge branch 'bugfix/ble_mesh_heartbeat_filter_add_v5.0' into 'release/v5.0'
Fix(ble_mesh):fix error condition for heartbeat filter adding node address (v5.0)

See merge request espressif/esp-idf!29988
2024-04-09 16:11:50 +08:00
luoxu
7927e444b2 fix(ble_mesh): fix error condition for heartbeat filter adding node address 2024-04-08 14:28:21 +08:00
Rahul Tank
ff8f433583 fix(nimble): Remove extra code in reattempt connection 2024-04-05 22:03:14 +05:30
Rahul Tank
d859008ae5 Merge branch 'feat/add_vs_hci_cmd_evt_v5.0' into 'release/v5.0'
feat(nimble): Add APIs to handle vs HCI commands and events (v5.0)

See merge request espressif/esp-idf!29997
2024-04-03 14:41:32 +08:00
Island
2796f0162f Merge branch 'bugfix/ble_bugfix_for_esp32c2' into 'release/v5.0'
ble: update esp32c2 lib to 7a428d35

See merge request espressif/esp-idf!29991
2024-04-03 12:39:55 +08:00
Jiang Jiang Jian
3cf0a49d52 Merge branch 'fix/rd_stored_link_key_error_v5.0' into 'release/v5.0'
fix(bt): fix some issues in bt controller(backport v5.0)

See merge request espressif/esp-idf!29976
2024-04-03 10:22:57 +08:00
Rahul Tank
94bc0df521 feat(nimble): Add APIs to handle vs HCI commands and events 2024-04-02 15:22:57 +05:30
cjin
4d648f6330 feat(ble): add cca related config in c6, h2 and c2 2024-04-02 12:12:24 +08:00
cjin
4c05613b33 change(ble): support ble light sleep using ext 32k xtal on C2 2024-04-02 12:11:16 +08:00
zwl
909393befc ble: update esp32c2 lib to 7a428d35 2024-04-02 12:04:43 +08:00
gongyantao
f3133d1590 fix(bt): fix some issues in bt controller
1: fixed the incorrect timeing in reporting HCI_Link_Key_Type_Changed.
2: fixed the incorrect iv value during resuming encryption.
3: fixed the incorrect return with hci command rd_stored_link_key.
2024-04-02 09:39:32 +08:00
Rahul Tank
9ac19fbad6 fix(nimble): Change reconnection scheme 2024-04-01 17:23:29 +05:30
Jin Cheng
54d0912307 change(bt/bluedroid): Use BTC util to convert HCI status to ESP status 2024-03-28 11:05:22 +08:00
Island
4171186f8e Merge branch 'bugfix/BT-3491_v5.0' into 'release/v5.0'
bugfix(ble_mesh): Avoid provisioner handling messages from nodes that have...(v5.0)

See merge request espressif/esp-idf!28051
2024-03-25 12:11:31 +08:00
wangjialiang
92aebb963a update invalid links in the ble mesh example documentation 2024-03-21 11:13:14 +08:00
luoxu
2abccdb3d3 bugfix(ble_mesh): Avoid provisioner handling messages from nodes that have already left the network. 2024-03-21 11:13:14 +08:00
Darshan Dobariya
fd1c60b9f9 fix(nimble): Added support for deleting the oldest bonded device across reboot (v5.0) 2024-03-20 15:14:04 +05:30
Jiang Jiang Jian
55adcbf919 Merge branch 'bugfix/struct_init_order_blemesh_v5.0' into 'release/v5.0'
ble_mesh: example: fix the structure init order to meet C++ requirements(backport v5.0)

See merge request espressif/esp-idf!28930
2024-03-19 14:20:22 +08:00
Jiang Jiang Jian
a82f02ae47 Merge branch 'feat/move_ag_cb_malloc_to_btc_v5.0' into 'release/v5.0'
feat(bt/bluedroid): Moved the memory allocation of HF AG control blocks to BTC module (v5.0)

See merge request espressif/esp-idf!29633
2024-03-19 14:19:52 +08:00
linruihao
9277a80293 fix(bt/controller): Fixed some bugs in esp32 bt controller
1. fixed crash issue in coexist callback
2. fixed wrong LMP message send when expect peer device increase tx power to max
2024-03-15 19:08:58 +08:00
InfiniteYuan
d5f11597e6 ble_mesh: stack: fix the structure init order to meet C++ requirements 2024-03-14 16:20:36 +08:00
Jin Cheng
baf45b004e feat(bt/bluedroid): Moved the memory allocation of HF AG control blocks to BTC module 2024-03-14 10:53:48 +08:00
Darshan Dobariya
a00e268c70 fix(nimble): Added ble_host_rpa_enabled flag for address resoultion for esp32 (v5.0) 2024-03-12 12:20:05 +05:30
Rahul Tank
d39db5ede8 Merge branch 'feat/ble_gap_dev_auth_v5.0' into 'release/v5.0'
feat(nimble): Authorize or deauthorize a BLE device for a connection (v5.0)

See merge request espressif/esp-idf!29241
2024-03-12 12:51:29 +08:00
Jiang Jiang Jian
d388c85fd2 Merge branch 'bugfix/fix_some_ble_bugs_cjh_v5.0' into 'release/v5.0'
Fixed some BLE bugs 2403 (backport v5.0)

See merge request espressif/esp-idf!29467
2024-03-12 11:01:32 +08:00
Jiang Jiang Jian
ffdd5dc2fa Merge branch 'bugfix/fix_some_ble_bugs_240310_v5.0' into 'release/v5.0'
Bugfix/fix some ble bugs 240310 v5.0(backport v5.0)

See merge request espressif/esp-idf!29519
2024-03-12 11:01:14 +08:00
Darshan Dobariya
5a0a8a2c82 feat(nimble): Authorize or deauthorize a BLE device for a connection (v5.0) 2024-03-11 10:24:01 +05:30
zhanghaipeng
af28f8cfb5 fix(ble/bluedroid): Fixed BLE BLE periodic advertising parameter check 2024-03-10 20:04:44 +08:00
zhanghaipeng
3221583d2f fix(ble/bluedroid): Fixed BLE crash when repeatedly initialize and deinitialize host 2024-03-10 20:04:44 +08:00
Rahul Tank
9f47994989 fix(nimble): Handle memory leak in callout deinit 2024-03-08 20:31:46 +05:30
Abhinav Kudnar
ff4004f977 fix(nimble): Revise the help section for the Kconfig macro BLE_RPA_TIMEOUT 2024-03-08 11:33:39 +05:30
chenjianhua
727e351b35 feat(bt/bluedroid): Add ext adv and privacy status check 2024-03-08 09:29:55 +08:00
thekurtovic
221d33cee0 fix(bt/bluedroid): Fixed "reprot" typo in esp_ble_gap_ext_adv_reprot_t 2024-03-08 09:29:55 +08:00
Joshua
c3aa6c6700 fix(bt/blufi): Fixed BluFi module link error(C++ hybrid compilation) 2024-03-08 09:29:55 +08:00
chenjianhua
380679a387 fix(bt/bluedroid): Fixed crash when calculating GATTS database hash 2024-03-08 09:29:55 +08:00
chenjianhua
12d7e0467f fix(bt): Update bt lib for ESP32(5ea2fca)
- Fixed HCI command status event sending for disconnect command
- Fixed LE transmitter test command param check
2024-03-08 09:29:55 +08:00
Jin Cheng
b4cb3e5744 fix(bt/controller): Fixed 3 esp32 bt controller bugs
update esp32 bt-lib (952debf4)

1. Increased the length of queue for coexist requestions
2. fix(bt/controller): Cleared BT SNIFF when no connections exists
3. fix(bt/controller): Corrected a typo in coex module
2024-03-08 09:29:55 +08:00
chenjianhua
02544b8386 fix(bt): Update bt lib for ESP32(2de69f3)
- Fixed HCI command status event send when LLCP busy
2024-03-08 09:29:55 +08:00
Rahul Tank
8fcba94795 fix(nimble): Add support for esp_timer_get_expiry_time to nimble porting layer 2024-03-07 11:24:21 +05:30
Abhinav Kudnar
a3d5d1155b fix(nimble): Added the check to prevent address resolution in case of identity addr for esp32 2024-03-05 14:50:20 +05:30
Rahul Tank
17de25948c Merge branch 'bugfix/increase_reattempt_conn_count_v5.0' into 'release/v5.0'
fix(nimble): Increase range of reattempt connection count (v5.0)

See merge request espressif/esp-idf!29342
2024-03-04 19:44:44 +08:00
Jiang Jiang Jian
597a7d107c Merge branch 'bugfix/fix_ble_max_reconnect_v5.0' into 'release/v5.0'
fix(ble/bluedroid): Update maximum BLE reconnection attempts configuration(backport v5.0)

See merge request espressif/esp-idf!29222
2024-03-04 10:43:39 +08:00
Rahul Tank
41a50ca5ce fix(nimble): Increase range of reattempt connection count 2024-02-29 15:58:07 +05:30
Rahul Tank
effd2ededb fix(nimble): Add adv interval min/max range check (v5.0) 2024-02-29 11:02:41 +05:30
Island
b1992f1b84 Merge branch 'bugfix/ble_update_lib_20240223_v5.0' into 'release/v5.0'
update lib on release/v5.0

See merge request espressif/esp-idf!29208
2024-02-28 16:54:25 +08:00
Jiang Jiang Jian
462dfaf45c Merge branch 'change/reduce_usage_of_iram_when_bt_in_single_mode_v5.0' into 'release/v5.0'
change(bt/bluedroid): Redirect app functions in controller based on the bluetooth mode(backport v5.0)

See merge request espressif/esp-idf!29226
2024-02-28 10:35:38 +08:00
Darshan Dobariya
9e34b224b1 fix(nimble): Fix compilation issue in nimble for -O2 flag 2024-02-27 13:54:50 +05:30
Sumeet Singh
a125c073a0 fix(nimble): Out of order messages during SMP causing DOS vulerability (v5.0) 2024-02-27 10:56:40 +05:30
zwl
3389b68ba9 bugfix(ble) : fixed some ble issues on ESP32-C2 2024-02-27 09:12:29 +08:00
zwl
69b6af9ea9 ble(update):
Update c2 lib to 79be7ec9
2024-02-27 09:12:29 +08:00
zhanghaipeng
b354d97795 fix(ble/bluedroid): Update maximum BLE reconnection attempts configuration 2024-02-27 09:12:12 +08:00
Rahul Tank
3211fa200e fix(nimble): Added API to get current stack operation status (v5.0) 2024-02-26 12:08:18 +05:30
gongyantao
9b605ab112 change(bt/bluedroid): Redirect app functions in controller based on the bluetooth mode 2024-02-23 19:07:12 +08:00
Rahul Tank
6977aa0583 Merge branch 'feat/add_dtm_function_support_v5.0' into 'release/v5.0'
feat(nimble): Add APIs to support BLE DTM functions (v5.0)

See merge request espressif/esp-idf!27144
2024-02-23 12:48:29 +08:00
Jiang Jiang Jian
66d71efb87 Merge branch 'bugfix/update_spp_doc_v5.0' into 'release/v5.0'
docs(bt/bluedroid): update API documents of SPP (v5.0)

See merge request espressif/esp-idf!29172
2024-02-23 11:15:03 +08:00
Jiang Jiang Jian
7a649e80c1 Merge branch 'feat/support_get_bluedroid_status_v5.0' into 'release/v5.0'
Support get status of bluedroid host (backport v5.0)

See merge request espressif/esp-idf!28883
2024-02-23 10:55:14 +08:00
Jiang Jiang Jian
646658a564 Merge branch 'bugfix/fix_dangling_pointer_in_remove_bond_list_section_v5.0' into 'release/v5.0'
fix(bt/bluedroid): fix dangling pointer issue when logging removed section (backport v5.0)

See merge request espressif/esp-idf!28963
2024-02-23 10:49:27 +08:00
Jiang Jiang Jian
48570f5466 Merge branch 'bugfix/ble_mesh_deinit_reinit_v5.0' into 'release/v5.0'
feat: ble mesh: improve ble mesh deinit when nimble enable(backport v5.0)

See merge request espressif/esp-idf!28924
2024-02-23 10:49:03 +08:00
Jiang Jiang Jian
1cc35f0bdc Merge branch 'bugfix/ble_mesh_ble_advtype_v5.0' into 'release/v5.0'
ble_mesh: update ble mesh ble adv type(backport v5.0)

See merge request espressif/esp-idf!28915
2024-02-23 10:47:45 +08:00
Jiang Jiang Jian
d253654f0f Merge branch 'bugfix/ble_bug_backport_20240205_v5.0' into 'release/v5.0'
Bugfix/ble bug backport 20240205 (backport v5.0)

See merge request espressif/esp-idf!28898
2024-02-23 10:47:06 +08:00
Jiang Jiang Jian
0c555c9fbc Merge branch 'bugfix/fix_dtm_tx_count_v5.0' into 'release/v5.0'
Update bt lib for ESP32-C3 and ESP32-S3(30b57c45)(backport v5.0)

See merge request espressif/esp-idf!28878
2024-02-23 10:45:16 +08:00
Jiang Jiang Jian
153b81b546 Merge branch 'bugfix/spp_disc_connect_btqabr2023_156_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Fixed SPP connection failure(v5.0)

See merge request espressif/esp-idf!28543
2024-02-23 10:40:41 +08:00
Jin Cheng
7e4995d92c docs(bt/bluedroid): update API documents of SPP 2024-02-22 09:57:47 +08:00
Rahul Tank
b2778ec38d feat(nimble): Add APIs to support BLE DTM functions 2024-02-07 15:20:51 +05:30
gongyantao
817ae554ca fix(bt/bluedroid): fix dangling pointer issue when logging remove section 2024-02-07 14:58:17 +08:00
YuanMingFu
ed2ea01b76 ble_mesh: update ble mesh ble adv type 2024-02-07 13:09:32 +08:00
InfiniteYuan
dae30350dd feat: ble mesh: improve ble mesh deinit when nimble enable 2024-02-06 14:44:58 +08:00
zhiweijian
4a413b9d27 feat(ble/controller): Add API to get BLE controller status on ESP32 2024-02-05 16:11:26 +08:00
zhiweijian
fb94d9175f Fixed xQueueSemaphoreTask assert when deinit host during scan 2024-02-05 16:11:08 +08:00
chenjianhua
479ec4af2a feat(bt/bluedroid): Support get status of bluedroid host 2024-02-04 16:52:12 +08:00
chenjianhua
1e5296008a feat(bt/bluedroid): Make the max number of bond device to be configurable 2024-02-04 16:51:55 +08:00
zhanghaipeng
50ef8650ac fix(ble/controller): Fixed tx count in direct test mode on ESP32-C3 and ESP32-S3
- Fixed tx count in direct test mode on ESP32-C3 and ESP32-S3
- fixed modem sleep enter failed sometimes
2024-02-04 14:28:28 +08:00
chenjianhua
1363cbe1ca fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(91980c2)
- Fixed scheduling when modem sleep wakeup delayed
- Fixed IRQ FIFO overflow when enter critical
- Fixed clock sync timeout for modem sleep
- Fixed directed adv with RPA when privacy disabled
- Fixed instant passed for connection update and PHY update
2024-02-04 14:28:12 +08:00
Jiang Jiang Jian
899bc1d6b2 Merge branch 'bugfix/no_wakeup_sleep_v5.0' into 'release/v5.0'
fix(ble): Fixed Bluetooth not waking up due to clock drift(v5.0)

See merge request espressif/esp-idf!28723
2024-02-01 00:02:09 +08:00
Island
1d83a2125a Merge branch 'feat/ble_mesh_miscellaneous_update_v5.0' into 'release/v5.0'
feat(ble_mesh): Miscellaneous updates for mesh kconfig, relay related(v5.0)

See merge request espressif/esp-idf!28034
2024-01-31 18:29:34 +08:00
Darshan Dobariya
c5c3b5bfe8 fix(nimble): Added change to ensure that API execution returns success (v5.0) 2024-01-30 14:48:53 +05:30
xiongweichao
332b293215 fix(ble): Fixed macro definition error for 136K clock drift 2024-01-30 15:36:22 +08:00
xiongweichao
08061d3414 fix(ble): Fixed Bluetooth not waking up due to clock drift 2024-01-30 15:36:22 +08:00
Rahul Tank
18caeb919a fix(nimble): Add minor debug fixes 2024-01-30 08:11:37 +05:30
Island
1da4afc70a Merge branch 'bugfix/address_resolution_v5.0' into 'release/v5.0'
fix(nimble): Added support for address resolution during inquiry (v5.0)

See merge request espressif/esp-idf!28520
2024-01-25 14:07:04 +08:00
Island
acf8c3e9e3 Merge branch 'bugfix/fix_some_ble_issue_v5.0' into 'release/v5.0'
Bugfix/fix some ble issue v5.0(backport v5.0)

See merge request espressif/esp-idf!28615
2024-01-25 12:19:24 +08:00
Island
7324e55dc0 Merge branch 'bugfix/ble_check_adv_data_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Fix ble adv data check to avoid memory overflow(backport v5.0)

See merge request espressif/esp-idf!28407
2024-01-25 12:19:11 +08:00
Island
bcc7d4e427 Merge branch 'bugfix/fix_ble_memory_leak_v5.0' into 'release/v5.0'
fix(ble/bluedroid): Fix ble memory leak when gattc config off(backport v5.0)

See merge request espressif/esp-idf!28497
2024-01-25 12:18:59 +08:00
Jiang Jiang Jian
9be6e00f1e Merge branch 'bugfix/fix_scan_request_ifs_error_v5.0' into 'release/v5.0'
Fixed BLE scan request ifs time error in coexistence scenarios(backport v5.0)

See merge request espressif/esp-idf!28576
2024-01-24 14:00:49 +08:00
zhanghaipeng
ca056b198f feat(bt/bluedroid): Support ext adv aux option 2024-01-22 20:54:04 +08:00
zhanghaipeng
e37dcaa92f fix(bt/bluedroid): Fix BLE malloc internal wrapper fail 2024-01-22 20:53:53 +08:00