Commit Graph

3518 Commits

Author SHA1 Message Date
Wang Meng Yang
8a76b2e2ec Merge branch 'bugfix/update_spp_doc' into 'master'
docs(bt/bluedroid): update API documents of SPP

Closes BT-3568

See merge request espressif/esp-idf!28111
2024-01-09 15:29:11 +08:00
InfiniteYuan
993882d1d9 feat: ble mesh: improve ble mesh deinit when nimble enable 2024-01-09 14:16:31 +08:00
InfiniteYuan
59a9e8cc7b ble_mesh: update ble mesh ble adv type 2024-01-09 14:05:29 +08:00
Rahul Tank
2b0bcbc545 fix(nimble): Remove unwanted task lock check when HS_DEBUG is enabled 2024-01-08 19:34:17 +05:30
Rahul Tank
b3f7e2c8a4 Merge branch 'bugfix/reattempt_conn_feat_extended' into 'master'
fix(nimble): Support for reattempt connection in ext connect

See merge request espressif/esp-idf!28222
2024-01-08 20:07:08 +08:00
Island
ee7794c395 Merge branch 'bugfix/increase_btu_task_stack_size_master' into 'master'
fix(bt/bludroid): Increase BTU task stack size

Closes BT-3571

See merge request espressif/esp-idf!28319
2024-01-08 19:47:05 +08:00
linruihao
4fbfc98132 fix(bt/bludroid): Increase BTU task stack size 2024-01-08 11:34:10 +08:00
Zhang Hai Peng
0b8e6c66c4 Merge branch 'bugfix/ble_check_adv_data' into 'master'
fix(bt/bluedroid): Fix ble adv data check to avoid memory overflow

See merge request espressif/esp-idf!28245
2024-01-05 14:17:42 +08:00
Rahul Tank
25d9e6735c fix(nimble): Support for reattempt connection in ext connect 2024-01-04 18:19:21 +05:30
linruihao
cfbd316b77 fix(ble): fixed interrupt timeout in MAC_BB_PD callback 2024-01-04 19:18:58 +08:00
Jiang Jiang Jian
0a1f378675 Merge branch 'fix/esp32h2_rssi_positive_issue' into 'master'
fix(ieee802154): fix the issue of not receiving packets when RSSI is positive in esp32h2

See merge request espressif/esp-idf!28038
2024-01-04 15:35:46 +08:00
Island
e8ff5511f2 Merge branch 'feat/config_ble_max_bond_dev_count' into 'master'
feat(bt/bluedroid): Make the max number of bond device to be configurable

Closes BLERP-375

See merge request espressif/esp-idf!27990
2024-01-04 14:43:35 +08:00
zhanghaipeng
c66fc143fa fix(bt/bluedroid): Fix ble adv data check to avoid memory overflow 2024-01-04 13:21:42 +08:00
zwl
370f4defb8 fix(ble): fixed rssi inaccuracy issue on ESP32-H2 2024-01-03 14:39:31 +08:00
Rahul Tank
65a0627f0c fix(nimble): Enable address resolution across reboot 2024-01-03 14:35:56 +08:00
Liu Linyan
3ae4203ce5 fix(ble_mesh): Fix CI compile failure 2024-01-03 10:56:10 +08:00
Island
4f49d8d7fa Merge branch 'feat/ble_mesh_miscellaneous_update' into 'master'
Feat/ble mesh miscellaneous update

Closes BLERP-308, BLERP-346, and BLERP-390

See merge request espressif/esp-idf!27936
2024-01-03 10:44:45 +08:00
Jiang Jiang Jian
7537c4fcea Merge branch 'bigfix/BLEQABR23-503' into 'master'
fix(ble_mesh): reject node-reseting when provision link is active

See merge request espressif/esp-idf!25848
2024-01-02 15:37:42 +08:00
Wu Meng Shi
2f78a065bd fix(ble_mesh): reject node-reseting when provision link is active 2024-01-02 15:37:41 +08:00
Jiang Jiang Jian
16ae218dfb Merge branch 'bugfix/fix_ble_app_unregister_no_event' into 'master'
fix(bt/bluedroid): Fix ble app unregister no event

Closes BLERP-402

See merge request espressif/esp-idf!28166
2023-12-29 11:08:08 +08:00
Rahul Tank
41f862d351 Merge branch 'bugfix/fix_gatts_stop_race_condition' into 'master'
fix(nimble): Handled race condition for conn variables being set to NULL

Closes BLERP-368

See merge request espressif/esp-idf!28026
2023-12-28 17:39:32 +08:00
zhanghaipeng
a2425ac3e7 fix(bt/bluedroid): Fix ble app unregister no event 2023-12-28 17:30:57 +08:00
Wang Meng Yang
4c8f6c5458 Merge branch 'feat/add_get_device_name_api' into 'master'
feat(bt/bluedroid): Added API to get local device name

Closes BT-3526

See merge request espressif/esp-idf!27667
2023-12-27 10:37:33 +08:00
Jin Cheng
42f19d657a docs(bt/bluedroid): update API documents of SPP 2023-12-26 09:13:20 +08:00
Island
ee3a46dbc3 Merge branch 'bugfix/fixed_stop_periodic_adv_assert_issue_master' into 'master'
fixed(ble): fixed an assertion issue when stopping periodic adv on ESP32C6 and ESP32H2

Closes BLERP-377, BLERP-380, BLERP-381, and BLERP-369

See merge request espressif/esp-idf!28083
2023-12-25 18:31:16 +08:00
Island
011d8a309a Merge branch 'bugfix/fix_ble_prepare_write' into 'master'
Bugfix/fix ble prepare write

Closes BLERP-336

See merge request espressif/esp-idf!27831
2023-12-22 19:09:21 +08:00
zwl
54c4fd935c fixed(ble): fixed an assertion issue when stopping periodic adv on ESP32C6 and ESP32H2 2023-12-22 15:21:36 +08:00
Island
083fe84db7 Merge branch 'bugfix/ble_update_lib_20231219' into 'master'
update lib on master

Closes BLERP-371, BLERP-364, BLERP-363, BLERP-361, BLERP-349, BLERP-360, BLERP-350, BLERP-351, BLERP-352, BLERP-353, BLERP-354, BLERP-356, BLERP-357, BLERP-358, BLERP-359, BLERP-366, BLERP-376, and BLERP-378

See merge request espressif/esp-idf!27997
2023-12-22 14:57:15 +08:00
Jiang Jiang Jian
dcd9891f82 Merge branch 'fix/btc_config_lock_error' into 'master'
fix(bt/bluedroid): fixed btc_config_lock error

Closes BT-3549

See merge request espressif/esp-idf!27933
2023-12-22 13:51:29 +08:00
Rahul Tank
6e066746b0 fix(nimble): Handled race condition for conn variables being set to NULL 2023-12-22 09:42:39 +05:30
Rahul Tank
48ad3a50b6 Merge branch 'bugfix/periodic_adv_enh_fixes' into 'master'
fix(nimble): Added periodic_adv_enh soc_caps for c2, h2

Closes BLERP-318

See merge request espressif/esp-idf!27572
2023-12-22 12:08:46 +08:00
Wang Meng Yang
9393ccaf68 Merge branch 'bugfix/fix_establish_two_sco_fail' into 'master'
fix(bt/controller): Fixed establish two SCO connection failed

Closes BTQABR2023-146

See merge request espressif/esp-idf!27869
2023-12-22 11:52:42 +08:00
xiongweichao
71442ef6de fix(bt/bluedroid): Fixed SPP connection failure
The connection failure is caused by the BTU and application layer status being out of sync.
2023-12-21 17:42:26 +08:00
luoxu
39b1ee4c9a bugfix(ble_mesh): add duplicate scan config for esp32s3 2023-12-21 12:13:13 +08:00
zhanghaipeng
b693094ee8 fix(bt/bluedroid): Fix BLE prepare write 2023-12-21 10:53:38 +08:00
Jiang Jiang Jian
6720610c0f Merge branch 'bugfix/fix_ble_recorrect_enable_bug' into 'master'
fix(ble/controller): Fixed BLE recorrect enable bug and fixed BLE bb isr enable by default

Closes WIFIBUG-316

See merge request espressif/esp-idf!28006
2023-12-21 10:51:02 +08:00
Roshan Bangar
473f2bdd1e fix(nimble): Added periodic_adv_enh soc_caps for c2, h2 2023-12-20 12:20:11 +05:30
luoxu
63a7db457a feat(ble_mesh): Miscellaneous updates for mesh kconfig, relay related 2023-12-20 12:20:26 +08:00
zhiweijian
8dc646a9b3 fix(ble/controller): Fixed BLE recorrect enable bug and fixed BLE bb isr enable by default 2023-12-19 17:27:30 +08:00
cjin
71901499b9 change(ble): added ble cca en and thresh option 2023-12-19 14:38:44 +08:00
luomanruo
0504b60b7a ble: support for selecting CSA#2 by menuconfig
ble(fix): fixed event receiving on host side without returning event buffer to pool
2023-12-19 14:38:22 +08:00
luomanruo
573e13c569 ble(update):
Update c2 lib to 7c6c9d53
Update h2 lib to 0ecb36f0
Update c6 lib to 0ecb36f0
2023-12-19 12:25:08 +08:00
chenjianhua
bc98ff414f feat(bt/bluedroid): Make the max number of bond device to be configurable 2023-12-19 11:38:01 +08:00
Rahul Tank
df796b3ed9 feat(nimble): Add VSC support for setting chan select algo 2023-12-18 17:46:52 +05:30
Song Ruo Jing
0e759c6deb Merge branch 'refactor/esp_driver_uart' into 'master'
refactor(uart): make uart driver as component

Closes IDF-8384

See merge request espressif/esp-idf!27333
2023-12-18 19:16:34 +08:00
linruihao
fa3474496d fix(bt/controller): Fixed establish two sco connections failed 2023-12-18 11:26:06 +08:00
Roshan Bangar
96ed1ae7a7 feat(nimble): added HID over Gatt profile support 2023-12-16 17:42:49 +05:30
Jin Cheng
a3f68aef8a feat(bt/bluedroid): Added API to get local device name 2023-12-15 19:30:12 +08:00
Song Ruo Jing
6ad80f0332 refactor(uart): make uart driver as component, and fix astyle 2023-12-15 17:03:51 +08:00
Rahul Tank
3c6144046b fix(nimble): Handle all 0s address of external controllers during IRK generation 2023-12-15 11:39:41 +05:30
Rahul Tank
5ec9f498bc Merge branch 'bugfix/add_peer_null_check' into 'master'
fix(nimble): Added NULL peer addr check

Closes BLERP-322

See merge request espressif/esp-idf!27624
2023-12-15 13:44:45 +08:00
gongyantao
d5e5cd0237 fix(bt/bluedroid): fixed btc_config_lock error 2023-12-15 11:03:29 +08:00
Jiang Jiang Jian
0340043e59 Merge branch 'bugfix/fix_memory_leak_in_c3_s3_controller' into 'master'
Fixed memory leak in ESP32C3 and ESP32S3 controller

Closes BT-3516

See merge request espressif/esp-idf!27890
2023-12-14 17:52:47 +08:00
Rahul Tank
d852a5273d fix(nimble): Added NULL peer addr check 2023-12-14 12:50:15 +05:30
Island
45198988b0 Merge branch 'bugfix/fix_ble_gattc_deregister' into 'master'
fix(bt/bluedroid): Fix ble gattc deregister

Closes BLERP-321

See merge request espressif/esp-idf!27622
2023-12-14 12:26:27 +08:00
Wang Meng Yang
7a45809b4f Merge branch 'bugfix/crash_in_btc_hf_init' into 'master'
fix(bt/bluedroid): Added dynamic memory allocation for HFP control blocks

Closes BT-3498, BT-3505, BT-3524, COEXQABR24-4, COEXQABR24-16, COEXQABR24-17, and BTQABR2023-112

See merge request espressif/esp-idf!27211
2023-12-14 12:23:55 +08:00
linruihao
b0bd1f38f8 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(9129dec) 2023-12-13 19:26:49 +08:00
Jin Cheng
e1a5122dbc Merge branch 'fix/build_error_in_compiler_performance_mode' into 'master'
fix(bt/bluedroid): fixed build error when compiler in performace mode

Closes IDFGH-11637

See merge request espressif/esp-idf!27816
2023-12-12 18:56:42 +08:00
gongyantao
f303fa0174 fix(bt/bluedroid): fixed build error when compiler in performace mode
Closes https://github.com/espressif/esp-idf/issues/12751
2023-12-12 15:00:45 +08:00
Island
e5b77d7b8a Merge branch 'bugfix/ble_update_lib_20231201' into 'master'
update lib on master

Closes BLERP-302

See merge request espressif/esp-idf!27585
2023-12-11 11:33:42 +08:00
chenjianhua
7c56f21981 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(65db61f)
- Fixed remove and clear white list
2023-12-08 13:37:09 +08:00
Island
9bdcfa672f Merge branch 'bugfix/fix_ble_adv_scan_status' into 'master'
fix(bt/bluedroid): Fix ble adv and scan status when deinit bluedroid

Closes BLERP-324

See merge request espressif/esp-idf!27636
2023-12-07 16:25:37 +08:00
Island
fecd858fd5 Merge branch 'bugfix/fix_ble_robost_cashing' into 'master'
fix(bt/bluedroid): Fix BLE robost cashing config

See merge request espressif/esp-idf!27665
2023-12-07 16:25:34 +08:00
zhanghaipeng
305bb1a146 fix(bt/bluedroid): Fix ble gattc deregister 2023-12-07 11:21:13 +08:00
luomanruo
ca4f9ccedb ble(fix): Fixed crash issue when reset event queue 2023-12-06 14:13:23 +08:00
Rahul Tank
d4db3a2f87 fix(nimble): Added change to return success for API execution 2023-12-06 10:20:18 +05:30
Rahul Tank
c256bed7f8 Merge branch 'bugfix/authcomplete_failure' into 'master'
fix(nimble): Fixed authcomplete failure caused by a mismatch in the c1 value

Closes BLERP-303, BLERP-304, and BLERP-319

See merge request espressif/esp-idf!27499
2023-12-06 12:47:48 +08:00
Island
9040dea13b Merge branch 'bugfix/BLEQABR23-35master' into 'master'
fix(ble_mesh): avoid ble_mesh packet collision by using random adv interval

Closes BLERP-113 and BLERP-112

See merge request espressif/esp-idf!26348
2023-12-06 11:06:38 +08:00
Wu Meng Shi
a93783ae90 fix(ble_mesh): avoid ble_mesh packet collision by using random adv interval 2023-12-06 11:06:38 +08:00
Jiang Jiang Jian
d64217006c Merge branch 'bugfix/IDFGH-11398' into 'master'
bugfix(ble_mesh): Fixed incorrect RPR Client unicast address was obtained(154b4fcc)

Closes IDFGH-11398

See merge request espressif/esp-idf!27564
2023-12-06 10:50:50 +08:00
Jin Cheng
e78209ad47 fix(bt/bluedroid): Disabled Sniff Subrating temporarily as it did not work well 2023-12-05 20:10:03 +08:00
Jin Cheng
58256d8c4b fix(bt/bluedroid): Changed the default air mode to invalid value 2023-12-05 20:10:03 +08:00
Jin Cheng
dba328d9d5 fix(bt/bluedroid): Removed redundant operation of SCO clean up 2023-12-05 20:10:03 +08:00
Jin Cheng
0f9e8687ee fix(bt/bluedroid): Corrected the definitions of HF Client callback events 2023-12-05 20:10:00 +08:00
Jiang Jiang Jian
608664781d Merge branch 'bugfix/fix_bt_3262' into 'master'
Fixed random address setting when scanning on ESP32(fa43201)

See merge request espressif/esp-idf!27396
2023-12-05 19:47:09 +08:00
Darshan Dobariya
c34cba9db1 fix(nimble): Fixed authcomplete failure caused by a mismatch in the c1 value 2023-12-05 14:18:42 +05:30
luomanruo
bf44a9e9c6 ble(fix): clear event queue when init event queue
ble: update log module on ESP32C2, ESP32H2 and ESP32C6
2023-12-05 16:12:09 +08:00
zhanghaipeng
41facc2e08 fix(bt/bluedroid): Fix BLE robost cashing config 2023-12-05 15:44:15 +08:00
Darian
e3191df37a Merge branch 'change/deprecate_legacy_xtensa_include_path' into 'master'
change(xtensa): Deprecate legacy include paths

Closes IDF-7230

See merge request espressif/esp-idf!26725
2023-12-05 15:05:29 +08:00
Island
345013fa46 Merge branch 'bugfix/fix_bleqabr23_808' into 'master'
Fixed assert when LLCP instant passed on ESP32-C3 and ESP32-S3(b8f0db9)

Closes BLERP-298, BLERP-299, BLERP-300, BLERP-301, BLERP-310, BLERP-311, and BLERP-312

See merge request espressif/esp-idf!27477
2023-12-05 11:51:20 +08:00
zhanghaipeng
1eb0522774 fix(bt/bluedroid): Fix ble adv and scan status when deinit bluedroid 2023-12-05 10:38:01 +08:00
Rahul Tank
2cd09e8f71 Merge branch 'bugfix/remove_rpa_rec' into 'master'
fix(nimble): Handled the deletion of RPA mapping

Closes BLERP-289 and BLERP-295

See merge request espressif/esp-idf!27305
2023-12-04 19:49:40 +08:00
Island
4869d96220 Merge branch 'bugfix/BLEQA23-811' into 'master'
bugfix(ble_mesh): Enable CONFIG_BT_NIMBLE_VS_SUPPORT when using the duplicate...

See merge request espressif/esp-idf!27323
2023-12-04 19:42:50 +08:00
chenjianhua
74f99d2679 fix(bt): Update bt lib for ESP32(fa43201)
- Fixed assert for instant passed workaround
- Fixed scan evt timeout
- Fixed random address setting when scanning
2023-12-04 17:03:38 +08:00
Island
94d7ec7a38 Merge branch 'bugfix/bluedroid_menuconfig' into 'master'
Bugfix/bluedroid menuconfig

Closes BLERP-317

See merge request espressif/esp-idf!27508
2023-12-04 16:30:05 +08:00
luoxu
18e91216bd bugfix(ble_mesh): Enable CONFIG_BT_NIMBLE_VS_SUPPORT when using the duplicate scan feature on the NimBLE host. 2023-12-04 03:10:09 +00:00
chenjianhua
daae89357c fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(b8f0db9)
- Fixed assert when llcp instant passed
2023-12-01 21:12:43 +08:00
chenjianhua
9c40585b23 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(70ab55f)
- Fixed assert for instant passed workaround
- Fixed add RPA to white list
- Fixed AES encryption for RPA resolution
2023-12-01 21:01:53 +08:00
chenjianhua
51607c87d6 fix(bt/bluedroid): Fixed add RPA to white list 2023-12-01 21:01:53 +08:00
Abhinav Kudnar
7bafda1155 fix(nimble): Handled the deletion of RPA mapping. 2023-12-01 17:04:20 +05:30
luomanruo
3c90024f25 ble(update):
Update c2 lib to 47a787f0
Update h2 lib to 73452eac
Update c6 lib to 73452eac
2023-12-01 19:30:35 +08:00
zhanghaipeng
d528cc598e fix(bt/bluedroid): Fix BLE SMP register log level 2023-12-01 17:21:49 +08:00
Island
e3ab9f009b Merge branch 'feat/support_ble_create_sync_report' into 'master'
feat(bt/bluedroid): Support ble create sync report disable and filter duplicate

Closes BLERP-216

See merge request espressif/esp-idf!26923
2023-12-01 17:17:48 +08:00
luoxu
c90fd0ebe2 bugfix(ble_mesh): Fixed incorrect RPR Client unicast address was obtained(154b4fcc) 2023-12-01 15:53:44 +08:00
Island
682ca74e98 Merge branch 'bugfix/ble_update_lib_20231124' into 'master'
ble(update):Update c2 lib to 79ed4e8a,Update h2 lib to 9a237426,Update c6 lib to 9a237426

Closes BLERP-269 and BLERP-291

See merge request espressif/esp-idf!27391
2023-12-01 13:58:11 +08:00
Wang Meng Yang
76923a7a7f Merge branch 'bugfix/hci_param_check' into 'master'
fix(bt/controller): Fixed some HCI commands parameter

See merge request espressif/esp-idf!27423
2023-12-01 10:24:11 +08:00
Liu Linyan
9879615053 Merge branch 'update/ble_mesh_put_lib_in_submodule' into 'master'
fix(ble_mesh): Put Mesh 1.1 lib files in submodule

Closes IDFCI-1860

See merge request espressif/esp-idf!26987
2023-12-01 09:56:19 +08:00
Darian Leung
a5d5ee7445 change(xtensa): Deprecate ".../xtensa_context.h" include path
This commit deprecates the "freertos/xtensa_context.h" and "xtensa/xtensa_context.h"
include paths. Users should use "xtensa_context.h" instead.

- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_api.h"
- Add warning to compatibility header
2023-11-30 21:58:52 +08:00
Darian Leung
2204c8e137 change(xtensa): Deprecate ".../xtensa_api.h" include path
This commit deprecates the "freertos/xtensa_api.h" and "xtensa/xtensa_api.h"
include paths. Users should use "xtensa_api.h" instead.

- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_api.h"
- Replaced some calls with "esp_cpu_..." equivalents
- Add warning to compatibility header
2023-11-30 21:58:52 +08:00
Jin Cheng
48d410e10d fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in l2cap 2023-11-30 19:47:57 +08:00