Jin Cheng
f2000d8925
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:12:11 +08:00
wangmengyang
73cc09b118
components/bt: fixed the invalid workqueue number for BTU thread in Bluedroid
...
There should be only one workqueue for BTU task. The queue length for the second workqueue of BTU can be uninitialized and caused memory overflow and corruption.
Closes https://github.com/espressif/esp-idf/issues/9507
2022-08-11 16:18:12 +08:00
wangmengyang
6ffe0a5262
component/bt: consider to handle HCI LE Direct Advertising Report
2022-08-04 14:27:33 +08:00
Karl Wang
ca945e8211
component/bt: allocate and use one static buffer for HCI adv flow control command
2022-08-04 14:27:33 +08:00
wangmengyang
20705588b2
component/bt: use fixed_pkt_queue instead of fixed_queue for hci commands
...
some fixes after modifications:
1. removed the use of waiting_command_t
2. fix assert for HCI write_eir command
3. fixed the crash upon handling command status event when trying to free to the HCI command buffer
4. fixed the issue in transmitting HCI vendor specific commands
5. fixed the lost command complete callbacks for HCI commands LE_RAND and LE_ENCRYPT
2022-08-04 14:27:32 +08:00
wangmengyang
2da8b2c78b
component/bt: fix adv report flow control logic, give ADV report credits every 10 packets
2022-08-04 14:27:32 +08:00
wangmengyang
64572b7ff2
component/bt: add simple ADV flow control mechanism -- drop the packets when the adv report queues are considered full
2022-08-04 14:27:31 +08:00
wangmengyang
f16e5df27f
component/bt: use the OSI utility "pkt_queue" to store ADV report packet in btu layer
...
# Conflicts:
# components/bt/host/bluedroid/hci/hci_hal_h4.c
2022-08-04 14:27:30 +08:00
wangmengyang
26d2011442
component/bt: make OSI thread workqueue length configurable through API
...
reduce the length of workqueue1 for BTC and HCI task
# Conflicts:
# components/bt/common/osi/thread.c
2022-08-04 14:25:02 +08:00
zhiweijian@espressif.com
197371d085
Fixed bluedroid host memory overflow
2022-07-20 09:12:46 +00:00
Jiang Jiang Jian
0df62cf49a
Merge branch 'bugfix/ble_50_sync_periodic_adv_lost_data_v4.3' into 'release/v4.3'
...
components/bt: Fix ble sync periodic adv report will lost data(backport release/v4.3)
See merge request espressif/esp-idf!18959
2022-07-13 11:01:05 +08:00
Rahul Tank
e28ec880a3
Bluedroid: Fixed compilation error due to incorrect macro name
2022-07-12 09:44:23 +05:30
xiewenxiang
730094a3ef
components/bt: Fix ble sync periodic adv report lost data issue
2022-07-11 16:49:26 +08:00
xiongweichao
21fbc7355a
Fix AVDTP general reject format error.
2022-06-17 10:21:10 +08:00
keymoon
8aa0f77863
assign value to uninitialized bt_addr
field
2022-05-29 18:06:45 -07:00
xiongweichao
30b2cad3b7
Fix CI failure when disable bluetooth debug log
2022-04-26 15:14:26 +08:00
xiongweichao
b729bf804d
Add some bluetooth debug log
2022-03-28 11:13:10 +08:00
Wang Meng Yang
f68da60831
Merge branch 'bugfix/fix_bluedroid_compile_issue_v4.3' into 'release/v4.3'
...
components/bt: Fix bluedroid compile issue(backport release/v4.3)
See merge request espressif/esp-idf!16593
2022-01-11 09:52:16 +00:00
Wang Meng Yang
06f2f1c6b2
Merge branch 'bugfix/fix_null_pointer_deference_issue_4.3_mr' into 'release/v4.3'
...
Fix the null pointer deference issue via Reconnection Spamming
See merge request espressif/esp-idf!16638
2022-01-10 08:44:25 +00:00
Wang Meng Yang
b9c5ef1717
Merge branch 'bugfix/fix_spp_open_err_bda_v4.3' into 'release/v4.3'
...
Component_bt/Fix SPP acceptor open with wrong remote address[backport 4.3]
See merge request espressif/esp-idf!16614
2022-01-06 04:06:42 +00:00
“YangZhao”
74f4d07c3b
There is an issue that if the the btm_cb.p_sec_dev_rec_list is full,but at the same
...
time we can't find old device to be replaced,then this can cause crash. So we need
to change the way to malloc the new device or replace the old in the list.
2022-01-04 11:09:44 +08:00
liqigan
04bea91b38
fix SPP open with wrong remote bd_addr
2021-12-30 16:36:51 +08:00
xiewenxiang
abacbb1d12
components/bt: Fix bluedroid compile issue
2021-12-30 11:58:21 +08:00
xiewenxiang
ab2148a390
component/bt: fix periodic adv parameters detection issue
2021-12-29 15:03:28 +08:00
Jiang Jiang Jian
31d1156c6d
Merge branch 'bugfix/fix_can_not_find_mac_addr_error_mr_4.3' into 'release/v4.3'
...
fix can not find mac addr error
See merge request espressif/esp-idf!16146
2021-12-22 13:33:29 +00:00
Wang Meng Yang
450b05a64a
Merge branch 'bugfix/fix_spp_listen_err_v4.3' into 'release/v4.3'
...
Component_bt/Fix SPP cannot malloc slot bugs[backport v4.3]
See merge request espressif/esp-idf!16384
2021-12-21 04:35:07 +00:00
Wang Meng Yang
91d7557579
Merge branch 'feature/support_ble_direct_ind_low_adv_v4.3' into 'release/v4.3'
...
components/bt: Support low duty cycle directed advertising(backport release/v4.3)
See merge request espressif/esp-idf!16378
2021-12-21 03:27:09 +00:00
liqigan
a269df84e9
fix SPP server bugs when the BTC layer can not allocate a slot for the listen port
2021-12-14 11:07:29 +08:00
xiewenxiang
a7900f871f
components/bt: Fix high duty cycle directed advertising will not be stopped when timeout
2021-12-14 09:33:24 +08:00
xiewenxiang
d4cc192782
components/bt: Support low duty cycle directed advertising
2021-12-14 09:33:17 +08:00
Yang Zhao
f2d6cb7298
Add the feature that switch random address to origin mac addr in the ADV
...
report data.
2021-11-30 14:27:32 +08:00
Jiang Jiang Jian
0c77b89e13
Merge branch 'feature/add_coex_hci_command_v4.3' into 'release/v4.3'
...
Add hci command to set coexistence status (4.3)
See merge request espressif/esp-idf!16054
2021-11-25 08:02:14 +00:00
Jiang Jiang Jian
96b284bcd3
Merge branch 'bugfix/fix_static_check_error_mr_4.3' into 'release/v4.3'
...
Fix the high-impact issues from the code analysis report from customer.
See merge request espressif/esp-idf!16045
2021-11-23 06:36:23 +00:00
xiongweichao
8a9ca26d61
Add hci command to set coexistence status
2021-11-23 11:40:17 +08:00
“YangZhao”
911847e3ea
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:46:14 +08:00
xiongweichao
97e728a9aa
Dereference null return value
2021-11-22 10:47:23 +08:00
xiongweichao
a977434855
already defined in bt_target.h
2021-11-22 10:47:12 +08:00
xiongweichao
50f34eb553
Dereference after null check
2021-11-22 10:47:07 +08:00
xiongweichao
a7f26d24d9
Dereference before null check
2021-11-22 10:47:01 +08:00
xiongweichao
6576cee0e8
Logically dead code
2021-11-22 10:46:55 +08:00
Wang Meng Yang
625bd4f767
Merge branch 'bugfix/btdm_fix_some_bluedroid_issues_v4.3' into 'release/v4.3'
...
Fix some bluedroid issues(backport v4.3)
See merge request espressif/esp-idf!15230
2021-10-21 03:49:20 +00:00
xiewenxiang
594f604e7d
component/bt: fix data length update failed
2021-10-13 19:55:43 +08:00
xiewenxiang
5a26d7008d
component/bt: set ext adv param failed when stop ext adv
2021-10-08 11:58:15 +08:00
Jiang Jiang Jian
28b768807e
Merge branch 'bugfix/bt_legacy_paring_wrong_pin_code_err_v4.3' into 'release/v4.3'
...
bugfix/fix the crash when using legacy paring with wrong pin code (v4.3)
See merge request espressif/esp-idf!15298
2021-09-30 01:12:54 +00:00
jincheng
e08f69aaff
bugfix/fix the crash when using legacy paring with wrong pin code
...
Close https://github.com/espressif/esp-idf/issues/7556
2021-09-22 14:55:53 +08:00
Wang Meng Yang
5e7d08d083
Merge branch 'bugfix/build_warning_unused_variable' into 'release/v4.3'
...
bugfix/remove unused variable which caused to build warnings
See merge request espressif/esp-idf!15105
2021-09-08 11:56:04 +00:00
jincheng
2845b70f83
remove unused variable which caused to build warning
2021-09-07 19:15:36 +08:00
liqigan
fb53ea7d22
add FAQ in SPP demo README
2021-08-16 09:18:12 +08:00
xiewenxiang
032f6d34d1
component/bt: add local irk to controller
2021-08-06 18:19:25 +08:00
xiewenxiang
192aa18c31
Fixed ESP32 BLE can't resolve the peer address when enable white list
2021-07-30 15:09:00 +08:00