Commit Graph

423 Commits

Author SHA1 Message Date
zhanghaipeng
df8c1f7a96 fix(ble/bluedroid): Change maximum length of attribute value to 517 2025-05-12 16:29:03 +08:00
Island
38628f98b9 Merge branch 'feat/add_sync_cte_type_in_pa_sync' into 'master'
Feat/add sync cte type in pa sync

Closes BLERP-1728

See merge request espressif/esp-idf!38315
2025-04-27 14:11:31 +08:00
xiongweichao
4b5ccbe7f1 fix(bt): Fixed the issue with l2cap not using dynamic memory 2025-04-11 16:45:53 +08:00
zhiweijian
eb647d10c6 feat(ble/bluedroid): Add sync_cte_type in creat_periodic_adv_sync function 2025-04-09 10:06:13 +08:00
zhiweijian
cf6135c990 fix(ble/bluedroid): Fixed BLE_FEAT_CREATE_SYNC_ENH define error in bluedroid host 2025-04-08 20:33:31 +08:00
Island
241afda29e Merge branch 'bugfix/fix_ble_controller_only_error_if_hci_uart_enabled' into 'master'
fix(ble/controller): Fixed controller flash only bug if hci-uart is enabled

Closes BLERP-1696 and BLERP-1703

See merge request espressif/esp-idf!38001
2025-04-07 16:00:44 +08:00
xiongweichao
1a6c9d7c15 feat(bt): Add API to get profile status 2025-04-01 16:14:19 +08:00
Jiang Jiang Jian
96244e0849 Merge branch 'feature/bt_support_external_codec' into 'master'
feat(bt/bluedroid): Support external codec in Bluedroid HFP and A2DP

Closes BT-3937

See merge request espressif/esp-idf!36607
2025-04-01 10:34:23 +08:00
Island
f958eb7a4e Merge branch 'bugfix/fix_coexqabr25_52' into 'master'
fix(bt/bluedroid): Fixed BLE connection active count getting

Closes BLERP-1583

See merge request espressif/esp-idf!37167
2025-03-31 11:20:32 +08:00
zhiweijian
1354037bc7 feat(ble/bluedroid): report cte_type in periodic adv report if CTE feature is enabled 2025-03-28 21:52:09 +08:00
linruihao
74fab3a7b1 refactor(bt/bluedroid): Refactor a2dp audio data path
- Refactor audio APIs, optimize audio data path, reduce memory copy operations
- Support using external codec in application layer
- The internal codec will not be compiled if not use
2025-03-28 14:13:20 +08:00
Island
21ca2378cb Merge branch 'bugfix/fix_some_ble_bugs_2503' into 'master'
Bugfix/fix some ble bugs 2503

Closes BLERP-1678, BLERP-1679, BLERP-1680, BLERP-1681, BLERP-1683, BLERP-1685, and BLERP-1687

See merge request espressif/esp-idf!37930
2025-03-28 10:31:42 +08:00
Island
16ba8f892d Merge branch 'feature/add_vendor_ble_cmd_definitions' into 'master'
Feature/add vendor ble cmd definitions

Closes BLERP-1684 and BLERP-1661

See merge request espressif/esp-idf!37598
2025-03-27 17:06:15 +08:00
zhanghaipeng
55043e280a feat(ble/bluedroid): Implement BLE channel map reading API 2025-03-27 17:00:16 +08:00
zhanghaipeng
a9286567f0 fix(ble/bluedroid): Fix potential uint32_t overflow in BLE btu_start_timer 2025-03-27 16:59:12 +08:00
zhanghaipeng
f291725936 fix(ble/bluedroid): Fix missing event reporting in esp_ble_create_sc_oob_data 2025-03-27 16:59:12 +08:00
Island
6d3bd5df3b Merge branch 'feat/support_bluedroid_host_iso_feature_master' into 'master'
Support bluedroid host new  features

Closes BLERP-1587, BLERP-1588, BLERP-1589, and BLERP-1596

See merge request espressif/esp-idf!37096
2025-03-27 16:44:48 +08:00
baohongde
939a153844 feat(bt): added definitions for BR/EDR hci vendor commands and events 2025-03-25 15:07:31 +08:00
Wang Meng Yang
569f97dae5 Merge branch 'bugfix/fix_pbac_free_undef_mem' into 'master'
fix(bt/bluedroid): Fix some bugs in bluedroid

Closes BT-3984

See merge request espressif/esp-idf!37906
2025-03-24 10:44:29 +08:00
linruihao
a0ae67ef8b fix(bt/bluedroid): Fix some bugs in Bluedroid
- Fix PBAC may free undefine memory when conn failed
- Fix some memory in OBEX not being freed when bluedroid deinit
- Fix pre-commit not check some source file that we added to bluedroid
2025-03-21 11:12:07 +08:00
xiongweichao
88ee19d3d3 fix(bt/bluedroid): fixed other events being reported when disconnected
- Since no initial value is assigned, the variable evt is a random value,
causing the ESP_BT_GAP_DISC_STATE_CHANGED_EVT event to be reported when
the connection is disconnected.
2025-03-20 17:21:14 +08:00
zhiweijian
79b706ccb0 fix(ble/bluedroid): move setting host feature API to GAP 2025-03-19 15:23:58 +08:00
zhiweijian
fc58f2f67d feat(bt/bluedroid): Support ble bluedroid host connection subrating feature 2025-03-19 14:53:13 +08:00
zhiweijian
4f05f6e280 feat(bt/bluedroid): Support ble bluedroid host power control feature 2025-03-19 14:53:13 +08:00
zhiweijian
fcad8b7ebd feat(bt/bluedroid): Support BLE CTE in bluedroid host 2025-03-19 14:53:13 +08:00
zhiweijian
7128087646 feat(bt/bluedroid): Support BLE iso in bluedroid host 2025-03-19 14:53:13 +08:00
zhanghaipeng
dcc26e3e4f feat(ble/bluedroid): Support read periodic advertiser list size command 2025-03-04 15:44:27 +08:00
Island
1bfc6eddf0 Merge branch 'bugfix/fix_ble_report_len' into 'master'
fix(ble/bluedroid): Fix adv data and scan rsp data not reported together in BLE active scan

Closes BCI-493

See merge request espressif/esp-idf!37132
2025-02-21 15:29:43 +08:00
chenjianhua
5fb8cc06ab fix(bt/bluedroid): Fixed BLE connection active count getting 2025-02-20 19:42:40 +08:00
zhanghaipeng
7f2cedc048 fix(ble/bluedroid): Fix adv data and scan rsp data not reported together in BLE active scan 2025-02-19 20:18:35 +08:00
chenjianhua
1003ced6e9 feat(bt/bluedroid): Support BLE vendor hci event reporting 2025-02-18 11:32:33 +08:00
chenjianhua
fd4094e502 feat(bt/bluedroid): Support BLE setting vendor event mask 2025-02-18 11:32:21 +08:00
zhiweijian
69acda1785 feat(ble/bluedroid): reduce bluedrois host bin size and disable BLE_HOST_BG_CONNECT_EN 2025-02-17 14:55:55 +08:00
zhiweijian
d2d4d1518d feat(ble/bluedroid): disable bluedroid host unused functions 2025-02-17 14:51:58 +08:00
zhiweijian
fb08e4eafe feat(bt/bluedroid): optimize bluedroid menuconfig 2025-02-17 14:51:10 +08:00
zhiweijian
0959beef72 feat(bt/bluedroid): delete unused host congest check 2025-02-17 14:35:46 +08:00
Nebojša Cvetković
fed1d41aa7 fix(ble/bluedroid): Don't log error on 16/128-bit UUID mixed descriptors 2025-02-12 14:57:15 +08:00
Nebojsa Cvetkovic
63b2dcc3a7 refactor(ble/bluedroid): Fix typos in gatt_sr.c 2025-02-12 14:57:15 +08:00
Wang Mengyang
f39d1215b5 change(bt): Remove unused state variable for (e)SCO disconnect reason in Bluedroid 2025-01-14 12:08:53 +08:00
linruihao
4a9a6b1832 feat(bt/bluedroid): Support get play status in AVRCP CT 2024-12-20 15:40:01 +08:00
linruihao
d679115379 change(bt/bluedroid): Some minor changes in bluedroid
- Increase the number of BTM security records for services
- Fix a coding style issue in OBEX and GOEP
2024-12-20 15:39:02 +08:00
linruihao
23ed275eff fix(bt/bluedroid): Allow adding empty header in OBEX and GOEP 2024-12-03 17:02:39 +08:00
linruihao
88913c8ba5 change(bt/bluedroid): Remove a duplicate macro in OBEX 2024-12-03 17:02:39 +08:00
linruihao
c28703c919 feat(bt/bluedroid): Allow using bitwise OR on GOEP return value 2024-12-03 17:02:39 +08:00
linruihao
b2856253e8 feat(bt/bluedroid): Support OBEX over RFCOMM feature 2024-12-03 17:02:39 +08:00
linruihao
219cd0341a fix(bt/bluedroid): Fix l2cap psm not dereister when obex disconnect 2024-12-03 17:02:39 +08:00
chenjianhua
e5789a8ca1 feat(ble/bluedroid): Support setting connection params when creating connection 2024-11-26 12:10:27 +08:00
Wang Meng Yang
56a55c0935 Merge branch 'bugfix/disconn_sdp_upon_wrong_data' into 'master'
fix(bt/bluedroid): disconnect SDP connection on receiving incorrect response

Closes BTQABR2023-170

See merge request espressif/esp-idf!34920
2024-11-25 08:15:39 +08:00
Island
79f26ad603 Merge branch 'bugfix/fix_set_perfer_ext_conn_param' into 'master'
fix(bt/bluedroid): Fixed setting perfer conn params complete event report

Closes BLERP-1185

See merge request espressif/esp-idf!34648
2024-11-20 10:30:45 +08:00
Island
21acfc2855 Merge branch 'bugfix/fix_bleqabr24_1635' into 'master'
fix(bt/bluedroid): Fixed LE channel selection algorithm event reporting

Closes BLERP-1230

See merge request espressif/esp-idf!34850
2024-11-20 10:30:40 +08:00