zhiweijian
b9d062ef16
Fixed BLE disconnection failure on ESP32
2023-05-11 20:26:39 +08:00
zwj
0b8b26ec49
Fixed disconnection due to consecutive CRC errors in first 6 intervals
2023-05-11 20:26:29 +08:00
zwj
45a3c35d65
Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32
2023-04-23 12:21:20 +00:00
xiongweichao
873856fdf3
bt: added coex adapter operation to get version of coexist module to ESP32 Bluetooth Controller
2023-04-23 12:21:20 +00:00
xiongweichao
37aa555611
bt:Fixed esp32 controller bug
...
1. Fixed crash after controller disable and re-enable
2. Fixed the crash caused by processing the HCI_Read_Remote_Extented_Features command in the non-connected state
3. Fixed disconnection due to not handling lmp_unsniff_req in LC_WAIT_SNIFF_SUB_RSP state
4. Fixed crash caused by supervision timeout greater than sniff interval
Closes https://github.com/espressif/esp-idf/issues/11164
Closes https://github.com/espressif/esp-idf/issues/10835
2023-04-23 12:21:20 +00:00
zwj
18d0ba010d
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
- Change default TX power to 9 dBm
- Fixed disconnect reason 0x1f (unspecified error)
- Fixed connection timeout due to terminate ind has not been acknowledged
- Fixed some memory was not released after bluetooth controller initialization failed on ESP32
2022-12-20 17:21:21 +08:00
wangmengyang
e4d21b2781
bt: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth on ESP32
2022-10-26 19:04:06 +08:00
zhiweijian
78fd81c0d3
Fixed ESP32 BLE assert(32 0)
2022-10-25 17:33:17 +08:00
xiongweichao
2a3ab6accf
fix legacy pair controller does not send the link key to the host
...
Closes https://github.com/espressif/esp-idf/issues/5850
2022-10-20 11:07:24 +00:00
baohongde
1af2a470dc
components/coex: Make sure sempher and queue used in isr is in DRAM
...
Closes https://github.com/espressif/esp-idf/issues/9032
Closes https://github.com/espressif/esp-idf/issues/8928
Closes https://github.com/espressif/esp-idf/issues/9129
2022-07-25 13:50:43 +08:00
baohongde
6842dc1d2d
components/bt: Make sure sempher and queue used in isr is in DRAM
2022-07-25 11:45:45 +08:00
xiongweichao
61af5f66a4
coex: fixed crash when calculating end transfer time
2022-07-22 16:15:58 +08:00
zwj
6c4351908c
Fixed ESP32 BLE ke_mem.c assert
2022-07-13 03:08:09 +00:00
jincheng
aae7b6e1ae
restore edr_en which wrongly cleared by rsw
...
add critical protection for vhci_env_p->vhci_intr_st
ignore max_page when handle remote features
2022-07-08 14:13:08 +08:00
xiongweichao
0cb13d47cc
Bluetooth build fail when power management is enabled
2022-06-06 20:28:25 +08:00
xiongweichao
306df682cc
Fix crash when host exit sniff mode
2022-03-03 16:31:43 +08:00
xiewenxiang
e39a101aaa
components/bt: Fix ble adv_underrun issue
...
components/bt: Fix LLCP collision for channel map update
2022-02-16 00:28:45 +08:00
Xia Xiaotian
d472641430
esp_wifi: refactor PHY access
...
- Simplify PHY access API
- Move coexist initializing and deinitializing out from PHY API
to Wi-Fi and Bluetooth
- Remove coexist pause and resume for they are no longer needed.
2022-02-15 11:43:10 +08:00
jincheng
17b8fbfc1b
fix cs evt for rd_rem_ext_feats delayed issue
2022-02-10 15:28:26 +08:00
Jiang Jiang Jian
6317335174
Merge branch 'feature/add_coex_hci_command_v4.2' into 'release/v4.2'
...
Add hci command to set coexistence status (v4.2)
See merge request espressif/esp-idf!16055
2021-12-06 03:57:11 +00:00
Jiang Jiang Jian
19643f715c
Merge branch 'bugfix/fix_memory_leak_controller_deinit_v4.2' into 'release/v4.2'
...
ESP32: Fix memory leak in controller deinit function v4.2
See merge request espressif/esp-idf!15970
2021-12-03 03:32:18 +00:00
xiongweichao
3beae7c8ef
Add hci command to set coexistence status
2021-11-23 11:48:39 +08:00
Yang Zhao
14cdcae482
It is abnormal when getting the deep sleep state bit. So we need to check
...
the state again and run the "ble_master_soft_rst()" if neesed.
2021-11-19 16:17:31 +08:00
Rahul Tank
c2a94ba1aa
ESP32: Fix memory leak in controller deinit function
...
Added change to dealloc s_pm_lock in controller deinit as it gets allocated
during init procedure.
2021-11-17 20:42:29 +08:00
jincheng
160afee96c
- fix HCI_Read_Clock error
...
- fix HCI_Create_Connection_Cancel error
- fix ASSERT_WARN during epr
2021-11-16 17:10:30 +08:00
xiewenxiang
6ee20240ed
component/bt: fix crash when shutdown bt(backport v4.2)
2021-11-08 10:37:31 +08:00
Chinmay Chhajed
e0ea44fa46
BLE: Set connection max latency value to 499.
2021-11-01 16:37:46 +05:30
xiongweichao
5a4d4a01db
Remove assert when inq done
...
Closes https://github.com/espressif/esp-idf/issues/6759
Closes https://github.com/espressif/esp-idf/issues/7551
2021-10-27 14:26:43 +08:00
Yang Zhao
c1edb161e7
1.Fix the ble scan failed issue, this may happen in coexit environment
...
2.Fix connection failed with LG 5.0 phone
3.Check only for same X component of public key in BR/EDR
2021-10-21 10:59:57 +08:00
baohongde
4a80c40c0c
components/bt: Sync bt lib with the high level interrupt version
2021-10-08 14:17:49 +08:00
Yang Zhao
33f2bcec4c
The controller may miss the sleep time caculated before. So it will stuck
...
in the loop to get the deep sleep HW flag. Then the watchdog issue happen.
2021-08-11 14:23:16 +08:00
Yang Zhao
0fe0bea65a
This is to fix the hardware bug. The device may report scan event
...
timeout when scaning.If check this error,then reset the rwble core.
2021-07-20 20:37:08 +08:00
wangmengyang
036a045b86
component/bt: fix some bugs in bluetooth controller(2fcbe897)
...
1. Fixed the crash when using scan parameter: window = 4 slots, interval = 5 slots
2. Fixed BLE ACL tx flush issue during reset
3. Added remove sniff when peer not accepted sniff mode
2021-07-19 08:12:48 +08:00
liaowenhao
65e19c0d1a
bugfix/fix crash when lmp flooding
2021-07-01 20:07:45 +08:00
baohongde
7988705558
components/bt: Delete BLE ADV priority high
2021-05-25 15:10:49 +08:00
Chinmay Chhajed
4d95ffcca2
bt controller: Fixed handling for invalid feature page.
2021-05-25 10:39:25 +05:30
xiongweichao
ac179dcd99
Modify E8192 ELx200 ELx40 log level to LOGD
2021-04-21 04:07:59 +00:00
Jiang Jiang Jian
dbaee379ba
Merge branch 'bugfix/fix_coex_reset_last_wait_lose_iram_attr_4_2' into 'release/v4.2'
...
bugfix/btdm:Fix IRAM_ATTR missing. Backports v4.2
See merge request espressif/esp-idf!12073
2021-03-24 10:27:24 +00:00
Jiang Jiang Jian
bb067c0883
Merge branch 'bugfix/btdm_assert_without_sw_coex_enable_v4.2' into 'release/v4.2'
...
components/bt: Fix assert without sw coexist enabled
See merge request espressif/esp-idf!12527
2021-03-24 03:23:58 +00:00
gengyuchao
d7ea6266b7
Fix coex IRAM missing and Fix C2H flow control issue
2021-03-23 15:47:50 +08:00
baohongde
6c2489682f
Fix controller task watchdog in Wi-Fi test
2021-03-11 17:19:16 +08:00
baohongde
70de8f5158
components/bt: Fix crash in Bluetooth when esp_restart
2021-03-01 14:43:45 +08:00
baohongde
76b0097103
components/bt: Fix assert without sw coexist enabled
2021-02-26 14:29:34 +08:00
Chinmay Chhajed
8455518127
component/bt: Added check for NULL valued combination key.
2021-02-18 06:12:17 +00:00
Chinmay Chhajed
359509ccdc
bt: removed esp_bt_get_mac()
...
There was no need for this function as there is already a way present to
fetch own mac address. Own mac addr can be fetched by calling
controller_get_interface().
2021-02-18 06:12:17 +00:00
Chinmay Chhajed
4cfece437d
Bluedroid: Do not connect if peer BD_ADDR is same as own BD_ADDR.
2021-01-14 12:22:30 +05:30
baohongde
d694036789
components/bt: Shutdown Bluetooth before esp_restart.
2020-12-25 14:06:22 +08:00
weitianhua
ef84e386e4
Fix divided by zero err & clear timer after remote reject when respond the parameters update
2020-12-22 16:37:31 +08:00
wangcheng
98a536894d
components/bt:fix exl200, add btdm_disable_adv_delay, fix RPA addr update error.
2020-12-18 11:34:34 +08:00
Wei Tian Hua
c1d5ad61b5
Free ACL RX Buf in EM when disconnection [backport v4.2]
2020-12-17 16:47:43 +08:00