wangmengyang
b735c46ba7
component/bt: fix adv report flow control logic, give ADV report credits every 10 packets
2022-08-03 21:55:03 +08:00
wangmengyang
2ef0627c2c
component/bt: add simple ADV flow control mechanism -- drop the packets when the adv report queues are considered full
2022-08-03 21:55:02 +08:00
wangmengyang
c9ebba2ddf
component/bt: use the OSI utility "pkt_queue" to store ADV report packet in btu layer
...
# Conflicts:
# components/bt/host/bluedroid/hci/hci_hal_h4.c
2022-08-03 21:54:52 +08:00
keymoon
22cf1d0d58
assign value to uninitialized bt_addr
field
2022-05-29 18:08:56 -07:00
Wang Meng Yang
0a0b652815
Merge branch 'bugfix/fix_bluedroid_ble50_adv_data_length_issue_v4.4' into 'release/v4.4'
...
components/bt: Fix bluedroid ble50 adv data length issue(backport release/v4.4)
See merge request espressif/esp-idf!16579
2022-02-07 08:01:55 +00:00
“YangZhao”
8628079c42
There is an issue that if the the btm_cb.p_sec_dev_rec_list is full,but at the same
...
time we can't find old device to be replaced,then this can cause crash. So we need
to change the way to malloc the new device or replace the old in the list.
2022-01-04 10:42:09 +08:00
xiewenxiang
5fc5016981
component/bt: fix periodic adv parameters detection issue
2021-12-29 14:43:22 +08:00
Jiang Jiang Jian
187f47d232
Merge branch 'feature/support_ble_direct_ind_low_adv_v4.4' into 'release/v4.4'
...
components/bt: Support low duty cycle directed advertising(backport release/v4.4)
See merge request espressif/esp-idf!16377
2021-12-21 04:07:13 +00:00
xiewenxiang
5086d6f3d2
components/bt: Support low duty cycle directed advertising
2021-12-14 09:32:15 +08:00
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
c48dec0d44
Dereference null return value
2021-11-23 11:31:06 +08:00
xiongweichao
a946b6042a
Dereference after null check
2021-11-23 11:31:06 +08:00
xiongweichao
abbc552f5f
Dereference before null check
2021-11-23 11:31:06 +08:00
xiongweichao
86ea712aa4
Logically dead code
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
xiewenxiang
76372097bb
component/bt: fix data length update failed
2021-10-13 19:58:21 +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
liqigan
1c15c9207c
1. transparent HID device
...
2. add esp API for HID
3. add PM config for HID
4. add HID device demo
Closes https://github.com/espressif/esp-idf/issues/5311
Closes https://github.com/espressif/esp-idf/issues/5635
Merges https://github.com/espressif/esp-idf/pull/3425
2021-09-07 16:59:30 +08:00
Wang Meng Yang
8652b1d576
Merge branch 'bugfix/btdm_esp32_ble_white_list_connection_fail' into 'master'
...
Fixed ESP32 BLE can't resolve the peer address when enable white list
See merge request espressif/esp-idf!14348
2021-08-09 06:46:08 +00:00
xiewenxiang
95c35288bc
component/bt: add local irk to controller
2021-08-05 17:32:08 +08:00
xiewenxiang
1cc0f6aac5
Fixed ESP32 BLE can't resolve the peer address when enable white list
2021-08-04 22:00:38 +08:00
liqigan
d8023ba09c
add FAQ in SPP demo README
2021-08-04 20:49:51 +08:00
zwj
d8474a92bf
- fix data length update failed
...
- fix no callback when the value being used is the same as the value to be set
2021-06-25 15:29:38 +08:00
zwj
6fff69390e
update con state when getting connection cancle complete
2021-04-20 02:41:14 +00:00
zwj
85b73337a3
fix ble 5.0 SMP failed
2021-04-20 02:41:14 +00:00
zwj
e652e264c7
add BLE connection establishment retry
2021-04-20 02:41:14 +00:00
wangmengyang
3df07164c1
components/bt: shorten some log messages for bluedroid
2021-03-17 16:52:34 +08:00
zwj
b3a2fedfde
fix ble connection event report remote address error
2021-03-12 11:49:52 +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
ea42d8e043
fix bluedroid deinit crash
2021-01-15 21:08:14 +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
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
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
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
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
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
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
baohongde
dac798afbb
components/bt: Fix crash in BTM_SetPowerMode after disconnect
...
Introduced by commit 0583a049
2020-09-27 19:55:12 +08:00
sushant.chougule
a7d8d2c8da
Bluedroid: Fix gatt clcb allocation and deallocation error
2020-07-25 01:48:48 +00: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
Jiang Jiang Jian
d65af31309
Merge branch 'bugfix/fix_hci_max_page_num' into 'master'
...
bugfix/Support for more Bluetooth HID devices
Closes IDFGH-3515
See merge request espressif/esp-idf!9621
2020-07-15 15:51:00 +08:00