Zim Kalinowski
ba059149aa
Merge branch 'bugfix/a2dp_deint_crash_v4.0' into 'release/v4.0'
...
component_bt: fix a2dp deinit crash(v4.0)
See merge request espressif/esp-idf!14419
2021-07-21 05:32:36 +00:00
xiongweichao
573b660797
Not initialized or in the process of de-initialization, calling API will return ERR
2021-07-19 20:22:22 +08:00
xiongweichao
d7fb0c1f07
fix a2dp deinit crash
2021-07-19 20:22:14 +08:00
Yang Zhao
5abd645cce
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-07-16 20:11:53 +08:00
Prasad Alatkar
817de5bee1
NimBLE: Fix build error for broadcaster role and bug in peer_dev_record (v4.0)
...
* Fix bug in nvs deletion of `ble_dev_record`.
* Update NimBLE submodule to nimble-1.1.0-idf
2021-07-13 13:56:03 +08:00
Wang Meng Yang
06ee358a09
Merge branch 'bugfix/fix_data_length_callback_param_err_v4.0' into 'release/v4.0'
...
Fixed data length update callback parameters error (back port v4.0)
See merge request espressif/esp-idf!14183
2021-07-02 12:16:31 +00:00
zwj
16e5b25c98
- fix data length update failed
...
- fix no callback when the value being used is the same as the value to be set
2021-06-29 14:16:03 +08:00
xiongweichao
8a45db1a7a
fix spp acceptor deadlock
2021-06-23 11:12:59 +08:00
Island
577aef29ad
Merge branch 'bugfix/btdm_enable_gattc_cache_will_crash_v4.0' into 'release/v4.0'
...
component/bt: fix enable gattc nvs cache lead to crash
See merge request espressif/esp-idf!13916
2021-06-10 02:56:25 +00:00
Chinmay Chhajed
e42479e129
Bluedroid: Check only x component of passkey to avoid passkey impersonation attack.
2021-06-08 10:09:21 +05:30
xiewenxiang
3892a92d80
component/bt: fix enable gattc nvs cache lead to crash
2021-06-07 18:03:19 +08:00
Prasad Alatkar
fc9f2e8782
NimBLE: Fix MITM vulnerability and free AES context (v4.0)
2021-05-25 14:57:37 +05:30
Prasad Alatkar
e123d89625
NimBLE: Update submodule to fix host flow control bugs.
2021-05-18 19:01:28 +05:30
Prasad Alatkar
b57b6f1adb
NimBLE: Fix host flow control in NimBLE porting layer.
...
- Register `ble_hs_flow_acl_free` callback in NimBLE porting layer.
2021-05-17 20:01:17 +05:30
Jiang Jiang Jian
9ee19a35b8
Merge branch 'bugfix/spp_data_send_delay_v4.0' into 'release/v4.0'
...
Bugfix/spp data send delay v4.0
See merge request espressif/esp-idf!11774
2021-05-08 09:47:23 +00:00
Jiang Jiang Jian
3907e8a067
Merge branch 'bugfix/bta_hf_client_sco_co_out_data_v4.0' into 'release/v4.0'
...
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected [backport v4.0]
See merge request espressif/esp-idf!12558
2021-05-08 07:28:38 +00:00
baohongde
09e665770f
components/bt: Add API to config QoS
2021-05-08 06:05:50 +00:00
baohongde
e1c9aafd46
components/bt: Add QOS for SPP, to decrease the delay from slave to master
2021-05-08 06:05:50 +00:00
zwj
eb9841e769
update con state when getting connection cancle complete
2021-05-08 03:42:02 +00:00
zwj
84df41cdf0
fix multi-connection pair failed
2021-05-08 03:42:02 +00:00
liaowenhao
acbcf13ee5
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected
2021-05-07 23:23:38 +00:00
XieWenxiang
1d1368858c
component/bt: Modify some ambiguous descriptions (release v4.0)
2021-05-07 08:08:39 +00:00
Jiang Jiang Jian
b2bcb609ad
Merge branch 'nimble/add_error_prints_acl_buf_v4.0' into 'release/v4.0'
...
NimBLE: Add error prints for ACL buffer exhaustion in NPL (v4.0)
See merge request espressif/esp-idf!12971
2021-04-22 06:04:33 +00:00
zwj
911ce08722
add connection parameter check
2021-04-21 12:21:57 +00:00
zwj
f637a0792d
fix ble connection maximum latency is 499
2021-04-21 12:21:57 +00:00
zwj
d0b8d53410
disable bluedroid congest error log print
2021-04-21 12:21:57 +00:00
zhiweijian
722035b846
fix read multi char failed(GATT_27001)
2021-04-21 12:21:57 +00:00
zhiweijian
fcf36466cd
fix add white list failed
2021-04-21 12:21:57 +00:00
zwj
47e5793c73
fix bluedroid repair faild if the two most significant bits of public address is '01'
2021-04-21 12:21:57 +00:00
zwj
d321ee69d5
- fix congest return value
...
- fix system no rsp when doing disconnect
- fix no congest event when ssc do writing performance
2021-04-21 12:21:57 +00:00
zwj
e0362061a5
fix ble read multi char err when the number of handles is more than 10
2021-04-21 12:21:57 +00:00
zwj
0776318c56
fix scan rsp length err
2021-04-21 12:21:57 +00:00
zwj
712feb1e81
fix vendor hci memory leak
2021-04-21 12:21:57 +00:00
Marius Vikhammer
531cab5fc4
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-04-12 08:44:04 +08:00
Prasad Alatkar
2045e8c701
NimBLE: Add error prints for ACL buffer exhaustion in NPL
2021-03-31 10:43:52 +05:30
Jiang Jiang Jian
33087e3f27
Merge branch 'component_bt/optimize_spp_stop_server_v4.0' into 'release/v4.0'
...
component_bt/Optimize SPP Stop Server API[backport v4.0]
See merge request espressif/esp-idf!12622
2021-03-22 12:59:10 +00:00
Jiang Jiang Jian
05e3e58ebb
Merge branch 'feature/add_init_and_deinit_evt_for_a2dp_4_0' into 'release/v4.0'
...
feature/ Add A2DP Init and Deinit Complete Evt [backport v4.0]
See merge request espressif/esp-idf!12152
2021-03-05 12:20:11 +00:00
Jiang Jiang Jian
3118147dc7
Merge branch 'bugfix/fix_a2dp_underrun_issue_4_0' into 'release/v4.0'
...
Fix A2DP Underrun Issue [backport v4.0]
See merge request espressif/esp-idf!12279
2021-03-05 12:17:53 +00:00
liqigan
75d4004ce6
add API esp_spp_stop_srv_scn
to stop a specific server
2021-03-04 15:46:10 +08:00
Chinmay Chhajed
ce21340dc5
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-10 15:41:40 +05:30
Chinmay Chhajed
c98b72326e
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-10 15:41:31 +05:30
weitianhua
ebe344f852
Fix A2DP Underrun Issue
2021-02-04 19:35:19 +08:00
weitianhua
1ae261dcdd
Add init & deinit event for a2dp
2021-01-26 10:54:15 +08:00
Jiang Jiang Jian
a61ec41740
Merge branch 'bugfix/btdm_blufi_send_custom_data_will_congested_after_connection_is_broken_v4.0' into 'release/v4.0'
...
component/bt: fix Blufi sends customer data will congested when connection is broken(backport v4.0)
See merge request espressif/esp-idf!11849
2021-01-19 21:44:35 +08:00
Chinmay Chhajed
c4fe4dbf67
Bluedroid: Do not connect if peer BD_ADDR is same as own BD_ADDR.
2021-01-14 12:23:04 +05:30
Jiang Jiang Jian
f2038b959a
Merge branch 'bugfix/fix_spp_vfs_dynamic_memory_bugs_v4.0' into 'release/v4.0'
...
component_bt/fix spp vfs demo crash when use dynamic memory[backport v4.0]
See merge request espressif/esp-idf!11729
2021-01-14 11:19:34 +08:00
XieWenxiang
f81bdd933e
component/bt: fix Blufi sends customer data will congested when connection is broken
2020-12-31 15:54:09 +08:00
Chinmay Chhajed
b3d5ed3a03
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:47 +05:30
liqigan
d64a19b73c
fix spp vfs demo crash when use dynamic memory
2020-12-23 15:26:58 +08:00
wangcheng
e11820cd5b
components/bt: Fixed the problem of early release of pointer(p_ccb) in funcion
2020-12-22 19:54:53 +08:00