Commit Graph

3280 Commits

Author SHA1 Message Date
chenjianhua
42b85dffb1 Update bt lib for ESP32-C3 and ESP32-S3(c8aa206)
- Fixed extended adv address setting after adv restart
- Fixed scan channel index setting for extended scan
- Add API to set aux channel index for extended adv
2023-09-26 16:10:21 +08:00
Jiang Jiang Jian
1f25202bb1 Merge branch 'test/bqb_test_bt_classic_hfp' into 'master'
feat(bt/hfp): Add support for HFP BQB auto test

Closes BT-3338, BT-3400, BT-3402, and BT-3404

See merge request espressif/esp-idf!25551
2023-09-26 15:00:11 +08:00
Ivan Grokhotkov
1fbee174af
fix(bt): fixed -Write-strings warning in btm_ble_5_gap.c 2023-09-25 15:01:29 +02:00
Ivan Grokhotkov
eafa723093
feat(bt): migrate the tests from unit-test-app 2023-09-25 15:01:29 +02:00
zhiweijian
23a20e4b27 feat(ble/bluedroid): Add API to update config file path 2023-09-25 20:58:55 +08:00
zhiweijian
de148c3a5e feat(ble/bluedroid): Add APIs for BLE direct test mode on bluedroid host 2023-09-25 12:50:16 +00:00
Wang Meng Yang
47649d5eed Merge branch 'bugfix/fix_hid_congestion' into 'master'
Fix(bt/bluedroid): Fix the issue for HID congestion checking

Closes BTQABR2023-113

See merge request espressif/esp-idf!26153
2023-09-25 17:49:46 +08:00
zhiweijian
150900eabb feat: add config to disable ble hci uart flow control 2023-09-25 14:26:59 +08:00
Wang Meng Yang
3b7a37fcd4 Merge branch 'test/bqb_test_bt_classic_l2cap' into 'master'
feat(bt/bluedroid): Add flags for BQB auto test of L2CAP

Closes BT-3357

See merge request espressif/esp-idf!25621
2023-09-25 14:12:19 +08:00
Wang Meng Yang
d63788058a Merge branch 'bugfix/config_tpoll_fail' into 'master'
Bugfix/config tpoll fail

Closes BTQABR2023-40 and BTQABR2023-101

See merge request espressif/esp-idf!25846
2023-09-25 14:04:41 +08:00
wanglai@espressif.com
f0e90b296a fix(bt/bluedroid): Revise the description for index in esp_hf_ag_clcc_response and correct the error return in btc_hf_indchange_notification
1: modify the description of param index in function
esp_hf_ag_clcc_response.
2: fix the error code return of function btc_hf_indchange_notification.
2023-09-25 11:59:57 +08:00
wanglai@espressif.com
8b1c5d3a6a feat(bt/bluedroid): Add flag to control whether to send AT+CLIP cmd for BQB test 2023-09-25 11:59:57 +08:00
wanglai@espressif.com
a481a1553d feat(bt/bluedroid): Add flag to change HFP client features for BQB test 2023-09-25 11:59:57 +08:00
wanglai@espressif.com
c5fa755251 feat(bt/bluedroid): Add eSCO S1 support for hfp client BQB test 2023-09-25 11:59:57 +08:00
wanglai@espressif.com
03de9d0cf7 feat(bt/bluedroid): Add flag to send BRSF features for hfp ag BQB test 2023-09-25 11:59:50 +08:00
wanglai@espressif.com
cf52a57b55 feat(bt/bluedroid): Modify the btc hf features for AT+NREC cmd in BQB test 2023-09-25 11:41:19 +08:00
wanglai@espressif.com
bf77d8755a fix(bt/bluedroid): Fix the process of sending OK in ATD and COPS cmds 2023-09-25 11:41:19 +08:00
wanglai@espressif.com
5875f1160e feat(bt/bluedroid): Add supprot for specific indicator sending from AG to Client 2023-09-25 11:41:18 +08:00
wanglai@espressif.com
5600da1cfe feat(bt/bluedroid): Modify AT+CNUM response api and HFP AG example 2023-09-25 11:41:18 +08:00
wanglai@espressif.com
0860e75587 feat(bt/bluedroid): Add HFP config for BQB test 2023-09-25 11:41:18 +08:00
Wu Meng Shi
be0f07e629 fix(ble_mesh): avoid filtering BLE_MESH_ADV_NONCONN_IND packets. 2023-09-25 03:27:50 +00:00
liqigan
eb65d0a9cd fix(bt/bluedroid): Fix the issue for HID congestion checking 2023-09-22 16:10:08 +08:00
baohongde
87af877d33 feat(bt/hci): Added Vendor-Specific HCI command to disable DM1 for ACL-U 2023-09-22 14:36:45 +08:00
Island
0171beab7c Merge branch 'bugfix/BLEQABR23-414master' into 'master'
bugfix(mesh): Fix PB-GATT adv is reported to the app layer too frequently

Closes BLERP-15 and BLERP-74

See merge request espressif/esp-idf!25895
2023-09-22 14:20:39 +08:00
Wu Meng Shi
3e43a6b69f bugfix(mesh): Fix PB-GATT adv is reported to the app layer too frequently 2023-09-22 14:20:38 +08:00
Rahul Tank
5a061ef969 Merge branch 'bugfix/remove_unused_coex_header' into 'master'
remove(nimble): Removed unused coex header inclusion

See merge request espressif/esp-idf!26061
2023-09-22 12:50:55 +08:00
baohongde
c2cbb5d04c fix(bt/bluedroid): Triggering disconnect event of GAP correctly 2023-09-22 12:14:49 +08:00
baohongde
510ddd1cbc fix(bt/bluedroid): Fix issue of QoS configuration failure when t_poll is greater than 40 2023-09-22 12:14:32 +08:00
Island
cba5b6f2bf Merge branch 'bugfix/BLEQABR23-628' into 'master'
bugfix(mesh): remove reset link state on receiving prov_data packets

Closes BLERP-77

See merge request espressif/esp-idf!26104
2023-09-22 11:59:12 +08:00
Wu Meng Shi
4118244f59 bugfix(mesh): remove reset link state on receiving prov_data packets 2023-09-22 11:59:12 +08:00
Wang Meng Yang
92e8662a80 Merge branch 'bugfix/add_params_check_for_hci' into 'master'
fix(bt/controller): Fixed some HCI commands parameter

See merge request espressif/esp-idf!25866
2023-09-22 11:37:30 +08:00
Wang Meng Yang
fa05598da4 Merge branch 'bugfix/hfp_api_pkt_stat_nums' into 'master'
fix(bt/bluedroid): Fix the judgment condition for packet transmission status statistics

Closes BTQABR2023-111

See merge request espressif/esp-idf!26020
2023-09-22 11:37:00 +08:00
Rahul Tank
55767ea855 remove(nimble): Removed unused coex header inclusion 2023-09-21 15:32:06 +05:30
shangke
dcb714e796 fix(bt/controller): Fixed some HCI commands parameter
1: add param check for HCI_Recevie_Synchronization_Train.
2: add param check for HCI_Set_Connectionless_Peripheral_Broadcast.
3: fix slave cannot take a secure authentication.
2023-09-21 15:07:25 +08:00
chenqingqing
4705995b69 fix(bt/bluedroid): Fix the judgment condition for packet transmission status statistics 2023-09-21 14:43:52 +08:00
Rahul Tank
83aedb202f Merge branch 'bugfix/post_reattempt_cnt_event' into 'master'
fix(nimble): Add event for reattempt connection count information

Closes BLECRT-22 and BLEQAOPT-172

See merge request espressif/esp-idf!25445
2023-09-21 14:07:16 +08:00
cjin
7b176501e3 feat(ble): update ble sleep logic for esp32h2 2023-09-21 11:30:49 +08:00
Wang Meng Yang
7e91e901f0 Merge branch 'feature/use_vsc_to_op_coex_st' into 'master'
feat(bt/Bluedroid): Implemented esp_coex_status_set/clear using vendor HCI

Closes BTQABR2023-66

See merge request espressif/esp-idf!25938
2023-09-20 16:52:51 +08:00
Rahul Tank
55323ed437 fix(nimble): Add event for reattempt connection count information 2023-09-20 08:25:20 +05:30
wanglai@espressif.com
afc7cf445e 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-19 19:53:00 +08:00
Wang Meng Yang
10c7026053 Merge branch 'change/optimize_sniff_request' into 'master'
Change(bt/bluedroid): Limit sniff request when pending mode change event

Closes BTQABR2023-99

See merge request espressif/esp-idf!25873
2023-09-19 17:42:26 +08:00
Wang Meng Yang
0cb0c49597 Merge branch 'bugfix/a2dp_media_ctrl' into 'master'
Bugfix/a2dp media ctrl

Closes BTQABR2023-42

See merge request espressif/esp-idf!25300
2023-09-19 14:27:06 +08:00
Wang Meng Yang
4db3a589e3 Merge branch 'origin/test/bqb_test_bt_classic_avdtp' into 'master'
feat(bt/bqb): Add avdt abort function for BQB test

Closes BT-3340

See merge request espressif/esp-idf!25681
2023-09-19 08:40:06 +08:00
Island
2c51e10198 Merge branch 'bugfix/fix_bleqabr23_394' into 'master'
Fixed address resolution for directed advertising on esp32c3 and esp32s3

See merge request espressif/esp-idf!25586
2023-09-18 15:23:03 +08:00
Liu Linyan
6b5d7d103e Merge branch 'bugfix/ble_mesh_v1.1_misc_fixes' into 'master'
Bugfix/ble mesh v1.1 misc fixes

Closes BLERP-25

See merge request espressif/esp-idf!25903
2023-09-18 14:10:44 +08:00
Wang Meng Yang
a0ae1bbc61 Merge branch 'bugfix/coex_ble_scan_rate' into 'master'
fix(esp_coex): Fix esp32 ble scan not restart when wifi start stop

Closes BT-3376

See merge request espressif/esp-idf!25967
2023-09-18 10:40:34 +08:00
wangjialiang
8eed3a2467 fix(ble_mesh): Miscellaneous update for ble mesh 2023-09-16 15:58:14 +08:00
luoxu
14ca0f3db6 fix(ble_mesh): update lib to :1469712f9 2023-09-16 08:43:52 +08:00
chenjianhua
827a00d4d5 Update bt lib for ESP32-C3 and ESP32-S3(29996e0)
- Fixed address resolution for directed adv with RPA when scanning
- Fixed resolvable private address renew after timeout
2023-09-15 17:49:37 +08:00
Rahul Tank
c1342d3347 Merge branch 'feat/add_sbom_manifest_file' into 'master'
feat(nimble): Update nimble submodule pointer for SPDX manifest addition for SBOM tool

Closes IDF-8230

See merge request espressif/esp-idf!25922
2023-09-15 10:57:24 +08:00
Jiang Jiang Jian
b790f0a773 Merge branch 'bugfix/check_mapping_target_conflict' into 'master'
fix(ldgen): check target conflict for entries with section aliases

Closes IDF-8192

See merge request espressif/esp-idf!25921
2023-09-15 10:32:59 +08:00
Jiang Jiang Jian
284edcc52c Merge branch 'bugfix/fix_ble_set_periodic_advertising_data_error' into 'master'
fix(bt/bluedroid): Fix set periodic advertising data error

Closes BLERP-39

See merge request espressif/esp-idf!25955
2023-09-15 10:28:43 +08:00
linruihao
efacf9a73d fix(esp_coex): Fix esp32 ble scan not restart when wifi start stop 2023-09-14 17:55:55 +08:00
Jiang Jiang Jian
ca78f8b925 Merge branch 'bugfix/bugfix_for_esp32c2_esp32c6_esp32h2' into 'master'
fix(ble): fixed crash when memory is insufficient on esp32c2

Closes BLERP-9, BLERP-10, BLERP-11, BLERP-13, and BLERP-12

See merge request espressif/esp-idf!25823
2023-09-14 10:43:27 +08:00
Wang Meng Yang
90ed5a7f4b Merge branch 'bugfix/fix_four_controller_bugs' into 'master'
Bluetooth/Controller: fixed some controller bugs

Closes IDFGH-5265, IDFGH-9447, FCS-1073, AUD-4546, AUD-4561, BRQABR2023-83, and BRQABR2023-84

See merge request espressif/esp-idf!23155
2023-09-14 09:19:22 +08:00
Wang Meng Yang
965af359ba Merge branch 'bugfix/error_param_in_BTA_AG_WBS_EVT' into 'master'
Bugfix/error param in bta ag wbs evt

Closes BTQABR2023-102 and BTQABR2023-103

See merge request espressif/esp-idf!25913
2023-09-13 19:55:03 +08:00
zhanghaipeng
c7212fdef1 fix(bt/bluedroid): Fix set periodic advertising data error 2023-09-13 16:58:34 +08:00
Bao Hong De
e5739ddd45 Merge branch 'bugfix/set_eir_when_no_eir_data' into 'master'
change(bt/bluedroid): Send a name tag with zero length when there is no EIR data

Closes BTQABR2023-100

See merge request espressif/esp-idf!25805
2023-09-13 14:05:14 +08:00
Rahul Tank
54f1ad4a7f feat(nimble): Added SBOM manifest file for SPDX file generation 2023-09-13 09:59:35 +05:30
Jin Cheng
d0e0928138 feat(bt/Bluedroid): Implemented esp_coex_status_set/clear using vendor HCI 2023-09-13 10:55:04 +08:00
Jin Cheng
3fb242660d fix(bt/controller): Fixed error in sniff negotiation
fix(bt/controller): Avoided both local and peer unsniff being triggered
fix(bt/controller): Fixed the crash of mixing of master- and slave-initiated sniff requests
fix(bt/controller): Moved the TX of HW_ERR_EVT out of interrupt context to thread context
fix(bt/controller): Fixed the issue rx_irq is generated after error_irq for slave sniff mode frame
fix(bt/controller): Fixed asser error resulted from failure of role switch frame insert
fix(bt/controller): Ignored rx_irq in inquiry scan frame end
fix(bt/controller): Ignored rx_irq in page scan frame end
fix(bt/controller): Added status check before set/clear sniff coex status
fix(bt/controller): Fixed IntegerDevideByZero caused by interrupted r_ld_sco_start
2023-09-12 12:20:50 +00:00
luomanruo
fa4f34e791 change(ble): update controller log print interface 2023-09-12 15:44:01 +08:00
Jin Cheng
62f6af0dd7 fix(bt/bluedroid): Fixed incorrect arrangement in type esp_hf_dial_type_t 2023-09-12 06:53:11 +00:00
Jin Cheng
024862c76f change(bt/bluedroid): Added line information printing when error occurs CHECK_HF_IDX 2023-09-12 06:53:11 +00:00
Jin Cheng
9fed90bbb4 fix(bt/bluedroid): Fixed the issue of uninitialized parameters in event BTA_AG_WBS_EVT 2023-09-12 06:53:11 +00:00
Wang Meng Yang
d7ab94eeb9 Merge branch 'test/bqb_test_bt_classic_sdp' into 'master'
feat(bt/bluedroid): Add language base attr list to SDP record for BQB test

Closes BT-3352

See merge request espressif/esp-idf!25622
2023-09-12 07:38:25 +08:00
You Wei
be88d11a81 fix(ldgen): check target conflict for entries with section alias 2023-09-11 21:24:05 +08:00
wanglai@espressif.com
6421460c0a feat(bt/bluedroid): Add avdt abort function for BQB test
1: add new AVDTP abort function for BQB test
2023-09-11 17:06:33 +08:00
baohongde
298e8cd7cb change(bt/bluedroid): Send a name tag with zero length when there is no EIR data 2023-09-11 08:35:32 +00:00
baohongde
c3ade2d54e change(bluedroid): Set AV is ready when suspended by remote 2023-09-11 08:25:00 +00:00
baohongde
d905993e1e remove(bluedroid): Delete media stop command and audio stopped state 2023-09-11 08:25:00 +00:00
Rahul Tank
d0c00b1f76 Merge branch 'bugfix/ble_gap_unpair_fix' into 'master'
fix(nimble): Handled error return value while removing RPA list from controller.

Closes BT-2576

See merge request espressif/esp-idf!25452
2023-09-11 14:25:55 +08:00
Jiang Jiang Jian
1bcd94a167 Merge branch 'bugfix/fix_hidd_send_rpt_without_connection' into 'master'
Change(bt/bluedroid): Optimize HIDD sending interrupt report behavior

Closes BTQABR2023-92

See merge request espressif/esp-idf!25739
2023-09-11 14:13:15 +08:00
wanglai@espressif.com
34ab5c1c89 feat(bt/bluedroid): Add language base attr list to SDP record for BQB test 2023-09-11 07:40:36 +08:00
Liu Linyan
5bab168b0e feat(ble_mesh): Support Bluetooth Mesh Protocol v1.1 (Preview) 2023-09-08 21:37:33 +08:00
Liu Linyan
bf51fb965b feat(ble_mesh): Bluetooth Mesh folder and file misc updates 2023-09-08 21:37:33 +08:00
Island
c301deb351 Merge branch 'bugfix/fix_memery_free_bug_for_ble_mesh' into 'master'
fix(bt/bluedroid): Fix memory no free issue when disconneting for mesh

See merge request espressif/esp-idf!25853
2023-09-08 20:39:23 +08:00
cjin
7fc9c0ad62 ble: support esp32c2 wakeup overhead 2023-09-08 15:50:28 +08:00
luomanruo
60d6b3c13e ble: update esp32h2 and esp32c6 libble to a9fa2002 2023-09-08 14:25:26 +08:00
Jiang Jiang Jian
0fd57f41ef Merge branch 'feature/add_api_to_enable_pll_track' into 'master'
Enable pll track by default on ESP32

See merge request espressif/esp-idf!25799
2023-09-08 13:22:26 +08:00
liqigan
b2b305fd5d change(bt/bluedroid): Limit sniff request when pending mode change event 2023-09-08 12:00:21 +08:00
liqigan
bc1b01a966 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-08 03:35:05 +00:00
Abhinav Kudnar
9a73cfc54c fix(nimble): Handled error return value while removing RPA list from controller 2023-09-07 19:48:34 +05:30
Rahul Tank
d6e0e86d0d Merge branch 'bugfix/fix_compilation_issue_enc_adv' into 'master'
fix(nimble): Fix compilation issue of unknown MYNEWT_VAL

See merge request espressif/esp-idf!25748
2023-09-07 22:05:25 +08:00
zhanghaipeng
0f17b6616e fix(bt/bluedroid): Fix memory no free issue when disconneting for mesh 2023-09-07 19:59:33 +08:00
zwl
4955bb3bda feat(ble): enable adv report flow control on esp32c2 2023-09-07 16:22:39 +08:00
zwl
67c8b38d20 fix(ble): fixed crash when memory is insufficient on esp32c2 2023-09-07 16:22:29 +08:00
zhiweijian
5d8873f2d8 change: enable pll track by default on ESP32 2023-09-07 06:08:36 +00:00
Jiang Jiang Jian
a1c0d9c3a1 Merge branch 'feature/ble_lib_update_h2_c6' into 'master'
ble: update h2 c6 libble to 5d7af429

Closes BLERP-7

See merge request espressif/esp-idf!25691
2023-09-07 10:25:08 +08:00
Wang Meng Yang
cd9eeff345 Merge branch 'feature/add_hfp_api_pkt_stat_nums' into 'master'
feat(bt/bluedroid): Add new apis for hfp to get  packet status numbers

See merge request espressif/esp-idf!25446
2023-09-06 16:15:22 +08:00
Zhi Wei Jian
4f7e7ce6c9 Merge branch 'feature/add_api_to_enable_pll_track' into 'master'
feat(ble/controller): Add API to enable/disable pll track

See merge request espressif/esp-idf!25779
2023-09-06 15:29:55 +08:00
Rahul Tank
57eb7858f0 fix(nimble): Fix compilation issue of unknown MYNEWT_VAL 2023-09-06 10:03:02 +05:30
Rahul Tank
3da06e465a Merge branch 'bugfix/ext_adv_log' into 'master'
fix(nimble): added log for extended advertisement

See merge request espressif/esp-idf!25461
2023-09-06 00:34:12 +08:00
zhiweijian
2a11862118 feat(ble/controller): Add API to enable/disable pll track 2023-09-05 21:50:39 +08:00
luomanruo
a2935ba6ec change: print assert info before dump log 2023-09-05 20:40:04 +08:00
cjin
926695b000 change: changed ble msys init for controller 2023-09-05 20:40:04 +08:00
cjin
574800b50a feat: added ble wake up overhead support 2023-09-05 20:40:04 +08:00
luomanruo
7ec0ccad09 ble: update h2 c6 libble to 5d7af429 2023-09-05 20:40:04 +08:00
Zhi Wei Jian
98d9d14e87 Merge branch 'feature/add_new_mesh_adv_type_for_exception_list_c3' into 'master'
Add new mesh types for exception list on ESP32-C3 and ESP32-S3

See merge request espressif/esp-idf!25749
2023-09-05 19:18:03 +08:00
Wang Meng Yang
efeb308bc0 Merge branch 'test/bqb_test_bt_classic_hid' into 'master'
feat(bt/bqb): Add setting local di record function for specific hid case of bqb auto test

Closes BT-3359

See merge request espressif/esp-idf!25055
2023-09-05 07:20:24 +08:00