Commit Graph

467 Commits

Author SHA1 Message Date
xiongweichao
b201f9dac6 bt:Added a parameter to tell the user the result of the pass through command implementation 2023-03-29 10:57:59 +00:00
chenjianhua
156f40c976 bluedroid: support ble privacy by controller 2023-02-28 09:11:40 +00:00
chenjianhua
8790931bab bluedroid: add params in GATT connect event 2023-02-28 09:11:40 +00:00
Jin Cheng
7fc5d19730 Fixed build errors when sniff subrating is enabled. 2023-02-13 17:28:15 +08:00
Sumeet Singh
feb32ec9f4 NimBLE: Fix incomplete clearing of peer_dev_rec 2023-02-03 03:09:24 +00:00
Jin Cheng
9e501aad7f Fixed crash caused by accessing nullptr in btm_acl_disconnected 2023-01-04 11:44:50 +08:00
Jiang Jiang Jian
8cd8ec019c Merge branch 'bugfix/fix_ble_some_bugs_20221219_v4.3' into 'release/v4.3'
backport some BLE bugs 20221219 (backport v4.3)

See merge request espressif/esp-idf!21716
2022-12-21 15:02:35 +08:00
Jiang Jiang Jian
0cf1971b3b Merge branch 'bugfix/fix_some_ble_bugs_by_cjh_v4.3' into 'release/v4.3'
Fixed some BLE bugs (backport v4.3)

See merge request espressif/esp-idf!21692
2022-12-21 11:27:50 +08:00
zhiweijian
3467e9db8b bluedroid host supports the maximum number of connections to 9 2022-12-20 15:03:30 +08:00
chenjianhua
8e4701275c bluedroid: fix ble connection update with same params 2022-12-19 19:32:41 +08:00
chenjianhua
65b3d93f79 bluedroid: fix encrypt keysize of GATT characteristic permission 2022-12-19 19:32:00 +08:00
chenjianhua
262387025b bluedroid: correct the length of att read by type pdu 2022-12-19 19:31:49 +08:00
xiongweichao
f05fcfc752 bt: Fixed repeated register of vfs_id causing memory leaks 2022-12-19 12:17:14 +08:00
xiongweichao
110bdea520 Assert when malloc user_data fail 2022-12-19 12:17:14 +08:00
xiongweichao
efaa43d01b Fixed memory leak when SPP initialization failed 2022-12-19 12:17:14 +08:00
Jiang Jiang Jian
0ee643387b Merge branch 'feature/nimble_support_ble_max_conn_num_v4.3' into 'release/v4.3'
Nimble:  Support maximum number of connections to 9 on ESP32-C3 and ESP32-S3 (v4.3)

See merge request espressif/esp-idf!21552
2022-12-14 10:43:24 +08:00
Rahul Tank
4e366665ae Nimble: Update documentation to include distinction between upstream
mesh example and ESP-BLE-MESH
2022-12-13 12:56:29 +05:30
Jiang Jiang Jian
19310eea60 Merge branch 'bugfix/correct_the_default_SR_mode_v4.3' into 'release/v4.3'
bugfix/correct the SR_mode selection when konw nothing about Peripheral's SR_mode (v4.3)

See merge request espressif/esp-idf!21521
2022-12-12 14:57:27 +08:00
Rahul Tank
b07ca316d0 Nimble: Support maximum number of connections to 9 on ESP32-C3 and ESP32-S3 2022-12-09 19:13:56 +05:30
jincheng
31b6acc88a Added reporting for ACL link related events to application 2022-12-09 11:15:56 +08:00
Jin Cheng
bfe007388f correct the SR_mode selection when konw nothing about Peripheral 2022-12-09 10:37:42 +08:00
Jiang Jiang Jian
df901e0fe8 Merge branch 'contrib/github_pr_9529_v4.3' into 'release/v4.3'
component_bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails(v4.3)

See merge request espressif/esp-idf!21473
2022-12-08 11:44:55 +08:00
Wang Meng Yang
05c497e9c2 Merge branch 'bugfix/reduce_BTU_TASK_stack_consumption_v4.3' into 'release/v4.3'
Reduce the stack consumption of BTU_TASK (backport v4.3)

See merge request espressif/esp-idf!21436
2022-12-07 11:29:56 +08:00
xiongweichao
dad8773c07 bt:Modify the member variable *arg in struct btc_msg to arg[0] 2022-12-07 10:22:36 +08:00
xiongweichao
433767f97a bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails 2022-12-07 10:22:29 +08:00
zwj
8ce5d113ca Reduce the stack consumption of BTU_TASK 2022-12-05 17:29:40 +08:00
isha.pardikar@espressif.com
7b51ebe7a8 NimBLE: Fixed going for reattempt connection code 2022-12-05 14:33:40 +05:30
xiongweichao
9b2b5d1651 Fixed a2dp failing to connect again after disconnect 2022-11-30 19:15:36 +08:00
Jin Cheng
79b4d8fe4f optimized a2dp_sink audio datapath
1. removed audio cache in BTC layer of Bluedroid
2. added flow control for audio data in application layer

Closes https://github.com/espressif/esp-idf/issues/9622
2022-11-24 13:13:40 +08:00
Jiang Jiang Jian
81d598b46f Merge branch 'bugfix/fix_hfp_clcc_parser_bug_4.3' into 'release/v4.3'
Bugfix/Fix HFP client parse CLCC command response bug[backport 4.3]

See merge request espressif/esp-idf!21158
2022-11-24 11:12:15 +08:00
zwj
098465ff74 Fixed errors reported by CI clang_tidy_check 2022-11-21 11:11:52 +08:00
zwj
da42e4a234 Fixed sometimes BTU task overflow when doing read and write performance test 2022-11-21 11:11:40 +08:00
liqigan
60875836bd fix HFP client parse CLCC command response bug 2022-11-18 19:44:17 +08:00
Jin Cheng
60e281805c fixed the issue iOS devices cannot initiate connection
to ESP32 while there is a BLE connection to this ESP32

Closes https://github.com/espressif/esp-idf/issues/6557
2022-11-14 09:50:22 +08:00
xiongweichao
45d4780760 bt: Fixed SPP VFS mode not being able to send data 2022-10-26 16:27:49 +08:00
zwj
38945f54e1 allow bluedroid host to report adv_ind separately 2022-10-24 19:36:47 +08:00
Jiang Jiang Jian
d96bb082ba Merge branch 'bugfix/esp_spp_write_len_0_v4.3' into 'release/v4.3'
bt: Fixed esp_spp_write() crash when len is 0 (v4.3)

See merge request espressif/esp-idf!20707
2022-10-24 12:31:37 +08:00
Jiang Jiang Jian
dd62e3bb9b Merge branch 'bugfix/close_stack_callback_during_ble_stop_v4.3' into 'release/v4.3'
Nimble: Added check to deregister stack callback with controller during stack deinit(v4.3)

See merge request espressif/esp-idf!20605
2022-10-21 14:21:41 +08:00
xiongweichao
58a7082114 bt: Fixed esp_spp_write() crash when len is 0
Closes https://github.com/espressif/esp-idf/issues/9977
2022-10-21 11:21:51 +08:00
Jin Cheng
b5996dd051 Revert "fixed the issue iOS devices cannot initiate connection"
This reverts commit da44fc9cbe.
2022-10-18 19:45:00 +08:00
Rahul Tank
7d3207f70b Nimble: Added check to deregister stack callback with controller during stack deinit(v4.3) 2022-10-18 12:19:20 +05:30
Jiang Jiang Jian
ed6f966009 Merge branch 'contrib/github_pr_9529_mr_v4.3' into 'release/v4.3'
bt:No need to use local copy of btc_msg_t in btc_transfer_context, create it on heap and pass to osi_thread_post()(v4.3)

See merge request espressif/esp-idf!19693
2022-10-17 18:04:57 +08:00
xiongweichao
9f5ff9fddf Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()
Closes https://github.com/espressif/esp-idf/issues/9672
2022-10-10 09:31:47 +00:00
chenjianhua
ed24da98eb bluedroid: configurable max gattc cache characteristic count 2022-10-09 15:31:11 +08:00
chenjianhua
b904278330 fix ble adv tx power map 2022-10-09 15:28:39 +08:00
chenjianhua
7a324e2984 bluedroid: fix ble rpa generate and update by host 2022-10-09 15:28:39 +08:00
chenjianhua
0446de4429 Revert "component/bt: add local irk to controller"
This reverts commit 032f6d34d1.
2022-10-09 15:28:39 +08:00
chenjianhua
fb20a1be8e Revert "Fixed ESP32 BLE can't resolve the peer address when enable white list"
This reverts commit 192aa18c31.
2022-10-09 15:28:39 +08:00
chenjianhua
e5a195fc2c Bluedroid: Configurable option to modify max gatt service attributes count 2022-10-09 15:28:39 +08:00
Jiang Jiang Jian
9e863ecdb8 Merge branch 'bugfix/fix_some_ble_bugs_on_esp32c3_v4.3' into 'release/v4.3'
Fixed some BLE controller bugs on ESP32-C3 (backport v4.3)

See merge request espressif/esp-idf!19990
2022-09-29 13:59:20 +08:00