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
ad09955b1f
fix crash when creating aux open failed, fix GAP_22026 failed
2021-01-15 18:05:18 +08:00
zwj
273d2fd5ec
fix multi-connection crash (smp-08003)
2021-01-15 18:05:04 +08:00
zhiweijian
e81104f377
fix add white list failed
2021-01-15 18:04:45 +08:00
zwj
61b1a4b7b8
fix bluedroid repair faild if the two most significant bits of public address is '01'
2021-01-15 18:04:27 +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
0880c7bcf9
fix ble read multi char err when the number of handles is more than 10
2021-01-15 18:03:39 +08:00
zwj
4a719daa78
fix scan rsp length err
2021-01-15 18:03:27 +08:00
zwj
796a959fa5
fix vendor hci memory leak
2021-01-15 18:03:15 +08:00
zwj
7c1c669799
component/bt: add BLE v5.0 feature for bluedroid host
2021-01-15 17:55:12 +08:00
Island
1e73d90c29
Merge branch 'bugfix/bluedroid_avoid_same_bdaddr_conn' into 'master'
...
Bluedroid: Do not connect if peer BD_ADDR is same as own BD_ADDR.
See merge request espressif/esp-idf!11806
2021-01-14 14:47:21 +08:00
Jiang Jiang Jian
b790a1866f
Merge branch 'bugfix/btdm_blufi_send_custom_data_will_congested_after_connection_is_broken' into 'master'
...
component/bt: fix Blufi sends customer data will congested when connection is broken
See merge request espressif/esp-idf!11845
2021-01-06 12:29:20 +08:00
Chinmay Chhajed
e016b6b79b
Bluedroid: Do not connect if peer BD_ADDR is same as own BD_ADDR.
2021-01-05 14:54:15 +05:30
Bao Hong De
64d30fa6c4
Add API to config QoS
2021-01-05 10:32:47 +08:00
XieWenxiang
ba89eeabfa
component/bt: fix Blufi sends customer data will congested when connection is broken
2020-12-31 14:45:23 +08:00
Chinmay Chhajed
d73ebb570b
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-24 10:52:12 +00:00
Jiang Jiang Jian
52e66cb143
Merge branch 'bugfix/fix_spp_vfs_dynamic_memory_bugs' into 'master'
...
component_bt/fix spp vfs demo crash when use dynamic memory
See merge request espressif/esp-idf!11502
2020-12-23 12:36:44 +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
liqigan
478cef9b75
fix spp vfs demo crash when use dynamic memory
2020-12-09 19:46:43 +08:00
xiewenxiang
945606b658
component/bt: support BLE Read Attribute value by UUID
2020-12-02 20:04:36 +08:00
xiewenxiang
7e5e0ba7de
component/bt: refactor ble random address setting
2020-12-02 09:08:31 +08:00
XieWenxiang
e840191a0c
component/bt: support BLE Application Layer Encryption key size check
2020-12-02 09:08:03 +08:00
XieWenxiang
366b036ba5
component/bt: support BLE Authorization
2020-12-02 09:07:24 +08:00
xiewenxiang
3d8eb26fe1
component/bt: fix incorrect encryption flag setting
2020-12-02 09:06:44 +08:00
Artem Godlevskyi
3caa9699ae
Added missing MYNEWT_VAL_BLE_L2CAP_COC_MPS definition
...
Signed-off-by: Prasad Alatkar <prasad.alatkar@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/5825
2020-11-27 11:50:03 +00:00
Prasad Alatkar
922a994896
NimBLE: Fix misc coverity issues in NimBLE host
...
- NimBLE NVS : Additional check to account for NVS operation failure
- NimBLE host: Fix minor bug in ble_eddystone_set_adv_data_gen
- NimBLE host: remove recursive call, upstream PR: https://github.com/apache/mynewt-nimble/pull/857
2020-11-27 11:50:03 +00:00
wangcheng
d1bf93e055
component/bt: Add a macro to control the compilation of blufi.
2020-11-24 10:43:18 +08:00
wangcheng
714d88e426
component/bt: Fix a potential double free error.
2020-11-24 10:22:40 +08:00
wangcheng
709ad66d44
blufi: fix an error caused by incorrect conn_id parameters.
2020-11-24 10:22:32 +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
weitianhua
08eace5a26
Fix crash cause by calling a2dp deinit when connected
2020-11-10 07:25:57 +00:00
Jiang Jiang Jian
6bed9ec70c
Merge branch 'bugfix/fix_ag_outging_callback_not_triggered' into 'master'
...
Bugfix/Fix Ag Example Outgoing Callback Not Triggered
Closes BTCI-50
See merge request espressif/esp-idf!10828
2020-10-28 19:57:02 +08:00
lly
5f146455f3
component/bt: Fix gatt clcb use-after-free issue
2020-10-28 02:42:28 +00:00
Jiang Jiang Jian
b3ce1db97a
Merge branch 'bugfix/fix_spp_read_flow_control' into 'master'
...
component_bt/fix spp flow control and vfs write
Closes BT-1011
See merge request espressif/esp-idf!10331
2020-10-20 20:26:19 +08:00
liqigan
743c1c1f20
fix ag example outgoing callback not triggered
...
Closes https://github.com/espressif/esp-idf/issues/4967
2020-10-14 09:47:16 +08:00
Chinmay Chhajed
3c0f06adb2
NimBLE: host_rcv_pkt event buf size check.
...
Check if the size of HCI event buffer is greater than the received HCI
packet. If not then abort with the error message.
2020-10-05 12:14:47 +00:00
liqigan
93ba9ba15c
replace list and ringbuffer with fixed queue
...
use eventgroup to sync spp_vfs_write
each connection has a switch_delay_timer not sharing a one
revert functions like spp_find_slot_by_xxx
fix vfs read bug when peer close
2020-09-29 17:19:29 +08:00
liqigan
14f48d35bd
move flow control to btc layer
...
defer free slot in btc layer when receive BTA_JV_RFCOMM_CLOSE_EVT
2020-09-29 17:15:11 +08:00
liqigan
eff892933c
add event when calling spp API failed
2020-09-29 17:15:11 +08:00
Jiang Jiang Jian
96d59ff3e9
Merge branch 'bugfix/fix_bredr_read_rssi_delta' into 'master'
...
Bugfix/Fix Read Rssi Delta Bug in Bredr
Closes IDFGH-3739
See merge request espressif/esp-idf!10574
2020-09-29 16:47:43 +08:00
Jiang Jiang Jian
caba103d51
Merge branch 'bugfix/add_clear_bond_complete_evt' into 'master'
...
componenet_bt/bugfix: add remove bond device complete event
Closes BT-1013
See merge request espressif/esp-idf!10342
2020-09-28 14:39:40 +08:00
baohongde
acce9e5fea
components/bt: Replace task post with btc_inter_profile_call, when post message from btc_dm to btc_gap
2020-09-27 19:55:12 +08:00
baohongde
dac798afbb
components/bt: Fix crash in BTM_SetPowerMode after disconnect
...
Introduced by commit 0583a049
2020-09-27 19:55:12 +08:00
baohongde
ecd75ec652
components/bt: Fix clear bond fail when connected without ble included
2020-09-27 19:55:12 +08:00
xiongweichao
4e4c86b267
add remove bond device complete event
2020-09-27 19:55:12 +08:00
liqigan
ba51da8c91
1. fix read rssi delta bug in bredr
...
2. modify read rssi related function names
Closes https://github.com/espressif/esp-idf/issues/5660
2020-09-27 10:44:18 +08:00
xiongweichao
b0c4988d69
1.revert dummy command
...
2.fix send MEDIA_CTRL command in disconnect
2020-09-25 11:14:24 +08:00
xiongweichao
84cacaba51
1.fix test case dummy
...
2.fix sink send media control ESP_A2D_MEDIA_CHECK_SRC_RDY
2020-09-25 10:54:13 +08:00