Commit Graph

222 Commits

Author SHA1 Message Date
chenjianhua
52e3e684e0 bluedroid: support LE L2CAP credit based connection 2023-08-30 15:12:12 +08:00
chenjianhua
4145099bdc bluedroid: support oob pairing for smp secure connection 2023-08-30 15:11:34 +08:00
Jiang Jiang Jian
01871aa91b Merge branch 'backport_v5.0' into 'release/v5.0'
fix(bt): Fix ble periodic advertising data length 0 error(backport v5.0)

See merge request espressif/esp-idf!25007
2023-08-15 11:04:47 +08:00
Jin Cheng
48a31a8a51 fix(bt): Removed an incorrectly defined HCI error code 2023-08-09 17:32:41 +08:00
wanglai@espressif.com
f5ad81e04a fix(bt/bqb): Modify BQB related configurations 2023-07-31 18:18:29 +08:00
wanglai@espressif.com
543a0aaa25 feat(bt): Add BQB enabling and rfcomm msc command sending support
1: add the CONFIG_BT_BQB_ENABLED for some functions of bqb test.
2: add bqb_rfc_send_msc_cmd function to send rfcomm msc command with
   only address arg input.
2023-07-31 17:58:01 +08:00
zhanghaipeng
cb85b7b7a7 fix(bt): Fix bug with address resolution enabling during non-connected activities 2023-07-26 16:39:06 +08:00
zhanghaipeng
0e9974a918 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:06 +08:00
xiongweichao
d666536a21 change(bt/Bluedroid): Update AVRCP version to 1.5 2023-07-11 11:43:59 +00:00
Jiang Jiang Jian
40aac8601b Merge branch 'bugfix/fix_some_ble_bugs_v5.0' into 'release/v5.0'
Fixed some BLE bugs (backport v5.0)

See merge request espressif/esp-idf!24276
2023-07-11 12:21:07 +08:00
chenjianhua
64a2778d5f bluedroid: fixed gatt tcb free when disconnecting 2023-06-29 20:55:37 +08:00
chenjianhua
2dea457d9a bluedroid: fixed default extended connection params 2023-06-16 11:41:06 +08:00
chenjianhua
187d77d702 Revert "bluedroid: report disconnect event after BLE link closed"
This reverts commit 0cb5a90663.
2023-06-13 10:33:17 +08:00
Jin Cheng
95b363aa91 fixed the crash of LoadProhibited caused by taht
the nodes are deleted during the traversal of the linked list
2023-06-12 03:23:18 +00:00
Jiang Jiang Jian
de419dbe0b Merge branch 'bugfix/fix_some_ble_bug_v5.0' into 'release/v5.0'
Fixed some BLE bugs (backport v5.0)

See merge request espressif/esp-idf!23709
2023-05-22 11:09:26 +08:00
chenjianhua
90f52cf0c7 bluedroid: fix ble ext adv rand addr setting for NRPA 2023-05-11 20:47:45 +08:00
chenjianhua
d7a927190b bluedroid: fix ble adv data construct for device name 2023-05-11 20:47:36 +08:00
chenjianhua
0cb5a90663 bluedroid: report disconnect event after BLE link closed 2023-05-11 20:47:09 +08:00
zwj
21f694dc81 Fixed no error report when own address type is rpa_random and no random address setting 2023-05-11 20:03:39 +08:00
Jiang Jiang Jian
e7d4c90277 Merge branch 'bugfix/fix_some_ble_bug_v5.0' into 'release/v5.0'
Fixed some BLE bugs (backport v5.0)

See merge request espressif/esp-idf!23299
2023-05-11 17:28:00 +08:00
zhiweijian
b9e9a60c4f Fixed ATT Ignore wrong response error 2023-05-11 02:45:56 +00:00
chenjianhua
cceb2b4db6 bluedroid: support get bluetooth device name 2023-04-20 10:54:16 +08:00
chenjianhua
3eb5185b7b bluedroid: report status after clearing the BLE white list 2023-04-20 10:38:23 +08:00
chenjianhua
fa051d8dc4 bluedroid: fix adv and scan state conflict 2023-04-20 10:36:14 +08:00
Jiang Jiang Jian
9718c91a38 Merge branch 'bugfix/bluedroid_le_coc_compile_error_v5.0' into 'release/v5.0'
bt: fix Bluedroid compile errors after enable CONFIG_ESP_SYSTEM_USE_EH_FRAME on RISC-V SoCs(backport v5.0)

See merge request espressif/esp-idf!22492
2023-03-17 13:56:36 +08:00
liqigan
109d42bb85 fix HID Host bug when handling the two consecutive connection request
Closes https://github.com/espressif/esp-idf/issues/10504
2023-03-13 10:16:51 +08:00
wangmengyang
57b26802a5 bt: fix Bluedroid compile errors after enable CONFIG_ESP_SYSTEM_USE_EH_FRAME on RISC-V SoCs
This root cause is incorrect source code separation by conditonal MACROs for BLE L2CAP COC related functions
2023-03-10 07:37:24 +00:00
Jiang Jiang Jian
4cc03645e8 Merge branch 'bugfix/fix_some_ble_bug_v5.0' into 'release/v5.0'
Fixed some BLE bugs (backport v5.0)

See merge request espressif/esp-idf!22363
2023-02-27 15:05:38 +08:00
Wang Meng Yang
8439e6184c Merge branch 'bugfix/build_err_with_ssr_enabled_v5.0' into 'release/v5.0'
bt: Fixed build errors when sniff subrating is enabled (v5.0)

See merge request espressif/esp-idf!22350
2023-02-21 18:20:06 +08:00
chenjianhua
58851cd5cd bluedroid: support ble privacy by controller 2023-02-14 11:24:02 +08:00
Jin Cheng
2db423c62b Fixed build errors when sniff subrating is enabled. 2023-02-13 17:26:35 +08:00
Jin Cheng
4c6aad37f6 Fixed crash caused by accessing nullptr in btm_acl_disconnected 2023-01-04 11:46:04 +08:00
chenjianhua
938d912daa bluedroid: fix ble connection update with same params 2022-12-19 20:17:00 +08:00
chenjianhua
c97df72bb2 bluedroid: fix encrypt keysize of GATT characteristic permission 2022-12-19 20:17:00 +08:00
chenjianhua
4b7702c0a4 bluedroid: correct the length of att read by type pdu 2022-12-19 20:17:00 +08:00
xiongweichao
e5794669de bt: Update A2DP version to v1.4 2022-12-15 16:57:51 +08:00
xiongweichao
9bd1484386 bt:Fixed the use of invalid configuration when the peer device configures the stream, and returned an incorrect error code 2022-12-15 16:57:46 +08:00
Jiang Jiang Jian
232a4aee15 Merge branch 'feature/report_acl_conn_cmp_stat_to_app_v5.0' into 'release/v5.0'
feature/report ACL link related events to application (v5.0)

See merge request espressif/esp-idf!21524
2022-12-14 10:45:15 +08:00
Jiang Jiang Jian
12535d6d75 Merge branch 'contrib/github_pr_9529_v5.0' into 'release/v5.0'
component_bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails(v5.0)

See merge request espressif/esp-idf!21556
2022-12-12 17:54:13 +08:00
Jiang Jiang Jian
640b86025b Merge branch 'bugfix/correct_the_default_SR_mode_v5.0' into 'release/v5.0'
bugfix/correct the SR_mode selection when konw nothing about Peripheral's SR_mode (v5.0)

See merge request espressif/esp-idf!21519
2022-12-12 14:51:57 +08:00
xiongweichao
f9732cb65f bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails 2022-12-12 11:26:26 +08:00
jincheng
80da46eff3 Added reporting for ACL link related events to application 2022-12-09 11:07:50 +08:00
Jin Cheng
a1de1bfd3c correct the SR_mode selection when konw nothing about Peripheral 2022-12-09 10:24:24 +08:00
xiongweichao
c2c9b090c7 bt: Added esp_spp_enhance_init() API to indicate whether to enable L2CAP ERTM 2022-12-07 09:38:24 +00:00
xiongweichao
6d9987f4c8 bt: Split SPP application layer data packets according to the MTU of the peer 2022-12-07 09:38:24 +00:00
xiongweichao
bce0e93b73 bt: Enter the congestion state when the queue length waiting for the peer to ack is greater than or equal to the L2CAP ERTM tx window size 2022-12-07 09:38:24 +00:00
Jiang Jiang Jian
6442112bb9 Merge branch 'bugfix/change_default_tx_power_on_c3_and_s3_v5.0' into 'release/v5.0'
Change BLE default TX power on ESP32C3 and ESP32S3(backport v5.0)

See merge request espressif/esp-idf!21099
2022-12-02 20:32:53 +08:00
zwj
0af189b012 Fixed errors reported by CI clang_tidy_check 2022-11-21 10:33:35 +08:00
Jin Cheng
650b665384 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:45:34 +08:00
Jin Cheng
3314fcfdf7 Revert "fixed the issue iOS devices cannot initiate connection"
This reverts commit da44fc9cbe.
2022-10-18 19:47:10 +08:00