Commit Graph

764 Commits

Author SHA1 Message Date
zhanghaipeng
5c6533d574 fix(bt/bluedroid): Fix bugs in ble service change characteristic 2023-10-16 19:30:08 +08:00
zhanghaipeng
c1b8734fb9 feat(bt/bluedroid): Support scan response data length zero in BLE 2023-10-16 19:29:56 +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
Rahul Tank
e3f05d0972 Merge branch 'feat/add_high_duty_adv_interval_v5.0' into 'release/v5.0'
feat(nimble): Added support for high duty adv interval (v5.0)

See merge request espressif/esp-idf!25554
2023-09-18 11:40:24 +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