chenjianhua
d0e6ca913e
bluedroid: add periodic adv sync transfer API and EVT
2023-09-06 20:43:31 +08:00
chenjianhua
a57a8d8c32
bluedroid: add config for GAP service and periodic adv sync transfer
2023-09-06 20:43:31 +08:00
chenjianhua
53dd9f0a31
bluedroid: add config for robust caching and RPA timeout
2023-09-06 20:43:31 +08:00
chenjianhua
a1ffb2580d
bluedroid: support periodic advertising sync transfer cmd
2023-09-06 20:43:31 +08:00
chenjianhua
650380e717
bluedroid: support oob pairing for smp secure connection
2023-09-06 20:43:31 +08:00
zhanghaipeng
76e4e6601d
docs(bt): Update comment in ble
2023-09-05 20:29:03 +08:00
zhanghaipeng
571e6f0580
feat(bt/bluedroid): Support periodic adv adi feature
2023-09-05 20:29:03 +08:00
chenjianhua
30609ba7f0
fix(bt/bluedroid): Fix address check when using NRPA as random device address
2023-09-05 20:29:03 +08:00
zhanghaipeng
abd4778195
fix(bt): Fix bug with address resolution enabling during non-connected activities
2023-07-26 16:39:34 +08:00
zhanghaipeng
f25afd6afe
fix(bt): Fix ble periodic advertising data length 0 error
...
- Fixed issues about data length 0 when set ext adv data,ext scan rsp data and periodic adv data
2023-07-26 16:39:34 +08:00
zwj
ecc2cc1be0
Fixed no error report when own address type is rpa_random and no random address setting
2023-05-25 10:46:12 +00:00
chenjianhua
8f3f635e8c
bluedroid: report status after clearing the BLE white list
2023-04-20 15:59:07 +08:00
chenjianhua
e2a307bd8f
bluedroid: fix adv and scan state conflict
2023-04-20 15:59:07 +08:00
Jin Cheng
3a361bc62f
fixed the crash of LoadProhibited caused by taht
...
the nodes are deleted during the traversal of the linked list
2023-04-08 11:30:35 +08:00
chenjianhua
f986abd482
bluedroid: support ble privacy by controller
2023-02-14 11:13:56 +08:00
Jin Cheng
123b6f132b
Fixed build errors when sniff subrating is enabled.
2023-02-13 17:27:24 +08:00
jincheng
48212875f8
Added reporting for ACL link related events to application
2023-01-04 11:48:51 +08:00
zwj
80078b6192
Fixed errors reported by CI clang_tidy_check
2022-11-17 03:46:02 +00:00
Jin Cheng
07518cf467
fixed the issue iOS devices cannot initiate connection
...
to ESP32 while there is a BLE connection to this ESP32
Closes https://github.com/espressif/esp-idf/issues/6557
2022-11-14 09:48:13 +08:00
Jiang Jiang Jian
9e9f0592f8
Merge branch 'bugfix/fix_esp32_esp32c3_some_bugs' into 'release/v4.4'
...
Fixed BLE lld_per_adv.c line 401 assert on ESP32C3 and ESP32S3 (backport v4.4)
See merge request espressif/esp-idf!20757
2022-11-09 17:52:42 +08:00
zwj
290a6c8ade
allow bluedroid host to report adv_ind separately
2022-10-24 19:28:23 +08:00
chenjianhua
38d1250788
bluedroid: fix ble rpa generate and update by host
2022-10-09 16:25:17 +08:00
chenjianhua
cfc85ac1c6
Revert "component/bt: add local irk to controller"
...
This reverts commit 95c35288bc92880a2e7cb406e8c08d6072153fd4.
2022-10-09 16:23:24 +08:00
chenjianhua
f943f37927
Revert "Fixed ESP32 BLE can't resolve the peer address when enable white list"
...
This reverts commit 1cc0f6aac578b5eb9e731d644d82efc66cc8270a.
2022-10-09 16:16:59 +08:00
cjin
403bff2a2b
fix err using rpa for confirmation calculation
2022-09-27 19:32:26 +08:00
cjin
b063151c4b
fix on data len change cmd malfunction
2022-09-27 19:32:11 +08:00
Jiang Jiang Jian
4bf8f462a2
Merge branch 'opt/bluedroid_adv_report_datapath_v4.4' into 'release/v4.4'
...
Bluetooth/Bluedroid: optimize BLE adv report datapath and adv report flow control mechanism(backport v4.4)
See merge request espressif/esp-idf!19381
2022-08-11 11:20:42 +08:00
Jiang Jiang Jian
905b3b1718
Merge branch 'bugfix/btdm_fix_some_bluedroid_issues_v4.4' into 'release/v4.4'
...
Fix some bluedroid issues(backport v4.4)
See merge request espressif/esp-idf!19130
2022-08-04 14:45:44 +08:00
wangmengyang
c6c4a23098
component/bt: consider to handle HCI LE Direct Advertising Report
2022-08-03 21:55:07 +08:00
wangmengyang
aaf1d3909d
component/bt: use fixed_pkt_queue instead of fixed_queue for hci commands
...
some fixes after modifications:
1. removed the use of waiting_command_t
2. fix assert for HCI write_eir command
3. fixed the crash upon handling command status event when trying to free to the HCI command buffer
4. fixed the issue in transmitting HCI vendor specific commands
5. fixed the lost command complete callbacks for HCI commands LE_RAND and LE_ENCRYPT
2022-08-03 21:55:05 +08:00
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
weitianhua
5b648b8452
components_bt/bluedroid: Fix Memory&String Copy Build Err
...
1. When setting compilier into -O2 optimization, build for classic bt demo will get wrong
2. Fix a memcpy bug that maybe get memory truncated
Closes https://github.com/espressif/esp-idf/issues/9398
2022-08-01 14:27:56 +08:00
xiewenxiang
a840c77d4e
component/bt: set ext adv param failed when stop ext adv
2022-07-20 09:09:17 +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