Commit Graph

37 Commits

Author SHA1 Message Date
zhanghaipeng
b1dee3e510 fix(ble/bluedroid): Fix ble memory leak when gattc config off 2024-01-17 15:20:21 +08:00
zhanghaipeng
f18d887a6d fix(bt/bluedroid): Fix BLE prepare write 2023-12-27 22:03:48 +08:00
zhanghaipeng
0de2c5092b feat(bt/bluedroid): Display BLE permission check handle in error trace 2023-10-31 19:45:10 +08:00
zhanghaipeng
c73d7c0b60 fix(bt/bluedroid): Fix bugs in ble service change characteristic 2023-10-13 10:54:25 +08:00
chenjianhua
0634bb904e bluedroid: fixed compile warning when optimize for performance 2023-06-11 16:06:07 +08:00
chenjianhua
0f7446f93f bluedroid: support gatts show local database 2023-04-23 17:22:04 +08:00
zhiweijian
588626d64e Fixed ATT Ignore wrong response error 2023-03-14 08:49:19 +00:00
chenjianhua
70bb6c7388 bluedroid: fixed GATT multi notify and robust caching 2023-01-06 20:13:58 +08:00
Zhi Wei Jian
6d676019c1 Merge branch 'bugfix/fix_gatt_char_perm_key_size' into 'master'
Bluedroid: fix encrypt keysize of GATT characteristic permission

Closes BT-2992

See merge request espressif/esp-idf!21250
2022-12-12 16:23:59 +08:00
chenjianhua
702e06e09e bluedroid: add internal GATT API for PTS 2022-12-09 13:28:31 +08:00
chenjianhua
238d1375a8 bluedroid: support GATT robust caching feature 2022-12-09 13:28:31 +08:00
chenjianhua
f4cd0b687d bluedroid: support GATT services database hash calculate 2022-12-09 13:28:31 +08:00
chenjianhua
c37184aa85 bluedroid: fix encrypt keysize of GATT characteristic permission 2022-12-02 15:10:39 +08:00
zwj
39c03e0ce0 Fixed errors reported by CI clang_tidy_check 2022-11-16 15:58:31 +08:00
chenjianhua
bc1762e806 bluedroid: correct the length of att read by type pdu 2022-10-19 21:58:28 +08:00
zhiweijian@espressif.com
4bd267ac9a Fixed bluedroid host memory overflow 2022-07-14 19:35:22 +08:00
“YangZhao”
12ec4866b8 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 17:38:02 +08:00
xiongweichao
752b1976c0 Dereference after null check 2021-11-18 19:47:07 +08:00
xiongweichao
101ad32110 Dereference before null check 2021-11-18 19:38:48 +08:00
zwj
bdafdbbf3d disable bluedroid congest error log print 2021-01-27 14:45:03 +08:00
zwj
ad09955b1f fix crash when creating aux open failed, fix GAP_22026 failed 2021-01-15 18:05:18 +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
7c1c669799 component/bt: add BLE v5.0 feature for bluedroid host 2021-01-15 17:55:12 +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
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
lly
5f146455f3 component/bt: Fix gatt clcb use-after-free issue 2020-10-28 02:42:28 +00:00
sushant.chougule
70eb9abdee Bluedroid: Fix BLE provisioning failure with bluedroid stack 2020-07-28 21:54:05 +05:30
sushant.chougule
a7d8d2c8da Bluedroid: Fix gatt clcb allocation and deallocation error 2020-07-25 01:48:48 +00: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
wangcheng
e87a42f46c components/bt: Add api to query the number of available buffers for the current connection 2020-06-13 14:27:48 +08:00
xiewenxiang
5d0b6da6a0 component/bt: fix don't dequeue the command queue after process the read_by_type_req 2020-03-31 15:10:01 +08:00
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
Geng Yu Chao
6c923cf330 Fix some typo in idf 2019-12-12 15:55:42 +08:00
Geng Yu Chao
46c53ab8c8 btdm:fix the problem that Not getting complete Identity Address (Public Address) of the Privacy-enabled Bonded Device after bonding. beacuse of the wrong memcpy in LE_KEY callback handler. 2019-12-09 15:21:49 +08:00
baohongde
93f86b8a6d components/bt: Disable BR/EDR GATT 2019-10-25 02:49:51 +00:00
Hrishikesh Dhayagude
21165edf41 Bluetooth component refactoring 2019-06-30 16:39:00 +08:00