116 Commits

Author SHA1 Message Date
chenjianhua
93360655cf bluedroid: report status after clearing the BLE white list 2023-04-21 16:01:09 +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
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
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
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
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
zwj
a2dfa5c86b allow bluedroid host to report adv_ind separately 2022-10-25 17:33:17 +08:00
Jin Cheng
15f49d5848 Revert "fixed the issue iOS devices cannot initiate connection"
This reverts commit da44fc9cbefa208eaea45e105c3a9dc36959417f.
2022-10-18 19:45:49 +08:00
Wang Meng Yang
82890eee6c Merge branch 'bugfix/a2dp_can_not_connect_after_ble_connected_v4.2' into 'release/v4.2'
fixed the issue iOS devices cannot initiate connection (v4.2)

See merge request espressif/esp-idf!20406
2022-10-10 17:25:25 +08:00
Jin Cheng
396dc28ca9 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-28 16:16:05 +08:00
cjin
1659c3460a fix on data len change cmd malfunction 2022-09-27 21:47:39 +08:00
cjin
9d9b08ff10 fix err using rpa for confirmation calculation 2022-09-27 21:47:25 +08:00
zwj
4c3a48edea fix calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting 2022-09-27 21:46:57 +08:00
zhiweijian@espressif.com
029ed39579 Fixed bluedroid host memory overflow 2022-07-28 09:47:03 +00:00
xiongweichao
cec2713416 Fix AVDTP general reject format error. 2022-06-17 10:28:50 +08:00
keymoon
c670dc6d14 assign value to uninitialized bt_addr field 2022-05-29 18:04:53 -07:00
xiongweichao
0825981026 Fix CI failure when disable bluetooth debug log 2022-04-26 15:06:50 +08:00
xiongweichao
b8c9bb4247 Add some bluetooth debug log 2022-03-28 11:28:50 +08:00
liqigan
4b3b77e4e8 fix SPP open with wrong remote bd_addr 2021-12-31 15:46:15 +08:00
Wang Meng Yang
e7687c7688 Merge branch 'bugfix/fix_spp_listen_err_v4.2' into 'release/v4.2'
Component_bt/Fix SPP cannot malloc slot bugs[backport v4.2]

See merge request espressif/esp-idf!16385
2021-12-21 05:28:25 +00:00
xiewenxiang
146bbe95be components/bt: Fix high duty cycle directed advertising will not be stopped when timeout 2021-12-14 14:10:29 +08:00
xiewenxiang
b3adae9b40 components/bt: Support low duty cycle directed advertising 2021-12-14 14:10:29 +08:00
liqigan
6c2d8ea653 fix SPP server bugs when the BTC layer can not allocate a slot for the listen port 2021-12-14 11:16:42 +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
d4c247dac6 Merge branch 'bugfix/fix_static_check_error_mr_4.2' into 'release/v4.2'
Fix the high-impact issues from the code analysis report from customer.

See merge request espressif/esp-idf!16046
2021-11-23 07:27:18 +00:00
xiongweichao
3beae7c8ef Add hci command to set coexistence status 2021-11-23 11:48:39 +08:00
“YangZhao”
4200865dd1 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 19:55:03 +08:00
xiongweichao
163dfb1091 already defined in bt_target.h 2021-11-22 11:47:00 +08:00
xiongweichao
1733159b08 Dereference after null check 2021-11-22 11:46:30 +08:00
xiongweichao
a8c653b094 Dereference before null check 2021-11-22 11:43:35 +08:00
xiongweichao
0ef796bfc2 Logically dead code 2021-11-22 11:43:05 +08:00
xiewenxiang
0dbd8701b5 component/bt: fix data length update failed 2021-10-13 19:43:47 +08:00
zhiweijian
cc8ef6b8d2 component/bt: add clear white list API 2021-09-22 15:59:45 +08:00
liqigan
cda9fc98e7 add FAQ in SPP demo README 2021-08-17 15:17:31 +08:00
Zim Kalinowski
0832580661 Merge branch 'bugfix/spp_connect_20_fail_v4.2' into 'release/v4.2'
component_bt: fix spp acceptor deadlock

See merge request espressif/esp-idf!14106
2021-07-26 01:43:06 +00:00
zwj
a8e8eead70 - fix data length update failed
- fix no callback when the value being used is the same as the value to be set
2021-06-28 14:59:17 +08:00
xiongweichao
77f880ff2b fix spp acceptor deadlock 2021-06-23 11:01:17 +08:00
Yang Zhao
24578ac17b bugfix:Set address resolution enable. If not set enable and the filter
policy is 2 or 3, the controller will reply with invalid param error.
2021-06-15 16:14:23 +08:00
Chinmay Chhajed
c1e204634f Bluedroid: Check only x component of passkey to avoid passkey impersonation attack. 2021-05-31 05:10:59 +00:00
zwj
34e8265821 update con state when getting connection cancle complete 2021-05-07 20:47:34 +08:00
zwj
3ebcb25fb1 fix multi-connection pair failed 2021-05-07 20:46:50 +08:00
Jiang Jiang Jian
f8307bcd4e Merge branch 'bugfix/spp_data_send_delay_v4.2' into 'release/v4.2'
Bugfix/spp data send delay v4.2

See merge request espressif/esp-idf!11772
2021-03-23 08:42:05 +00:00
Jiang Jiang Jian
9f3750cee7 Merge branch 'bugfix/btdm_backport_ble_bugs_21_01_29_v4.2' into 'release/v4.2'
Bugfix/btdm backport ble bugs  for v4.2

See merge request espressif/esp-idf!12197
2021-03-18 03:55:04 +00:00