Commit Graph

957 Commits

Author SHA1 Message Date
Jin Cheng
b9ed6f722b feat(bt/bluedroid): Added mode to use BlueDroid host only without Bluetooth Controller 2023-11-02 11:10:24 +08:00
Rahul Tank
e758c819d9 fix(nimble): remove IRAM_ATTR from npl_os_freertos.c file 2023-11-01 17:36:44 +05:30
cjin
20ca1c0dfa change(ble): added option for msys buffer source 2023-11-01 17:25:09 +08:00
zhanghaipeng
0de2c5092b feat(bt/bluedroid): Display BLE permission check handle in error trace 2023-10-31 19:45:10 +08:00
zhanghaipeng
a2e4a3581b feat(bt/bluedroid): Support BLE gattc notify registration number 2023-10-31 19:42:48 +08:00
zhanghaipeng
b68c026adb fix(bt/bluedroid): Fix key size check in BLE smp 2023-10-31 19:42:34 +08:00
Zhi Wei Jian
e925665f94 Merge branch 'bugfix/fix_ble_bond_error_after_reboot' into 'master'
fix(ble/bluedroid): fixed BLE bond error after reboot

Closes CBLE50Y23-58

See merge request espressif/esp-idf!26392
2023-10-19 11:58:16 +08:00
Jiang Jiang Jian
249e45a5d6 Merge branch 'bugfix/coex_cfg_option_invisible' into 'master'
fix(esp_coex): Fix dependency errors in coexist configuration

Closes BT-3435

See merge request espressif/esp-idf!26484
2023-10-18 15:36:22 +08:00
zhiweijian
d86a990be5 fix(ble/bluedroid): fixed BLE bond error after reboot 2023-10-18 14:40:16 +08:00
Zhi Wei Jian
daf1fc790a Merge branch 'bugfix/fix_dtm_test_failed_on_ble_5.0' into 'master'
fix(ble/bluedroid): fixed bluedroid host DTM API

Closes BLEQABR23-690 and BLECRT-42

See merge request espressif/esp-idf!26345
2023-10-18 14:04:54 +08:00
Zhang Hai Peng
ea81f4c4a3 Merge branch 'bugfix/fix_ble_bugs' into 'master'
Fix some BLE bugs in bluedroid host

See merge request espressif/esp-idf!26448
2023-10-16 19:27:29 +08:00
linruihao
11efe6ecdc fix(esp_coex): Fix dependency errors in coexist configuration 2023-10-16 11:44:23 +08:00
Gong Yan Tao
ce98ac87d4 Merge branch 'bugfix/unable_to_load_bonded_ble_devices_from_nvs' into 'master'
fix(bt&ble): fix BLE unable to load bonded device info after reboot.

Closes BT-3406

See merge request espressif/esp-idf!25535
2023-10-13 19:18:42 +08:00
zhanghaipeng
4129addca6 fix(bt/bluedroid): Fix remove resolving list error for esp32 2023-10-13 10:54:25 +08:00
zhanghaipeng
c73d7c0b60 fix(bt/bluedroid): Fix bugs in ble service change characteristic 2023-10-13 10:54:25 +08:00
zhanghaipeng
2b551b09c8 feat(bt/bluedroid): Support scan response data length zero in BLE 2023-10-13 10:54:25 +08:00
gongyantao
fdc35e772b fix(bt/bluedroid): update the newest active device in bluetooth
1: update the newest active device when an ACL link is established and
   the remote device info is not in bond list. This updates will not stored
   into NVRAM until a new device is paired.
2023-10-12 07:46:34 +00:00
gongyantao
061cd29168 fix(bt/bluedroid): ble fails to load bonded device info after reboot
1: add a quantity check in bt when writing paired device info into nvs.
2: delete the exceeded device info from NVS when get bonded list during
bluedroid initialization.
3: unify the process of bt and ble to load bonded list during bluedroid
initialization.
2023-10-12 07:46:34 +00:00
zhiweijian
d3394003b5 Update BLE lib on ESP32-C3 and ESP32-S3
- modify mesh proxy solic uuid to 0x18590303
- Fixed DTM payload length cannot be 0
- Added config to enable Hw recorrect eco
- report the number of packets sent on the TX end
2023-10-12 07:42:53 +00:00
zhiweijian
43011c66d6 fix(ble/bluedroid): fixed bluedroid host DTM API 2023-10-12 07:42:53 +00:00
gongyantao
9e4c8bb76e fix(bt/bluedroid): Add correct macro for ertm mode included flag 2023-10-11 20:19:40 +08:00
Rahul Tank
422d6f9c23 Merge branch 'bugfix/fix_max_cccds_compilation_issue' into 'master'
fix(nimble): Fix compilation warnings when max bonds or cccd is set to 0

Closes IDFGH-11151

See merge request espressif/esp-idf!26307
2023-10-10 18:11:00 +08:00
Alexey Lapshin
6a94453a18 fix(bt): fix gcc 13.1.0 warnings 2023-10-09 12:13:02 +04:00
Rahul Tank
511dbaa784 fix(nimble): Fix compilation issues when max bonds or cccd is set to 0 2023-10-04 16:48:26 +05:30
Ivan Grokhotkov
5cd6284b6c Merge branch 'feature/bt_component_test_app' into 'master'
feat(bt): migrate the tests from unit-test-app

Closes IDF-5567

See merge request espressif/esp-idf!26134
2023-10-02 23:31:03 +08:00
Zhi Wei Jian
60961e9e7f Merge branch 'feature/Add_apis_for_dtm_test' into 'master'
Feature/add apis for direct test mode

See merge request espressif/esp-idf!25735
2023-09-27 19:00:20 +08:00
Zhi Wei Jian
66e720c7eb Merge branch 'feature/add_api_to_update_config_file_path' into 'master'
Add API to update bluetooth config file path

See merge request espressif/esp-idf!25560
2023-09-27 18:59:35 +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
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
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
liqigan
eb65d0a9cd fix(bt/bluedroid): Fix the issue for HID congestion checking 2023-09-22 16:10:08 +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
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
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
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
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
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
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
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
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
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
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
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
zwl
4955bb3bda feat(ble): enable adv report flow control on esp32c2 2023-09-07 16:22:39 +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
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
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
chenqingqing
75efaa6465 feat(bt/api): Add new apis for hfp to get the numbers of packet status received and sent 2023-09-04 20:29:03 +08:00
chenqingqing
55cdf8434b fix(bt/bluedroid): Fixed the issue of NULL address for btc_hf_ag 2023-09-04 19:30:37 +08:00
Zhi Wei Jian
6daba772d8 Merge branch 'feature/add_new_mesh_adv_type_for_exception_list' into 'master'
Add BLE mesh adv types for exception list

See merge request espressif/esp-idf!25652
2023-09-04 14:06:50 +08:00
darshan
50c5f09fc3 fix(nimble): added log for extended advertisement 2023-09-04 09:15:23 +05:30
Wang Meng Yang
78af508654 Merge branch 'feature/add_new_bluedroid_init' into 'master'
Feat(bt/bluedroid): Add new ESP Bluedroid stack init API

Closes BTQABR2023-32

See merge request espressif/esp-idf!25248
2023-09-04 11:24:44 +08:00
Wang Meng Yang
6598c6ecd7 Merge branch 'bugfix/hf_ag_report_event_with_null_bdaddr' into 'master'
Bugfix/fixed bugs of HFP in BlueDroid

Closes BTQABR2023-71, BTQABR2023-73, BTQABR2023-74, BTQABR2023-78, BTQABR2023-81, BTQABR2023-82, and BTQABR2023-69

See merge request espressif/esp-idf!25493
2023-09-04 11:21:15 +08:00
Roshan Bangar
af9a9076d6 feat(nimble): Added support for dynamic services
Added support for dynamic services
2023-09-01 17:40:42 +05:30
Rahul Tank
c0977bf730 Merge branch 'feature/adv_queue_congestion' into 'master'
feat(nimble): Added adv queue congestion check

See merge request espressif/esp-idf!25310
2023-09-01 19:50:19 +08:00
zhiweijian
65e18ff02a Add mesh adv type for exception list 2023-09-01 17:38:06 +08:00
Zhang Hai Peng
3dca0d7d2e Merge branch 'docs/update_ble_comment' into 'master'
docs(bt): Update comment in ble

See merge request espressif/esp-idf!25477
2023-09-01 16:08:49 +08:00
Island
3616815d09 Merge branch 'bugfix/timeout_when_update_conn_param' into 'master'
fix(bt): Fix bugs about updating connect param

See merge request espressif/esp-idf!25442
2023-09-01 15:37:44 +08:00
Island
6b14a61544 Merge branch 'bugfix/fix_crash_when_using_aes_128' into 'master'
fix(bt): Fix bug while calculating block cipher using aes-128

See merge request espressif/esp-idf!25476
2023-09-01 15:37:32 +08:00
Island
d750b3bfb6 Merge branch 'feat/support_per_adv_adi' into 'master'
feat(bt/bluedroid): Support periodic adi

Closes BLEQABR23-372

See merge request espressif/esp-idf!25546
2023-09-01 15:37:13 +08:00
wanglai@espressif.com
f9fd217020 feat(bt/bqb): Add setting local di record function for bt classic hid device bqb test 2023-09-01 01:54:29 +00:00
liqigan
4b35ac5c2d remove(bt/bluedroid): Remove unused macro BT_SSP_INCLUDED and global
variable bte_bt_appl_cfg
2023-08-31 12:28:38 +00:00