Commit Graph

638 Commits

Author SHA1 Message Date
wanglai@espressif.com
f4170d127e feat(bt/bluedroid): Add flag to control whether to send AT+CLIP cmd for BQB test 2023-09-26 15:10:15 +08:00
wanglai@espressif.com
7e1af63bfc feat(bt/bluedroid): Add flag to change HFP client features for BQB test 2023-09-26 15:10:15 +08:00
wanglai@espressif.com
9897df3647 feat(bt/bluedroid): Add eSCO S1 support for hfp client BQB test 2023-09-26 15:10:15 +08:00
wanglai@espressif.com
23e3279a84 feat(bt/bluedroid): Add flag to send BRSF features for hfp ag BQB test 2023-09-26 15:10:15 +08:00
wanglai@espressif.com
4f332026e6 feat(bt/bluedroid): Modify the btc hf features for AT+NREC cmd in BQB test 2023-09-26 15:10:15 +08:00
wanglai@espressif.com
ce41d2c0a8 fix(bt/bluedroid): Fix the process of sending OK in ATD and COPS cmds 2023-09-26 15:10:15 +08:00
wanglai@espressif.com
9a11ce19ea feat(bt/bluedroid): Add supprot for specific indicator sending from AG to Client 2023-09-26 15:10:15 +08:00
wanglai@espressif.com
2a747a3058 feat(bt/bluedroid): Modify AT+CNUM response api and HFP AG example 2023-09-26 15:10:15 +08:00
wanglai@espressif.com
0687fad3d6 feat(bt/bluedroid): Add HFP config for BQB test 2023-09-26 15:10:14 +08:00
liqigan
833d3226c5 fix(bt/bluedroid): Fix the issue for HID congestion checking 2023-09-26 14:15:44 +08:00
wanglai@espressif.com
6c1d11ad7e feat(bt/bluedroid): Add flags for BQB auto test of L2CAP
1: add sdp_bqb_disable_flag to avoid running sdpu_build_n_send_error.
2: add sdp_bqb_inact_timeout_flag to set the SDP inactivity timeout to 90 seconds.
3: add l2cap_bqb_bad_cmd_len_rej_flag to reject the C-Frame with invalid PDU length
4: add l2cap_bqb_ertm_mode_included_flag to set L2CAP_FCR_ERTM_MODE for most L2CAP cases
2023-09-26 14:06:24 +08:00
baohongde
7620ff11b5 change(bt/bluedroid): Send a name tag with zero length when there is no EIR data 2023-09-25 06:28:42 +00:00
chenqingqing
af72846e92 fix(bt/bluedroid): Fix the judgment condition for packet transmission status statistics 2023-09-25 10:50:52 +08:00
zhanghaipeng
a921a2dfd7 fix(bt/bluedroid): Fix set periodic advertising data error 2023-09-23 20:23:49 +08:00
Wang Meng Yang
3ab19cc298 Merge branch 'origin/test/bqb_test_bt_classic_avdtp_v5.0' into 'release/v5.0'
feat(bt/bluedroid): Add avdt abort function for BQB test(backport v5.0)

See merge request espressif/esp-idf!26046
2023-09-21 09:47:36 +08:00
liqigan
0016eb028c change(bt/bluedroid): Limit sniff request when pending mode change event 2023-09-19 20:10:37 +08:00
Island
caf6660080 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!26031
2023-09-19 14:51:03 +08:00
Wang Meng Yang
185ed100fd Merge branch 'bugfix/error_param_in_BTA_AG_WBS_EVT_v5.0' into 'release/v5.0'
Bugfix/error param in bta ag wbs evt (v5.0)

See merge request espressif/esp-idf!26002
2023-09-19 12:01:01 +08:00
wanglai@espressif.com
40b99b513c feat(bt/bluedroid): Add avdt abort function for BQB test
1: add new AVDTP abort function for BQB test
2023-09-19 11:55:58 +08:00
chenjianhua
9af8a1e7a7 Update bt lib for ESP32-C3 and ESP32-S3(59725b5)
- Support BLE RX error packet count record
- Fixed adv random delay when adv interval is less than 20ms
- Fixed adv random address setting when owner address type is public
2023-09-18 19:39:41 +08:00
zhanghaipeng
c85c755ec6 fix(bt): Fix bugs about updating connect param 2023-09-18 19:38:20 +08:00
zhanghaipeng
4e6a831d57 fix(bt): Fix bug while calculating block cipher using aes-128 2023-09-18 19:38:13 +08:00
zhanghaipeng
ed1a83a93f docs(bt): Update comment in ble 2023-09-18 19:38:04 +08:00
zhanghaipeng
debcf93282 feat(bt/bluedroid): Support periodic adv adi feature 2023-09-18 19:37:55 +08:00
chenjianhua
559368ba77 fix(bt/bluedroid): Fixed BLE disconnect event report when disconnecting 2023-09-18 19:37:45 +08:00
chenjianhua
c75ffd7de1 fix(bt/bluedroid): Fixed GATTC cache address save when list is full 2023-09-18 19:37:38 +08:00
chenjianhua
fc57ae154d feat(bt/bluedroid): Support high duty adv interval setting 2023-09-18 19:37:28 +08:00
chenjianhua
3115bd17b5 fix(bt/bluedroid): Fix address check when using NRPA as random device address 2023-09-18 19:37:18 +08:00
Island
87aeb49cff Merge branch 'feature/support_ble_53_host_feat_v5.0' into 'release/v5.0'
Support BLE host feature for PTS (backport v5.0)

See merge request espressif/esp-idf!25646
2023-09-18 15:23:06 +08:00
Wang Meng Yang
5a98ae1a52 Merge branch 'bugfix/fix_hidd_send_rpt_without_connection_v5.0' into 'release/v5.0'
Change(bt/bluedroid): Optimize HIDD sending interrupt report behavior[backport 5.0]

See merge request espressif/esp-idf!25919
2023-09-18 14:07:20 +08:00
Island
d1d4519f96 Merge branch 'feature/esp32c2_add_trace_function_v5.0' into 'release/v5.0'
ble: supported trace function and adv report flow control on esp32c2

See merge request espressif/esp-idf!25641
2023-09-18 11:44:27 +08:00
Wang Meng Yang
a6abcfb990 Merge branch 'test/bqb_test_bt_classic_sdp_v5.0' into 'release/v5.0'
feat(bt/bluedroid): Add language base attr list to SDP record for BQB test (backport v5.0)

See merge request espressif/esp-idf!25930
2023-09-18 11:06:52 +08:00
Wang Meng Yang
b212ab6176 Merge branch 'test/bqb_test_bt_classic_hid_v5.0' into 'release/v5.0'
feat(bt/bqb): Add setting local di record function for specific hid case of bqb auto test (backport v5.0)

See merge request espressif/esp-idf!25834
2023-09-18 11:05:35 +08:00
Jin Cheng
11ecd9e5cf fix(bt/bluedroid): Fixed incorrect arrangement in type esp_hf_dial_type_t 2023-09-18 11:04:19 +08:00
Jin Cheng
89bfe3e352 change(bt/bluedroid): Added line information printing when error occurs CHECK_HF_IDX 2023-09-18 11:04:19 +08:00
Jin Cheng
03d9d39ec7 fix(bt/bluedroid): Fixed the issue of uninitialized parameters in event BTA_AG_WBS_EVT 2023-09-18 11:04:19 +08:00
Wang Meng Yang
1b4464a6be Merge branch 'test/bqb_test_bt_classic_a2dp_v5.0' into 'release/v5.0'
feat(bt/bqb): Add setting SBC encoder and reject invalid codec type support for a2dp BQB test (backport v5.0)

See merge request espressif/esp-idf!25685
2023-09-18 11:02:56 +08:00
wanglai@espressif.com
a02cb1ebc0 feat(bt/bluedroid): Add language base attr list to SDP record for BQB test 2023-09-12 13:04:33 +08:00
liqigan
4b7f77a769 change(bt/bluedroid): Optimize HIDD sending interrupt report behavior
HID device is allowed to trigger reconnection by sending an interrupt
report. When reconnection is in progress, no more interrupt report can
be sent until the procedure is accomplished.
2023-09-11 20:14:25 +08:00
zwl
dc417eeab9 feat(ble): enable adv report flow control on esp32c2 2023-09-07 16:38:03 +08:00
wanglai@espressif.com
60b4e1f998 feat(bt/bluedroid): Add setting local di record function for bt classic hid device bqb test 2023-09-07 14:20:56 +08:00
chenqingqing
fbf196a7f9 feat(bt/api): Add new apis for hfp to get the numbers of packet status received and sent 2023-09-07 11:37:09 +08:00
Jin Cheng
54fecc5561 fix(bt/bluedroid): Deleted the redundant 'memset' in btc_hf_cb_handler 2023-09-07 10:59:06 +08:00
Jin Cheng
5dc39ebf5a docs(bt/bluedroid): Changed the description of esp_hf_client_reject_call 2023-09-07 10:56:11 +08:00
Jin Cheng
fbf2d5d5d9 fix(bt/bluedroid): Fixed wrong indexes of HF-AG indicators 2023-09-07 10:56:11 +08:00
Jin Cheng
774056bf62 fix(bt/bluedroid): Added peer Bluetooth device address into HF callback parameters 2023-09-07 10:56:11 +08:00
Jin Cheng
e1864ca1e8 fix(bt/bluedroid): Changed log level from WARNING to DEBUG in bta_ag_sco_read_cback 2023-09-07 10:56:11 +08:00
Jin Cheng
e36e0f5233 fix(bt/bluedroid): Fixed wrong code logic in 'AT+CIND?' of HFP 2023-09-07 10:56:11 +08:00
Jin Cheng
f0ed003d91 fix(bt/bluedroid): Fixed errors in parsing ATD command in HFP AG 2023-09-07 10:56:11 +08:00
Jin Cheng
fb14ef7c24 fix(bt/bluedroid): Fixed NULL Bluetooth device address in HF-AG events was reported to application layer 2023-09-07 10:56:11 +08:00
wanglai@espressif.com
c95c3ba38e feat(bt/bluedroid): Set SBC encoder as PTS required for BQB test.
1: set SBC encoder as PTS required. The encoder is effective first.
But it changes to default after media start.
2023-09-05 01:55:37 +00:00
wanglai@espressif.com
14b1290a20 fix(bt/bluedroid): Reject SET CONFIGURATION command with error code INVALID_CODEC_TYPE.
1: reset p_scb->avdt_handle in cleanup function.
2: cancel comparing p_scb->codec_type and p_scb->seps[xx].codec_type to
   send the error INVALID_CODEC_TYPE.
2023-09-05 01:55:37 +00:00
chenjianhua
11e8970a45 bluedroid: add GATT read multi variable API and evt 2023-08-30 15:17:56 +08:00
chenjianhua
0315b24514 bluedroid: add periodic adv sync transfer API and EVT 2023-08-30 15:17:47 +08:00
chenjianhua
630154ed2d bluedroid: support gatts show local database 2023-08-30 15:17:38 +08:00
chenjianhua
3100841f64 bluedroid: fixed GATT multi notify and robust caching 2023-08-30 15:17:30 +08:00
chenjianhua
285e86ad04 bluedroid: add config for GAP service and periodic adv sync transfer 2023-08-30 15:17:14 +08:00
chenjianhua
0b76c3615e bluedroid: add internal GATT API for PTS 2023-08-30 15:15:23 +08:00
chenjianhua
69b8b587c9 bluedroid: add config for robust caching and RPA timeout 2023-08-30 15:15:09 +08:00
chenjianhua
42a1d94830 bluedroid: support GATT robust caching feature 2023-08-30 15:13:03 +08:00
chenjianhua
1ce00f01ca bluedroid: support GATT services database hash calculate 2023-08-30 15:12:52 +08:00
chenjianhua
ed34a2b500 bluedroid: support periodic advertising sync transfer cmd 2023-08-30 15:12:41 +08:00
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
Island
7065c87963 Merge branch 'bugfix/ble_hci_issues_chain_mbuf_v5.0' into 'release/v5.0'
fix hci issues when chain mbuf exists

See merge request espressif/esp-idf!25533
2023-08-29 10:27:40 +08:00
luomanruo
0861bf4c55 ble: Fix hci issues when chain mbuf exists 2023-08-25 12:26:50 +08:00
baohongde
d82a2e2eec feat(bt/bluedroid): Add option whether to include device name in extended inquiry response 2023-08-24 19:36:26 +08:00
Jin Cheng
849ab66f5f fix(bt): Increased SDP maximum connections to avoid connection exhausted 2023-08-21 11:20:48 +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
Wang Meng Yang
16aef4bbee Merge branch 'bugfix/remove_deprecated_err_code_v5.0' into 'release/v5.0'
fix(bt): Removed an incorrectly defined HCI error code (5.0)

See merge request espressif/esp-idf!25289
2023-08-14 14:56:10 +08:00
satish.solanke
c7cda1c489 Fix the mem corruption 2023-08-10 14:30:32 +00: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
chenjianhua
902c6973f1 fix(bt/bluedroid): Fix memory leak of gattc cache upon disconnection 2023-07-18 11:44:43 +08:00
chenjianhua
7ca9ca6f90 bluedroid: fixed compile warning when optimize for performance 2023-07-18 11:41:44 +08:00
zhanghaipeng
cddca1adf4 fix(bt): Fix ble advertising data length 0 error
- Fixed an issue where the BLE advertisement length of 0 was causing an error
2023-07-13 16:42:48 +08:00
Jiang Jiang Jian
7c149c9fcc Merge branch 'feature/update_avrcp_v1.5_v5.0' into 'release/v5.0'
change(bt/Bluedroid): Update AVRCP version to 1.5(v5.0)

See merge request espressif/esp-idf!24583
2023-07-13 09:48:16 +08:00
xiongweichao
d666536a21 change(bt/Bluedroid): Update AVRCP version to 1.5 2023-07-11 11:43:59 +00:00
xiongweichao
2cf7834db5 components/bt: Fix crash due to NULL point 2023-07-11 19:37:12 +08:00
Jiang Jiang Jian
095bb9f015 Merge branch 'bugfix/sdp_32_and_128_bit_UUID_v5.0' into 'release/v5.0'
bt:Fixed SDP not being able to configure 32-bit and 128-bit UUID(v5.0)

See merge request espressif/esp-idf!24443
2023-07-11 12:24:07 +08:00
Jiang Jiang Jian
12d9bafc37 Merge branch 'docs/update_esp_hid_host_v5.0' into 'release/v5.0'
[docs] fix documents for Bluetooth HID Host API reference (backport v5.0)

See merge request espressif/esp-idf!24390
2023-07-11 12:23:54 +08:00
Jiang Jiang Jian
5cb2736de6 Merge branch 'bugfix/alarm_not_free_when_a2dp_deinit_v5.0' into 'release/v5.0'
bugfix/Fixed the issue of alarm leak (v5.0)

See merge request espressif/esp-idf!24352
2023-07-11 12:23:33 +08:00
Jiang Jiang Jian
10ee73839f Merge branch 'bugfix/hfp_packet_type_err_v5.0' into 'release/v5.0'
Revised (e)SCO configuration parameter sets (v5.0)

See merge request espressif/esp-idf!24347
2023-07-11 12:23:16 +08: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
Jin Cheng
f0a53601e0 Fixed the issue of alarm leak in hf-ag 2023-07-10 06:08:22 +00:00
Jin Cheng
3061770e7b Fixed the issue of alarm leak in A2DP 2023-07-10 06:08:22 +00:00
Jin Cheng
1b7e47d3d3 Revised (e)SCO configuration parameter sets 2023-07-10 06:07:55 +00:00
chenjianhua
64a2778d5f bluedroid: fixed gatt tcb free when disconnecting 2023-06-29 20:55:37 +08:00
Ilia Lutchenko
837a46b5a7 btc_sdp: add_raw_sdp: fix 32 and 128-bit uuid configuration
Added proper conversion of 4 and 16-byte UUIDs values to binary streams.
UUIDs now set with SDP_AddAttribute() instead of
SDP_AddServiceClassIdList().
2023-06-28 14:18:20 +08:00
wangmengyang
49bb1e85b7 component/docs: enable generation of API-reference documents for Bluetooth HID host 2023-06-25 15:37:54 +08:00
gongyantao
df68489f15 resolve the conflicts 2023-06-25 15:37:54 +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
Jiang Jiang Jian
6012986e2a Merge branch 'bugfix/delete_node_during_list_traverse_5.0' into 'release/v5.0'
bugfix: Fixed the crash of LoadProhibited caused by invalid operation on list node in handling hci_hardware_error event (v5.0)

See merge request espressif/esp-idf!23117
2023-06-12 18:16:25 +08:00
Jin Cheng
7e810cd65c fix a2dp source crash when connect to Bose speaker 2023-06-12 03:24:15 +00: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
f9ad773288 Merge branch 'bugfix/hfp_ag_idx_invalid_v5.0' into 'release/v5.0'
bt: Fixed out of bounds access due to variable length array(v5.0)

See merge request espressif/esp-idf!23666
2023-06-01 19:59:22 +08:00