Commit Graph

62 Commits

Author SHA1 Message Date
chenjianhua
b9e98b3e7f fix(bt/bluedroid): Fixed BLE disconnect event report when disconnecting 2023-08-19 04:24:47 +00:00
chenjianhua
e748546365 bluedroid: fixed gatt tcb free when disconnecting 2023-06-29 18:03:49 +08:00
Jiang Jiang Jian
7cea35193b Merge branch 'bugfix/fix_bluedroid_host_build_warning_when_log_is_disabled' into 'master'
Fixed bluedroid host build warning when log is disabled

See merge request espressif/esp-idf!24003
2023-06-20 15:51:11 +08:00
Wang Meng Yang
40d1d7f43b Merge branch 'bugfix/fix_bleqabr23_213' into 'master'
Bluedroid: fixed default extended connection params

See merge request espressif/esp-idf!24025
2023-06-14 12:21:51 +08:00
chenjianhua
e039b788df Revert "bluedroid: report disconnect event after BLE link closed"
This reverts commit c8a380500a.
2023-06-02 16:28:29 +08:00
chenjianhua
5ee2ad7552 bluedroid: fixed default extended connection params 2023-06-01 17:37:49 +08:00
zhiweijian
ddb8368aad Fixed bluedroid host build warning when log is disabled 2023-05-31 17:00:09 +08:00
chenjianhua
c8a380500a bluedroid: report disconnect event after BLE link closed 2023-04-12 11:13:15 +08:00
chenjianhua
7bbfd28d44 bluedroid: fix adv and scan state conflict 2023-03-09 16:36:54 +08:00
wangmengyang
3279b4d41d bt: fix Bluedroid compile errors after enable CONFIG_ESP_SYSTEM_USE_EH_FRAME on RISC-V SoCs
This root cause is incorrect source code separation by conditonal MACROs for BLE L2CAP COC related functions
2023-02-10 21:51:08 +08:00
Zhi Wei Jian
250f2c4a89 Merge branch 'bugfix/fix_ble_conn_param_update' into 'master'
Bluedroid: fix ble connection update with same params

Closes BT-2943

See merge request espressif/esp-idf!21309
2022-12-12 15:18:26 +08:00
Jiang Jiang Jian
706a2c779f Merge branch 'bugfix/correct_the_default_SR_mode' into 'master'
bugfix/correct the SR_mode selection when konw nothing about Peripheral

See merge request espressif/esp-idf!21355
2022-12-12 14:57:16 +08:00
chenjianhua
5a0bc5c1fd bluedroid: fix ble connection update with same params 2022-12-09 14:40:57 +08:00
chenjianhua
6f0d34d323 bluedroid: support LE L2CAP credit based connection 2022-12-09 13:28:31 +08:00
Jin Cheng
f2f6aef019 correct the SR_mode selection when konw nothing about Peripheral 2022-12-07 09:47:03 +00:00
xiongweichao
a0ec1c8291 bt: Enter the congestion state when the queue length waiting for the peer to ack is greater than or equal to the L2CAP ERTM tx window size 2022-10-27 19:45:25 +08:00
Jin Cheng
36d8e0b9ad Revert "fixed the issue iOS devices cannot initiate connection"
This reverts commit da44fc9cbe.
2022-10-20 06:17:33 +00:00
Jin Cheng
da44fc9cbe 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-09-23 17:58:39 +08:00
zwj
2942a98f5d fix calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting 2022-09-06 21:12:30 +08:00
zhiweijian@espressif.com
4bd267ac9a Fixed bluedroid host memory overflow 2022-07-14 19:35:22 +08:00
xiongweichao
90510fb597 Fix crash when sending data by spp 2022-06-20 17:12:07 +08:00
xiongweichao
740dc8795d rfcomm supports the use of ERTM 2022-05-28 23:34:21 +00:00
xiewenxiang
0030fba89c components/bt: Fix high duty cycle directed advertising will not be stopped when timeout 2021-12-13 20:10:21 +08:00
“YangZhao”
12ec4866b8 Fix the high-impact issues from the code analysis report from customer.
For the CID10564,10384,10280,10098,10038,The memory was released in other place.
For the CID10365,it release the memory in the function when sent successfully.
For the CID10268,10011, we need not change the code.
2021-11-22 17:38:02 +08:00
xiongweichao
752b1976c0 Dereference after null check 2021-11-18 19:47:07 +08:00
xiongweichao
101ad32110 Dereference before null check 2021-11-18 19:38:48 +08:00
xiongweichao
564f9e8f68 Logically dead code 2021-11-18 19:38:48 +08:00
sU8U7SfkcwTJVH7PjaVmej7D
b421ce2b00 Remove unused 'yy' variables 2021-07-30 15:59:06 +08:00
zwj
d8474a92bf - fix data length update failed
- fix no callback when the value being used is the same as the value to be set
2021-06-25 15:29:38 +08:00
xiongweichao
96aff16dd3 fix spp acceptor deadlock
Closes: https://github.com/espressif/esp-idf/issues/6948
2021-06-22 15:05:27 +08:00
zwj
8919322c76 Fixed BLE reconnect failed when using rpa public address 2021-05-27 14:08:47 +08:00
zwj
58cd231895 optimize C3 and s3 multi-connection 2021-04-20 02:41:14 +00:00
zwj
85b73337a3 fix ble 5.0 SMP failed 2021-04-20 02:41:14 +00:00
zwj
e652e264c7 add BLE connection establishment retry 2021-04-20 02:41:14 +00:00
zwj
dc3a5a9335 fix multi-connection pair failed 2021-03-24 14:58:21 +08:00
wangmengyang
3df07164c1 components/bt: shorten some log messages for bluedroid 2021-03-17 16:52:34 +08:00
liqigan
825c2024d0 fix l2cap repeat cid 2021-03-03 14:50:05 +08:00
Chinmay Chhajed
fb3a382fe4 Bluedroid: Do not initiate/accept connection with device having same BDADDR.
Added BD_ADDR comparison in l2cu_lcp_allocate and removed check from
security connection request handler as it's handled in l2cu_lcp_allocate
for both connection request and create connection.
2021-02-09 12:09:15 +05:30
zwj
bdafdbbf3d disable bluedroid congest error log print 2021-01-27 14:45:03 +08:00
zwj
ea42d8e043 fix bluedroid deinit crash 2021-01-15 21:08:14 +08:00
zwj
d624675087 fix connection param update timeout 2021-01-15 18:05:39 +08:00
zwj
273d2fd5ec fix multi-connection crash (smp-08003) 2021-01-15 18:05:04 +08:00
zhiweijian@espressif.com
d4619584d7 fix ble connect crash 2021-01-15 18:04:16 +08:00
zwj
1d1754e4b4 - fix congest return value
- fix system no rsp when doing disconnect
- fix no congest event when ssc do writing performance
2021-01-15 18:03:56 +08:00
zwj
7c1c669799 component/bt: add BLE v5.0 feature for bluedroid host 2021-01-15 17:55:12 +08:00
wangcheng
cc7dbc6177 components/bt: Fixed the problem of early release of pointer(p_ccb) in funcion 2020-12-17 10:54:56 +08:00
Angus Gratton
66fb5a29bb Whitespace: Automated whitespace fixes (large commit)
Apply the pre-commit hook whitespace fixes to all files in the repo.

(Line endings, blank lines at end of file, trailing whitespace)
2020-11-11 07:36:35 +00:00
Jiang Jiang Jian
472c40f84e Merge branch 'bugfix/l2cap_link_timeout_llcp_prog_btu_wtd' into 'master'
Bugfix/l2cap link timeout llcp prog btu wtd

Closes BT-941 and BT-973

See merge request espressif/esp-idf!10119
2020-09-07 14:10:46 +08:00
wangcheng
d635320871 component/bt: Fixed the watchdog timeout of btu task during multi-connection 2020-09-04 16:21:40 +08:00
wangcheng
f8fd58d7f6 components/bt: Fixed the state not synchronized between controller and host when disconnected. 2020-08-27 14:46:27 +08:00