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
zhiweijian
f563a1e3cc
Fixed battery profile wrong condition
2023-05-11 20:25:57 +08:00
xiongweichao
1b459301d6
bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator.
...
Closes https://github.com/espressif/esp-idf/issues/6486
2023-05-04 14:24:42 +08:00
Jiang Jiang Jian
4a52b7845c
Merge branch 'bugfix/bt_diable_enbale_crash_v4.2' into 'release/v4.2'
...
bt:Fixed esp32 controller bug (v4.2)
See merge request espressif/esp-idf!23176
2023-04-24 11:03:08 +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
chenjianhua
93360655cf
bluedroid: report status after clearing the BLE white list
2023-04-21 16:01:09 +08:00
chenjianhua
b242e0e602
bluedroid: fix GATTC cache address save
2023-04-21 15:58:11 +08:00
chenjianhua
1d7317b401
bluedroid: fix adv and scan state conflict
2023-04-21 15:57:58 +08:00
chenjianhua
564c4b644d
bluedroid: support get bluetooth device name
2023-04-21 15:57:41 +08:00
zhiweijian
3a7dd3c0de
Fixed vulnerability attacks that could cause heap overflow in fragmented Blufi packet processing
2023-04-04 15:42:34 +08:00
chenjianhua
c912fcba45
fix ble adv tx power map
2023-03-10 17:15:24 +08:00
chenjianhua
c5dc8389ed
bluedroid: fix ble rpa generate and update by host
2023-03-10 17:15:24 +08:00
Jin Cheng
c25d227280
Fixed build errors when sniff subrating is enabled.
2023-02-16 15:25:41 +08:00
Jiang Jiang Jian
c135695a18
Merge branch 'bugfix/fix_ble_some_bugs_20221219_v4.2' into 'release/v4.2'
...
backport some BLE bugs 20221219 (backport v4.2)
See merge request espressif/esp-idf!21720
2022-12-21 12:00:08 +08:00
Jiang Jiang Jian
7c9bdca900
Merge branch 'bugfix/spp_vfs_memory_leak_v4.2' into 'release/v4.2'
...
Component_bt/fix esp_spp_vfs_register memory leak(v4.2)
See merge request espressif/esp-idf!21717
2022-12-21 11:59:58 +08: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
xiongweichao
7f371f7864
bt: Fixed repeated register of vfs_id causing memory leaks
2022-12-20 15:13:44 +08:00
xiongweichao
1d43c9103c
Assert when malloc user_data fail
2022-12-20 15:13:25 +08:00
xiongweichao
41d064578f
Fixed memory leak when SPP initialization failed
2022-12-20 15:12:48 +08:00
chenjianhua
2fd6fa2773
bluedroid: fix ble connection update with same params
2022-12-19 20:05:50 +08:00
chenjianhua
310be0d052
bluedroid: fix encrypt keysize of GATT characteristic permission
2022-12-19 20:05:50 +08:00
chenjianhua
b24bc2482b
bluedroid: correct the length of att read by type pdu
2022-12-19 20:05:50 +08:00
Jiang Jiang Jian
698aae95cf
Merge branch 'contrib/github_pr_9529_v4.2' into 'release/v4.2'
...
component_bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails(v4.2)
See merge request espressif/esp-idf!21474
2022-12-13 13:56:24 +08:00
xiongweichao
e5e225adaa
bt: Fixed incorrect parameters in switching to BTC context
2022-12-09 16:27:36 +08:00
xiongweichao
b5a959f11d
bt:Modify the member variable *arg in struct btc_msg to arg[0]
2022-12-09 16:27:36 +08:00
Jin Cheng
bd9fddf174
correct the SR_mode selection when konw nothing about Peripheral
2022-12-09 10:39:59 +08:00
xiongweichao
0b0f2eeb01
bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails
2022-12-08 18:47:31 +08:00
wangjialiang
c281ef1f43
ble_mesh: stack: Fix exceptional list parameters check issue
2022-12-05 20:35:54 +08:00
xiongweichao
1e09841bd1
bt: Fixed a2dp failing to connect again after disconnect
2022-11-30 19:19:18 +08:00
liqigan
1fa4e7dd9c
fix HFP client parse CLCC command response bug
2022-11-23 03:10:36 +00:00
Jin Cheng
e974410092
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:51:02 +08:00
wangjialiang
1cf785d3f5
ble_mesh: stack: Fix can't trans optional info to group address
2022-11-07 15:52:15 +08:00
Jiang Jiang Jian
7db88d56c9
Merge branch 'bugfix/use_nonblocking_coex_callback_v4.2' into 'release/v4.2'
...
bluetooth: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth(backport v4.2)
See merge request espressif/esp-idf!20811
2022-11-01 10:48:57 +08:00
Jiang Jiang Jian
76bb98355d
Merge branch 'bugfix/esp_spp_write_len_0_v4.2' into 'release/v4.2'
...
bt: Fixed esp_spp_write() crash when len is 0 (v4.2)
See merge request espressif/esp-idf!20708
2022-10-31 19:51:15 +08:00
Jiang Jiang Jian
fe16a6fcf0
Merge branch 'bugfix/handle_issue_of_malloc_fail_v4.2' into 'release/v4.2'
...
bugfix/avoid unexpected free when malloc failed (v4.2)
See merge request espressif/esp-idf!20725
2022-10-31 10:47:42 +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
xiongweichao
c528942f0d
bt: Fixed SPP VFS mode not being able to send data
2022-10-26 16:46:11 +08:00
xiongweichao
404d2be6f2
bt: Fixed esp_spp_write() crash when len is 0
...
Closes https://github.com/espressif/esp-idf/issues/9977
2022-10-26 16:45:50 +08:00
Jiang Jiang Jian
d33ce3ce52
Merge branch 'bugfix/fix_esp32_some_bugs_v4.2' into 'release/v4.2'
...
Fixed BLE ASSERT_PARAM(32 0) in rwble.c at line 384 on ESP32(backport v4.2)
See merge request espressif/esp-idf!20762
2022-10-26 10:56:12 +08:00
Jiang Jiang Jian
39f3ab13ce
Merge branch 'bugfix/update_ctrl_init_config_macro_v4.2' into 'release/v4.2'
...
Bugfix/update ctrl init config macro (v4.2)
See merge request espressif/esp-idf!20714
2022-10-25 17:41:42 +08:00
zhiweijian
78fd81c0d3
Fixed ESP32 BLE assert(32 0)
2022-10-25 17:33:17 +08:00
zwj
a2dfa5c86b
allow bluedroid host to report adv_ind separately
2022-10-25 17:33:17 +08:00
Jiang Jiang Jian
04bf991178
Merge branch 'bugfix/fix_legacy_pair_not_send_link_key_host_v4.2' into 'release/v4.2'
...
component_bt: fix legacy pair controller does not send the link key to the host (v4.2)
See merge request espressif/esp-idf!19322
2022-10-21 16:06:58 +08:00
tgotic
b37b8f163b
[bt] fix if allocation fails
...
If osi_malloc fails for work_queues or osi_work_queue_create fails, osi_work_queue_delete in _err may release unallocated memory.
2022-10-21 14:57:19 +08:00
Jin Cheng
bb2f66843c
Corrects header names in string from "bt.h" to "esp_bt.h".
2022-10-21 13:14:38 +08:00
Jiang Jiang Jian
eb8316394c
Merge branch 'bugfix/revert_commit_da44fc9c_v4.2' into 'release/v4.2'
...
Revert "fixed the issue iOS devices cannot initiate connection" (v4.2)
See merge request espressif/esp-idf!20668
2022-10-20 19:18:54 +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