xiongweichao
873a759f48
fix spp acceptor deadlock
2021-08-19 08:11:44 +08:00
Yang Zhao
77c7d3be1c
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 20:08:04 +08:00
Jiang Jiang Jian
aa8f1bef1e
Merge branch 'bugfix/btdm_backport_ble_bugs_21_01_29_v3.3' into 'release/v3.3'
...
Bugfix/btdm backport ble bugs v3.3
See merge request espressif/esp-idf!12440
2021-04-22 05:59:38 +00:00
Jiang Jiang Jian
c8915cd157
Merge branch 'bugfix/fix_spp_can_not_connect_twice' into 'release/v3.3'
...
Bugfix/Fix SPP Reconnect Failed after Disconnet
See merge request espressif/esp-idf!12241
2021-03-04 03:37:21 +00:00
zhiweijian
c02d5a4d85
fix ble connection maximum latency is 499
2021-02-22 15:11:03 +08:00
zhiweijian
7ffe2c3136
disable bluedroid congest error log print
2021-02-22 14:58:59 +08:00
zhiweijian
1f4d3ac30a
fix bluedroid repair faild if the two most significant bits of public address is '01'
2021-02-22 14:54:01 +08:00
zhiweijian
928e004208
fix ble read multi char err when the number of handles is more than 10
2021-02-22 14:51:33 +08:00
zhiweijian
db72885f15
fix scan rsp length err
2021-02-22 14:45:05 +08:00
Chinmay Chhajed
4936e8f86c
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 17:16:47 +05:30
Chinmay Chhajed
6a4e69f442
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 17:12:27 +05:30
liqigan
539718735b
fix spp connect failed or discovery failed after the first connection release
2021-02-03 17:23:45 +08:00
Chinmay Chhajed
092dc133cc
Bluedroid: Do not connect if peer BD_ADDR is same as own BD_ADDR.
2021-01-14 14:32:58 +05:30
weitianhua
282d234ea5
components/bt: Fixed the problem of early release of pointer(p_ccb) in funcion
2020-12-22 15:12:55 +08:00
wangcheng
ddab5b2a2a
component/bt: Fixed the watchdog timeout of btu task during multi-connection
2020-12-11 11:27:35 +08:00
wangcheng
3622e29465
components/bt: Fixed the state not synchronized between controller and host when disconnected.
2020-12-11 11:27:35 +08:00
liqigan
7a52ed2f15
fix spp flow control and vfs write
2020-12-10 10:44:44 +08:00
Jiang Jiang Jian
0416586dcc
Merge branch 'bugfix/add_protection_for_spp_api_3_3' into 'release/v3.3'
...
componnet_bt:/ Add protection for btc and some comment correction [backport v3.3]
See merge request espressif/esp-idf!11455
2020-12-09 22:10:26 +08:00
xiewenxiang
a15ce322b5
component/bt: support BLE Read Attribute value by UUID
2020-12-03 21:04:21 +08:00
xiewenxiang
dfefe7bfd7
component/bt: refactor ble random address setting
2020-12-03 20:44:58 +08:00
xiewenxiang
ea678c3fd1
component/bt: support BLE Application Layer Encryption key size check
2020-12-03 20:36:19 +08:00
xiewenxiang
456d3461a1
component/bt: support BLE Authorization
2020-12-03 20:25:47 +08:00
xiewenxiang
1896249485
component/bt: fix incorrect encryption flag setting
2020-12-03 20:07:05 +08:00
weitianhua
3e3445811a
Correct some debug log for BT Stack & Add protection for rfcomm close API in SPP
2020-12-03 19:29:20 +08:00
Jiang Jiang Jian
410d59d53d
Merge branch 'feature/esp_spp_stop_srv_v3.3' into 'release/v3.3'
...
bugfix/Add API esp_spp_stop_srv and fix collection of SPP [backport v3.3]
See merge request espressif/esp-idf!10010
2020-10-26 11:46:56 +08:00
boblane
c5b23a85b8
Some Bluetooth devices - such as an Xbox One S controller (model 1708) - report more than two external features pages and are rejected immediately. Pages 1 and 2 are marked as unhandled in btm_devctl.c anyway, so there is no reason to block devices with more pages.
...
(IDFGH-3515)
Signed-off-by: liqigan <liqigan@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/5481
Closes https://github.com/espressif/esp-idf/issues/5470
2020-10-23 06:14:24 +00:00
liqigan
35b2eeaa65
add API esp_spp_stop_srv(), fix the error parameter in esp-idf/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/example_spp_initiator_demo.c and fix collection of SPP
...
Closes https://github.com/espressif/esp-idf/issues/5409
Closes https://github.com/espressif/esp-idf/pull/5408
See merge request !9114
2020-10-22 08:33:39 +00:00
Wang Cheng
bfaa14bfdd
component/bt: Fix buffer count deinit crash.
2020-08-10 11:43:54 +08:00
wangcheng
12d476427f
components/bt: Add api to query the number of available buffers for the current connection
2020-08-10 11:43:54 +08:00
Chinmay Chhajed
99d572700d
Bluedroid: Authentication fixes in Legacy and Secure Connection.
...
Prevent a remote device from doing a Bluetooth Impersonation Attack
(BIAS) by:
- Preventing remote device to downgrade secure connection
feature mask. Secure connection feature mask should remain same or
increase to enabled in link key generation and authentication.
- Doing a mutual authentication during Legacy Authentication.
2020-06-25 13:59:14 +00:00
weitianhua
afae411857
Remove (x2) varible for BCM_STRNCPY_S and BCM_STRCPY_S
2020-06-02 08:30:02 +00:00
zwj
38e98acca1
:add congest direct callback and modify congest evt triger threshold
2020-05-28 12:06:10 +00:00
wangcheng
340e40abbe
master missing BLE_AUTH_CMPL_EVT after restart
2020-05-28 12:06:10 +00:00
xiewenxiang
23474dc737
component/bt: fix don't dequeue the command queue after process the read_by_type_req(backport v3.3)
2020-03-31 16:45:57 +08:00
gengyuchao
ab175f8845
fix allow to send stop adv hci cmd when host adv state is disable
2020-03-16 21:37:07 +08:00
June
2548168277
backport mr !6031 - fix security info restore bug
2020-02-21 20:17:17 +08:00
Jiang Jiang Jian
7ab0a59bb3
Merge branch 'bugfix/host_and_example_bugfix_backport_to_v3.3' into 'release/v3.3'
...
Bugfix/host and example bugfix backport to v3.3
See merge request espressif/esp-idf!7723
2020-02-21 18:15:48 +08:00
Jiang Jiang Jian
7d1c44fb7e
Merge branch 'bugfix/btdm_role_switch_v3.3' into 'release/v3.3'
...
Fix bugs about role switch
See merge request espressif/esp-idf!7721
2020-02-21 17:49:46 +08:00
gengyuchao
94255c421d
Fix some typo in idf release v3.3
2020-02-20 20:05:10 +08:00
baohongde
74b964ed67
Fix bugs about role switch
...
Jitter in FHS
Jitter in first PULL
Receive EDR packet fail after role switch
2020-02-20 19:11:45 +08:00
gengyuchao
6241139685
example/ble_throughput:
...
Fixed the throughput wasting memory and packet loss issues.
Fixed the throughput crash bug because of using the Mutex.
2020-02-20 18:05:23 +08:00
Jiang Jiang Jian
91f0fcc3b3
Merge branch 'feat/nimble_esp_ble_mesh_v3.3' into 'release/v3.3'
...
Add support of NimBLE host in ESP-BLE-Mesh (backport v3.3)
See merge request espressif/esp-idf!7510
2020-02-14 16:43:05 +08:00
Hrishikesh Dhayagude
cf6f1e8246
Add support of NimBLE host in ESP-BLE-Mesh - v3.3
2020-02-13 12:33:23 +05:30
Xia Xiaotian
a41443184e
components/esp_wifi: improve coexistence performance according to specific WiFi/BT/BLE scienario
...
1. Improve WiFi throughput in some Classic BT scienarios(idle, inquire scan,
connected, sniff, a2dp pause, etc).
2. Support WiFi + Classic BT + BLE mesh coexistence scienario.
3. Improve WiFi scan and connect succeed ratio in coexistence scienario.
4. Do not support to choose software coexistence preference anymore for it is
determined according to coexistence scienario automatically.
components/lwip: increase TCP send buffer and receive window limitation when TCP window scale is enabled
components/ble_mesh: Fix some bugs about ble mesh
1. fix send acl pkt after ble have sent terminate ind modify min adv interval to 10ms.
2020-02-12 16:13:28 +08:00
Geng Yu Chao
db8bcc60f9
Bugfix/btdm fix doc and host bug backport v3.3
2019-12-18 14:19:13 +08:00
baohongde
28c19e623f
components/bt: Disable BR/EDR GATT
2019-10-29 10:10:52 +00:00
Prasad Alatkar
9c87165bc8
BT/Bluedroid : Add support to set min encryption key requirement (Backport v3.3)
...
- Backport(v3.3) of IDF MR!6122
- Modifies `smp_utils.c` to add check on encryption key size received from
peer.
- Modifies `esp_ble_gap_set_security_param` API to add minimum encryption key
size requirement.
2019-09-29 16:06:27 +08:00
Jiang Jiang Jian
39ac9cb44b
Merge branch 'bugfix/btdm_fix_hci_enhance_conn_complete_evt_unpack_error_v3.3' into 'release/v3.3'
...
component/bt: fix unpack hci enhance connection complete event error(backport v3.3)
See merge request espressif/esp-idf!5281
2019-09-08 23:11:18 +08:00
baohongde
b9f2531e8c
components/bt: Fix memory leak about rfcomm
2019-07-25 16:51:40 +08:00
zhiweijian
0e022b7db9
component/bt: fix unpack hci enhance connection complete event error
2019-06-24 03:23:59 +00:00