liqigan
a4f6af013c
fix a2dp sink RxSbcQ bugs
...
Closes https://github.com/espressif/esp-idf/issues/6712
Closes https://github.com/espressif/esp-idf/issues/7100
2021-06-21 20:14:34 +08:00
Island
4921446d3d
Merge branch 'bugfix/btdm_enable_gattc_cache_will_crash_v4.2' into 'release/v4.2'
...
component/bt: fix enable gattc nvs cache lead to crash
See merge request espressif/esp-idf!13889
2021-06-09 03:46:27 +00:00
xiewenxiang
8491705b63
component/bt: fix enable gattc nvs cache lead to crash
2021-06-07 17:34:47 +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
xiongweichao
8e7f7dfe59
Remove btc_hf_idx_by_bdaddr in both btc_hf_init and btc_hf_deinit functions
2021-05-25 07:06:22 +00:00
xiongweichao
b257ad7d9e
fix ag use dynamic memory error
2021-05-25 07:06:22 +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
Wang Meng Yang
7223c8db5b
Merge branch 'bugfix/btdm_incorrectly_spelled_v4.2' into 'release/v4.2'
...
component/bt: fix Spelling mistakes (release v4.2)
See merge request espressif/esp-idf!12816
2021-05-07 08:10:02 +00:00
Marius Vikhammer
56e7cb0c70
docs: fix doxygen compile warnings for doxygen 1.9.1
...
Newer versions of doxygen will give warnings for comments in
INPUT lists
Delete all comment lines to fix these warnings, our folder structure
stil gives an OK overview of what we are including
2021-05-05 18:14:19 +08:00
XieWenxiang
bfa07bb9d8
component/bt: Modify some ambiguous descriptions (release v4.2)
2021-03-23 23:10:51 +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
59d3116e41
Merge branch 'bufix/ag_deep_copy_crash_v_4_2' into 'release/v4.2'
...
components/bt: Fix crash in btc_hf_arg_deep_copy when name or number is NULL
See merge request espressif/esp-idf!12789
2021-03-22 08:01:23 +00:00
Jiang Jiang Jian
0d5286471a
Merge branch 'component_bt/optimize_spp_stop_server_v4.2' into 'release/v4.2'
...
component_bt/Optimize SPP Stop Server API[backport v4.2]
See merge request espressif/esp-idf!12620
2021-03-19 04:01:17 +00:00
xiongweichao
f6f644bf81
components/bt: Fix crash in btc_hf_arg_deep_copy when name or number is NULL
2021-03-18 20:20:19 +08:00
Jiang Jiang Jian
e027f962df
Merge branch 'bugfix/bta_hf_client_sco_co_out_data_v4.2' into 'release/v4.2'
...
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected [backport v4.2]
See merge request espressif/esp-idf!12560
2021-03-18 04:04:17 +00:00
Jiang Jiang Jian
4f4cd08aad
Merge branch 'bugfix/avrc_set_player_value_cmd_event_unhandle_v_4_2' into 'release/v4.2'
...
bugfix/fix unhandle RC vendor PDU when tg receive set_player_app_value cmd[backport v4.2]
See merge request espressif/esp-idf!12099
2021-03-18 04:03:49 +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
Jiang Jiang Jian
fa2c4fe622
Merge branch 'bugfix/fix_a2dp_underrun_issue_4_2' into 'release/v4.2'
...
Fix A2DP Underrun Issue [backport v4.2]
See merge request espressif/esp-idf!12277
2021-03-10 14:30:28 +00:00
Jiang Jiang Jian
e1f1d11b76
Merge branch 'feature/add_init_and_deinit_evt_for_a2dp_4_2' into 'release/v4.2'
...
feature/ Add A2DP Init and Deinit Complete Evt [backport v4.2]
See merge request espressif/esp-idf!12150
2021-03-05 12:19:18 +00:00
liqigan
60b6968e80
add API esp_spp_stop_srv_scn
to stop a specific server
2021-03-04 15:33:47 +08:00
liaowenhao
8375bb94a4
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected
2021-03-01 11:34:15 +08:00
liaowenhao
bfb14130ac
bugfix:unhandle event when tg receive set_player_app_value cmd
2021-02-24 07:47:08 +00:00
zwj
1b1c917321
add connection parameter check
2021-02-18 09:39:01 +00:00
zwj
171e2c5b1e
fix ble connection maximum latency is 499
2021-02-18 09:39:01 +00:00
zwj
6d8a3f0d94
disable bluedroid congest error log print
2021-02-18 09:39:01 +00:00
zhiweijian
c759dade01
fix read multi char failed(GATT_27001)
2021-02-18 09:39:01 +00:00
zhiweijian
2e949ca9ac
fix add white list failed
2021-02-18 09:39:01 +00:00
zwj
5d514fdb35
fix bluedroid repair faild if the two most significant bits of public address is '01'
2021-02-18 09:39:01 +00:00
zwj
d5951d3c9e
- fix congest return value
...
- fix system no rsp when doing disconnect
- fix no congest event when ssc do writing performance
2021-02-18 09:39:01 +00:00
zwj
70589fc49d
fix ble read multi char err when the number of handles is more than 10
2021-02-18 09:39:01 +00:00
zwj
66b1f37c8b
fix scan rsp length err
2021-02-18 09:39:01 +00:00
zwj
c5afe0ea2d
fix vendor hci memory leak
2021-02-18 09:39:01 +00:00
Chinmay Chhajed
24291f7a3b
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-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
weitianhua
d254804a62
Fix A2DP Underrun Issue
2021-02-04 19:33:14 +08:00
weitianhua
186ebc61e7
Add init & deinit event for a2dp
2021-01-26 10:51:47 +08: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
Jiang Jiang Jian
70ecd0e92c
Merge branch 'bugfix/btdm_blufi_send_custom_data_will_congested_after_connection_is_broken_v4.2' into 'release/v4.2'
...
component/bt: fix Blufi sends customer data will congested when connection is broken(backport v4.2)
See merge request espressif/esp-idf!11847
2021-01-06 12:29:44 +08:00
Jiang Jiang Jian
caddd5d9fa
Merge branch 'bugfix/fix_spp_vfs_dynamic_memory_bugs_v4.2' into 'release/v4.2'
...
component_bt/fix spp vfs demo crash when use dynamic memory[backport v4.2]
See merge request espressif/esp-idf!11726
2021-01-06 12:20:22 +08:00
baohongde
f3c9a71138
components/bt: Add API to config QoS
2021-01-04 11:53:04 +08:00
XieWenxiang
5da8c3f8de
component/bt: fix Blufi sends customer data will congested when connection is broken
2020-12-31 15:38:49 +08:00
Chinmay Chhajed
235628355f
Bluedroid: Fixes for some vulnerabilities.
...
This commit fixes 'Impersonation in Passkey entry protocol'
(CVE-2020-26558) and suggests fixes for other vulnerabilites like
'Impersonation in the Pin Pairing Protocol' (CVE-2020-26555) and
'Authentication of the LE Legacy Pairing Protocol'
CVE-2020-26558 can be easily implemented if the peer device can
impersonate our public key. This commit adds a check by comparing our
and received public key and returns failed pairing if keys are same.
This commit also adds comments suggesting to use secure connection when
supported by all devices.
2020-12-25 16:01:11 +05:30
baohongde
567562a0fb
components/bt: Add QOS for SPP, to decrease the delay from slave to master
2020-12-25 14:51:15 +08:00
liqigan
40873d2026
fix spp vfs demo crash when use dynamic memory
2020-12-23 15:06:34 +08:00
wangcheng
9ca6aee845
components/bt: Fixed the problem of early release of pointer(p_ccb) in funcion
2020-12-18 11:32:31 +08:00
Jiang Jiang Jian
f03d543139
Merge branch 'bugfix/blufi_config_potential_double_free_v4.2' into 'release/v4.2'
...
Bugfix/blufi config potential double free v4.2
See merge request espressif/esp-idf!11163
2020-12-09 22:26:19 +08:00
xiewenxiang
9dbf59af9c
component/bt: support BLE Read Attribute value by UUID
2020-12-03 15:19:44 +08:00
xiewenxiang
4e8d383d01
component/bt: refactor ble random address setting
2020-12-03 15:19:35 +08:00
XieWenxiang
8533c452a1
component/bt: support BLE Application Layer Encryption key size check
2020-12-03 15:19:27 +08:00