Jiang Jiang Jian
db6bc89b8c
Merge branch 'bugfix/leedarson_v4.4' into 'release/v4.4'
...
component_bt: Fix some code logic errors (v4.4)
See merge request espressif/esp-idf!16016
2021-11-30 03:52:24 +00:00
xiongweichao
a946b6042a
Dereference after null check
2021-11-23 11:31:06 +08:00
“YangZhao”
4345e15f23
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:41:50 +08:00
jincheng
c592da5308
bugfix/fix the crash when using legacy paring with wrong pin code
...
Close https://github.com/espressif/esp-idf/issues/7556
2021-09-23 07:40:54 +08:00
xiewenxiang
95c35288bc
component/bt: add local irk to controller
2021-08-05 17:32:08 +08:00
zwj
f344a65af5
fix crash caused by spp pairing cancel
2021-02-18 21:10:25 +08:00
Chinmay Chhajed
fb3a382fe4
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-09 12:09:15 +05:30
Chinmay Chhajed
5596f37af1
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-09 12:09:15 +05:30
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
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
xiewenxiang
945606b658
component/bt: support BLE Read Attribute value by UUID
2020-12-02 20:04:36 +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
Jiang Jiang Jian
84aebc6a78
Merge branch 'feature/bluedroid_link_based_dynamic_allocation' into 'master'
...
Bluedroid stack dynamic allocation changes to optimise DRAM usage
See merge request espressif/esp-idf!9461
2020-07-16 00:06:10 +08:00
sushant.chougule
0583a04969
Bluedroid stack dynamic allocation changes to optimise DRAM usage
...
Structures allocated dynamically:
tACL_CONN, tBTM_PM_MCB, tBTM_SEC_DEV_REC, tGATT_TCB, tGATT_CLCB, tL2C_LCB, tL2C_CCB, tSDP_RECORD
Total dynamic allocation size ~19KB.
Peak dram usage reduced by ~12KB when in BT classic + BLE scenario(1 a2dp sink + 1 BLE gatt server)
2020-07-15 14:44:10 +05:30
Li Qi Gan
f6f2d9780b
add API esp_spp_stop_srv() and fix the error parameter in esp-idf/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/example_spp_initiator_demo.c
...
Closes https://github.com/espressif/esp-idf/issues/5409
Closes https://github.com/espressif/esp-idf/pull/5408
See merge request espressif/esp-idf!9114
2020-07-15 15:49:37 +08:00
Chinmay Chhajed
e3350e7861
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.
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2020-06-25 15:37:01 +05:30
weitianhua
0d2790a429
Remove (x2) variable in BCM_STRNCPY_S and BCM_STRCPY_S when performance optimization enabled
2020-03-12 16:20:58 +08:00
weitianhua
3f0e851a39
Feature/ Read Remote Device's Name
2019-11-14 03:33:37 +00:00
Hrishikesh Dhayagude
21165edf41
Bluetooth component refactoring
2019-06-30 16:39:00 +08:00