Commit Graph

2398 Commits

Author SHA1 Message Date
zwj
e1a1e70720 - Support ESP32C3 and ESP32S3 new BLE lib
- Disable controller 5.0 feature bits if host 5.0 feature is not enabled
- Fixed extend ADV parameters check for ADV_DIRECT_HI
- Fixed HW RAL_UNDERRUN assert
2023-03-30 22:00:02 +08:00
zwj
3ef7e529b4 If it is not esp32 chips, hide the configuration item: BT_BLE_RPA_SUPPORTED 2023-03-30 19:28:38 +08:00
zhiweijian
fbdbb5af62 set BT_CTRL_BLE_MAX_ACT default value to 6 2023-03-30 19:00:41 +08:00
zhiweijian
449efd1871 Fixed ATT Ignore wrong response error 2023-03-30 19:00:19 +08:00
zhiweijian
29ddc66cc0 Fixed vulnerability attacks that could cause heap overflow in fragmented Blufi packet processing 2023-03-30 18:43:01 +08:00
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
chenjianhua
25394b6ac4 update bt-lib for ESP32
fix ble disconnect due to channel map update instant passed
2023-02-28 09:11:40 +00:00
Jiang Jiang Jian
1f739d7185 Merge branch 'bugfix/blufi_notify_v4.3' into 'release/v4.3'
BluFi : Fixed hdr getting free twice (v4.3)

See merge request espressif/esp-idf!22450
2023-02-26 15:51:54 +08:00
isha.pardikar@espressif.com
9c0ad412ed BluFi : Fixed hdr getting free twice
Closes IDFGH-9378
2023-02-21 11:47:39 +05:30
Jin Cheng
7fc5d19730 Fixed build errors when sniff subrating is enabled. 2023-02-13 17:28:15 +08:00
Jiang Jiang Jian
419d6209a8 Merge branch 'bugfix/coex_enable_disable_not_in_pairs_v4.3' into 'release/v4.3'
bluetooth: fix that functions "coex_enable" and "coex_disable" are not used in pairs(backport v4.3)

See merge request espressif/esp-idf!22096
2023-02-04 01:53:35 +08:00
Sumeet Singh
feb32ec9f4 NimBLE: Fix incomplete clearing of peer_dev_rec 2023-02-03 03:09:24 +00:00
wangmengyang
35ba1547e5 bluetooth: fix that functions "coex_enable" and "coex_disable" are not used in pairs on ESP32-C3 2023-02-03 03:08:42 +00:00
Jin Cheng
9e501aad7f Fixed crash caused by accessing nullptr in btm_acl_disconnected 2023-01-04 11:44:50 +08:00
zwj
1f05925676 update phy and bb lib for temperature performance 2022-12-27 20:57:04 +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
zwj
5c4a30d08b Update bt lib for ESP32
- Add config to set duplicate scan list refresh period
- overwrite the oldest device infor if the list is full
- Fixed duplicate scan period is not accurate
2022-12-20 15:58:37 +08:00
zhiweijian
3467e9db8b bluedroid host supports the maximum number of connections to 9 2022-12-20 15:03:30 +08:00
zwj
ad0f1bb807 Update bt lib for ESP32-C3 and ESP32-S3
- Add config to set duplicate scan list refresh period
- overwrite the oldest device infor if the list is full
- Fixed duplicate scan period is not accurate
- Fixed some memory was not released after bluetooth controller initialization failed
- Fixed privacy errorr for directed advertising
- Fixed multiple periodic advertising sync failed in air
- Fixed lld_con.c line 3048 assert
- Fixed crash sometimes when connected as a slave by the 8th device
2022-12-20 15:02:22 +08:00
chenjianhua
df29143371 update bt-lib for ESP32
1 change default TX power to 9 dBm
2 fixed disconnect reason 0x1f (unspecified error)
3 fixed connection timeout due to terminate ind has not been acknowledged
2022-12-20 12:08:06 +08:00
zwj
3425d4df52 Fixed some memory was not released after bluetooth controller initialization failed on ESP32 2022-12-20 12:06:54 +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
liuning
ce2deab1a4 phy: only set phy_init_flag at power domain off, when all modems deinit 2022-12-16 14:20:17 +08:00
liuning
626b87871d blufi: update version to 1.3
record connecting status, got ip status, maximum retry, connection end info (reason code, rssi) and provide greater information to phone
2022-12-14 19:23:08 +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
84e400cd8c bt: Fixed incorrect parameters in switching to BTC context 2022-12-07 10:22:41 +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
Jiang Jiang Jian
35f9b6ad58 Merge branch 'bugfix/Fix_exceptional_list_params_check_v4.3' into 'release/v4.3'
ble_mesh: stack: Fix exceptional list parameters check issue(v4.3)

See merge request espressif/esp-idf!21443
2022-12-06 14:44:25 +08:00
wangjialiang
0f95a31589 ble_mesh: stack: Fix exceptional list parameters check issue 2022-12-05 20:26:11 +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