Commit Graph

3485 Commits

Author SHA1 Message Date
Wu Meng Shi
dc75dc6ec7 fix(ble_mesh): avoid executing bt_mesh_host_init() more than once when using nimble 2023-09-26 19:10:30 +08:00
zhiweijian
3cc06e472b change(ble/controller): disable pll track by default in BLE controller on ESP32-C3 and ESP32-S3 2023-09-26 16:23:58 +08:00
zhangwenxu
e5b96c94b5 fix(CI): fix CI build 2023-09-26 16:23:58 +08:00
zwl
355a420055 fix(phy): Fix ble phy_enable/disable api invoking issue for esp32c2,esp32h2 and esp32c6 2023-09-26 16:23:58 +08:00
Jiang Jiang Jian
17ae394fd1 Merge branch 'feature/update_esp32h2_sleep_logic' into 'master'
feat(pm): remove SOC_PM_RETENTION_HAS_CLOCK_BUG for esp32h2

See merge request espressif/esp-idf!26081
2023-09-26 16:11:25 +08:00
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
zhiweijian
618c6f8336 Add new mesh types for exception list on ESP32-C3 and ESP32-S3 2023-09-04 20:38:36 +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
Rahul Tank
830acd0e6e Merge branch 'feature/dynamic_services' into 'master'
Nimble: Add support for dynamic service addition / deletion

Closes BT-3182

See merge request espressif/esp-idf!22777
2023-09-03 00:47: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
Island
8904d6bb37 Merge branch 'feature/esp32c2_add_trace_function' into 'master'
ble: supported trace function and adv report flow control on esp32c2

See merge request espressif/esp-idf!25639
2023-09-01 20:10:38 +08:00
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
Wang Meng Yang
ef056aadaa Merge branch 'bugfix/hci_chg_conn_pkt_type_command' into 'master'
fix(bt/controller): Fixed some HCI commands parameter check

Closes BTQABR2023-5, BTQABR2023-6, BTQABR2023-2, and BTQABR2023-90

See merge request espressif/esp-idf!25543
2023-09-01 15:02:46 +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
liqigan
0df585dc35 feat(bt/bluedroid): Add new version of API for Bluedroid host stack initialization 2023-08-31 12:28:38 +00:00
Jin Cheng
cde05ef495 fix(bt/bluedroid): Deleted the redundant 'memset' in btc_hf_cb_handler 2023-08-31 19:44:37 +08:00
zhanghaipeng
79c2764d1e docs(bt): Update comment in ble 2023-08-31 16:43:32 +08:00
Jiang Jiang Jian
23ebfd1420 Merge branch 'test/bqb_test_bt_classic_a2dp' into 'master'
feat(bt/bqb): Add setting SBC encoder and reject invalid codec type support for a2dp BQB test

Closes BT-3338

See merge request espressif/esp-idf!25484
2023-08-31 13:53:26 +08:00
darshan
8e0cfe7f66 feat(nimble): Added adv queue congestion check 2023-08-31 10:57:11 +05:30
zwl
4abf0c46b5 ble: supported trace function and adv report flow control on esp32c2 2023-08-31 11:58:29 +08:00
linruihao
f3b87ee3bd fix(bt/controller): Fixed some HCI commands parameter check
Fixed HCI_Change_Connection_Packet_Type Command parameter check
Fixed HCI_Accpet_Synchronous_Connection_Request Command parameter check
Fixed HCI_Set_Connectionless_Peripheral_Broadcast_Data Command parameter check
2023-08-30 19:38:14 +08:00
Jin Cheng
0a03f7e03a docs(bt/bluedroid): Changed the description of esp_hf_client_reject_call 2023-08-30 17:27:13 +08:00
Jin Cheng
fbb69daaaa fix(bt/bluedroid): Fixed wrong indexes of HF-AG indicators 2023-08-30 17:27:13 +08:00
Jin Cheng
6d301d11bc fix(bt/bluedroid): Added peer Bluetooth device address into HF callback parameters 2023-08-30 17:27:03 +08:00
Jin Cheng
a93b6674c4 fix(bt/bluedroid): Changed log level from WARNING to DEBUG in bta_ag_sco_read_cback 2023-08-30 17:24:45 +08:00
Jin Cheng
0c4dc36695 fix(bt/bluedroid): Fixed wrong code logic in 'AT+CIND?' of HFP 2023-08-30 17:24:45 +08:00
Jin Cheng
ccfcc6a153 fix(bt/bluedroid): Fixed errors in parsing ATD command in HFP AG 2023-08-30 17:24:38 +08:00
zhanghaipeng
ca2c295cca feat(bt/bluedroid): Support periodic adv adi feature 2023-08-30 14:27:30 +08:00
Wang Meng Yang
0f852ec0da Merge branch 'feature/add_bt_set_page_timeout_api' into 'master'
Feat(bt/bluedroid): Add new apis for bluetooth to set and get page timeout

Closes BT-3392

See merge request espressif/esp-idf!25351
2023-08-30 11:29:44 +08:00
gongyantao
ff353beec9 feat(bt/gap): Add new apis for bluetooth to set and get page timeout
1: add two new apis for classic bluetooth,
esp_bt_gap_set_page_timeout(page_to) and esp_bt_gap_get_page_timeout(),
which can get and set the value of page timeout.
2023-08-29 16:28:35 +08:00
Island
5663531a7e Merge branch 'bugfix/ble_hci_issues_chain_mbuf' into 'master'
fix hci issues when chain mbuf exists

See merge request espressif/esp-idf!25531
2023-08-28 18:39:45 +08:00
Zhi Wei Jian
09f5f66661 Merge branch 'bugfix/fix_ble_examples_malloc' into 'master'
BLE examples malloc related code optimization

See merge request espressif/esp-idf!23638
2023-08-28 11:14:18 +08:00
Rahul Tank
db996617d3 feat(nimble): Add support for LE Data Set Related Address Change command 2023-08-25 10:41:46 +05:30
luomanruo
3f6dd76e41 ble: Assert when getting memory fail 2023-08-25 12:23:00 +08:00
luomanruo
91f531b14e ble: Fix hci issues when chain mbuf exists 2023-08-25 12:22:16 +08:00
Wang Meng Yang
3632aa5bd5 Merge branch 'feature/config_device_name_in_eir' into 'master'
Add option whether to include or exclude device name in extended inquiry response data

Closes BTQABR2023-31

See merge request espressif/esp-idf!25341
2023-08-25 11:19:38 +08:00
wanglai@espressif.com
2644b3efa5 feat(bt/bqb): 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-08-25 11:15:15 +08:00
Jin Cheng
3e7a47a566 fix(bt/bluedroid): Fixed NULL Bluetooth device address in HF-AG events was reported to application layer 2023-08-25 11:11:32 +08:00
Rahul Tank
53102f6600 Merge branch 'feat/add_high_duty_adv_interval' into 'master'
feat(nimble): Added support for high duty adv interval

See merge request espressif/esp-idf!25371
2023-08-25 04:00:56 +08:00
zhanghaipeng
bd2bde1448 fix(bt): Fix bugs about updating connect param 2023-08-24 14:14:35 +08:00
Jiang Jiang Jian
b39180d7a1 Merge branch 'bugfix/m_ble_issues_bugfix_c2' into 'master'
update btlib to 7d0ce3ba, some esp32c2 issues bugfixed

See merge request espressif/esp-idf!25428
2023-08-24 14:13:05 +08:00
Chen Jian Hua
cce55cf071 Merge branch 'bugfix/fix_bleqabr23_457' into 'master'
fix(bt/bluedroid): Fixed GATTC cache address save when list is full

See merge request espressif/esp-idf!25362
2023-08-24 14:09:01 +08:00
baohongde
e7a2096397 feat(bt/bluedroid): Add option whether to include device name in extended inquiry response 2023-08-24 14:04:28 +08:00
Chen Jian Hua
70071a334f Merge branch 'bugfix/fix_bleqabr23_181_esp32' into 'master'
Support BLE RX error packet count record on esp32

See merge request espressif/esp-idf!25316
2023-08-24 11:12:36 +08:00
zwj
334a8f2459 BLE examples malloc related code optimization 2023-08-23 15:34:28 +08:00
wanglai@espressif.com
d0395070c3 fix(bt/avdtp): 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-08-23 11:08:14 +08:00
luomanruo
a2620e7588 ble: update btlib to f9db7b90, some esp32c2 issues bugfixed 2023-08-23 10:20:01 +08:00
Rahul Tank
d3b69c25e4 feat(nimble): Added support for high duty adv interval 2023-08-22 21:27:32 +05:30
Wang Meng Yang
8466930ac2 Merge branch 'bugfix/fix_bleqabr23_486' into 'master'
fix(bt/bluedroid): Fixed BLE disconnect event report when disconnecting

See merge request espressif/esp-idf!25370
2023-08-22 21:17:33 +08:00
zhanghaipeng
faff6d3ee3 fix(bt): Fix bug while calculating block cipher using aes-128 2023-08-22 19:38:01 +08:00
Roshan Bangar
67b956f503 feat(nimble): Added periodic Adv Feature Updates in BLE 5.3 2023-08-22 10:18:10 +05:30
Island
db51ceed69 Merge branch 'bugfix/esp32c6_heap_is_corrupted' into 'master'
Bugfix/esp32c6 heap is corrupted

See merge request espressif/esp-idf!25332
2023-08-21 14:03:09 +08:00
chenjianhua
b9e98b3e7f fix(bt/bluedroid): Fixed BLE disconnect event report when disconnecting 2023-08-19 04:24:47 +00:00
chenjianhua
293bf23743 fix(bt/bluedroid): Fixed GATTC cache address save when list is full 2023-08-19 12:08:30 +08:00
chenjianhua
be0ef2d0e0 update esp32 bt-lib (7b24543)
- Support BLE RX error packet count record
- Fixed instant setting for LLC procedures with instants
- Fixed adv random delay when adv interval is less than 20ms
2023-08-18 16:49:35 +08:00
zwl
38d20430c7 ble: Added adv report flow control config on ESP32C6 and ESP32H2 2023-08-17 19:47:16 +08:00
zwl
386a31dfaf ble: fixed heap corruption on esp32c6 and esp32h2 2023-08-17 19:47:12 +08:00
Rahul Tank
09dd6237ae fix(nimble): Add API to send pcl set rssi vsc 2023-08-17 12:37:00 +05:30
Island
1f3e3f8f6a Merge branch 'bugfix/fix_current_issue_after_ble_init' into 'master'
Fix phy enable/disable for ESP32C6/H2/C2

See merge request espressif/esp-idf!25080
2023-08-14 13:11:19 +08:00
Wang Meng Yang
37c3fa8221 Merge branch 'bugfix/incr_sdp_max_conns' into 'master'
fix(bt): Increased SDP maximum connections to avoid connection exhaustion

Closes BTQABR2023-12

See merge request espressif/esp-idf!25184
2023-08-14 12:02:23 +08:00
chenjianhua
7accddadaa 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-08-11 14:08:59 +08:00
Island
ba0b8dcac1 Merge branch 'bluedroid/memory_full' into 'master'
fix (Bluedroid) : Fix the memory corruption issue

See merge request espressif/esp-idf!24905
2023-08-10 19:05:32 +08:00
cjin
5a8e51f24c ble: move phy enabled/disable to controller enable/disable 2023-08-10 10:14:29 +08:00
satish.solanke
b250e598dc fix(Bluedroid) : Fix the memory corruption issue 2023-08-08 12:16:55 +00:00
isha.pardikar@espressif.com
9178a78142 NimBLE: Added support of encrypted advertising data 2023-08-08 15:37:51 +05:30
isha.pardikar@espressif.com
e0b5ab3cef fix(nimble): Added checks before accessing event pointers 2023-08-08 04:58:20 +00:00
Chen Jian Hua
f5d9986246 Merge branch 'bugfix/fix_bleqabr23_178' into 'master'
fix(bt/bluedroid): Fix address check when using NRPA as random device address

See merge request espressif/esp-idf!25074
2023-08-07 20:38:32 +08:00
Chen Jian Hua
ad149a6a80 Merge branch 'feature/support_high_duty_adv_interval' into 'master'
feat(bt/bluedroid): Support high duty adv interval setting

See merge request espressif/esp-idf!25108
2023-08-07 20:38:17 +08:00
Wang Meng Yang
3da60ec6e7 Merge branch 'bugfix/remove_deprecated_err_code' into 'master'
fix(bt): Removed an incorrectly defined HCI error code in Bluedroid

See merge request espressif/esp-idf!25162
2023-08-04 17:26:47 +08:00
Wang Meng Yang
8e5aebe69e Merge branch 'bugfix/fix_bt_3379' into 'master'
fix(bt): Fix phy enable and disable for bt controller on esp32c3

See merge request espressif/esp-idf!25012
2023-08-04 10:52:24 +08:00
Xiong Wei Chao
0331e6fabd Merge branch 'bugfix/role_switch_enc_mode_lmp_timeout' into 'master'
bt: Fix disconnection due to lmp messages not being processed by both sides

Closes BTQABR2023-38 and BTQABR2023-37

See merge request espressif/esp-idf!24757
2023-08-04 10:23:26 +08:00
Jin Cheng
99eb6bf3ec fix(bt): Increased SDP maximum connections to avoid connection exhausted 2023-08-03 16:52:50 +08:00
Island
b43914770f Merge branch 'bugfix/fix_duplicate_disable_compile_issue' into 'master'
bugfix(ble): Fix compile issue when disable duplicate config option in kconfig.

See merge request espressif/esp-idf!25003
2023-08-03 16:09:44 +08:00
Jin Cheng
79bb7b6c8a fix(bt): Removed an incorrectly defined HCI error code 2023-08-03 12:15:03 +08:00
Rahul Tank
bae1838f66 Merge branch 'bugfix/handle_NULL_data_periodic_adv' into 'master'
fix(nimble): Add check to set length only if data is valid in periodic adv

Closes BLEQABR23-351

See merge request espressif/esp-idf!24498
2023-08-03 12:11:55 +08:00
chenjianhua
e43e4b83fc feat(bt/bluedroid): Support high duty adv interval setting 2023-08-03 11:14:38 +08:00
chenjianhua
6719002dd1 Update bt lib for ESP32-C3 and ESP32-S3(ff6efe7)
- fix(bt/controller): Fixed PHY enable and disable
- feat(bt/controller): Support DAA and LBT mode for BLE CCA
2023-08-03 10:53:03 +08:00
Island
24d9ea4939 Merge branch 'ble_mesh/esp32c6_BLEQABR23-266' into 'master'
ble mesh: stack: return error when scanning failed to be enabled

See merge request espressif/esp-idf!24771
2023-08-02 21:08:10 +08:00
Wu Meng Shi
d57bf77699 ble mesh: stack: return error when scanning failed to be enabled 2023-08-02 21:08:10 +08:00
Rahul Tank
a43c37ff75 fix (nimble): Add check to set length only if data is valid in periodic adv 2023-08-02 12:34:26 +05:30
Rahul Tank
4b6f22e3f8 Merge branch 'feature/add_duplicate_excep_list_vsc' into 'master'
feat(mesh): Add support for Duplicate Exception list update VSC for Nimble

Closes BLEQABR23-390

See merge request espressif/esp-idf!24772
2023-08-02 14:35:56 +08:00
Island
22914f2a13 Merge branch 'doc/c2_h2_c6' into 'master'
c2 h2 c6 headfile re-organized

See merge request espressif/esp-idf!25078
2023-08-01 23:11:29 +08:00
Rahul Tank
9dafd9f778 feat(mesh): Add support for Duplicate Exception list update VSC for
Nimble
2023-08-01 19:27:29 +05:30
Rahul Tank
8ce1c45d6d fix (nimble): Fix warnings generated in GCC13 2023-07-31 18:37:01 +05:30
Geng Yuchao
bcdf8964d6 fix(ble): Fix compile issue when disable duplicate config option in kconfig. 2023-07-31 14:53:48 +08:00
luomanruo
1636061b81 c2 h2 c6 headfile re-organized
c2 c6 h2 cfg_t and addr_t documented

comments for controller_enable
2023-07-31 12:39:43 +08:00
chenjianhua
7083222a2f fix(bt/bluedroid): Fix address check when using NRPA as random device address 2023-07-30 19:53:16 +08:00
Zim Kalinowski
456d288a2e Merge branch 'bugfix/remove-unnecessary-define' into 'master'
fix(bt): Removed unnecessary define

See merge request espressif/esp-idf!24918
2023-07-28 14:12:58 +08:00
Luo Man Ruo
aa6a8b79c9 Merge branch 'feature/controller_log' into 'master'
ble: bugfix for esp32c6 and esp32h2

See merge request espressif/esp-idf!24951
2023-07-26 18:07:20 +08:00
Zhang Hai Peng
5d9821829a Merge branch 'doc/organize_header_files_for_esp32c3_esp32s3' into 'master'
docs(bt): Support organizing header files for esp32c3 and esp32s3

See merge request espressif/esp-idf!24874
2023-07-26 16:20:42 +08:00
Wang Meng Yang
27ad736356 Merge branch 'test/bqb_test_btdm_sync_20230711' into 'master'
feat(bt/bqb): Add BQB enabling and rfcomm msc command sending support

See merge request espressif/esp-idf!24782
2023-07-26 10:54:15 +08:00
Zhang Hai Peng
2c3454ea8b Merge branch 'bugfix/set_addr_resolution_enable_while_advertising' into 'master'
Bugfix/Fix bug with address resolution enabling during non-connected activities

See merge request espressif/esp-idf!24923
2023-07-26 10:36:41 +08:00
Zhang Hai Peng
47ae2c2c3a Merge branch 'bugfix/support_periodic_adv_len_0' into 'master'
fix(bt): Fix ble periodic advertising data length 0 error

See merge request espressif/esp-idf!24853
2023-07-26 10:34:37 +08:00
zhanghaipeng
9a9ce20e41 fix(bt): Fix bug with address resolution enabling during non-connected activities 2023-07-25 21:53:04 +08:00
luomanruo
c291b02651 esp_rom_printf 2023-07-25 14:40:39 +08:00
luomanruo
3ece525e26 ble update for doc: bugfix for esp32c6 and esp32h2 2023-07-25 14:40:39 +08:00
luomanruo
2a2251487b ble update: bugfix for esp32c6 and esp32h2 2023-07-25 14:40:39 +08:00
wanglai@espressif.com
c9d77f7028 fix(bt/bqb): Modify BQB related configurations 2023-07-25 14:17:28 +08:00
zhanghaipeng
f4b10bd304 docs(bt): Organize header files for esp32c3 and esp32s3 2023-07-23 11:42:03 +08:00
wangjialiang
def6442044 feat(ble_mesh: stack: esp32c6/h2): update Kconfig file to support duplicate scan. 2023-07-21 02:02:21 +00:00
Zim Kalinowski
2b11025981 fix(bt): Removed unnecessary define 2023-07-20 14:35:33 +08:00
wanglai@espressif.com
d1443a91fa 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-19 11:59:07 +08:00
zhanghaipeng
f83664929a 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-18 21:33:56 +08:00
Rahul Tank
bbfb44a0fe fix(nimble): Update connection type in reattempt connection code
Added change to set connection type correctly and clear array when it is
    full in reattempt connection flow
2023-07-18 16:21:09 +05:30
Shen Weilong
e9e6372690 feat(ble): Added ble examples for multiple connections 2023-07-18 12:05:11 +08:00
Island
0b2909bee7 Merge branch 'update/ble_mesh_debug_log_level_update' into 'master'
update(ble_mesh: stack): Update provisioning bearer check debug log to INFO level

Closes BLEQABR23-391

See merge request espressif/esp-idf!24768
2023-07-14 16:56:05 +08:00
Jiang Jiang Jian
4b484574cd Merge branch 'bugfix/esp32c6_eco1_ble_lpclk_main_xtal' into 'master'
support 40 MHz XTAL as BLE low power clock source of esp32c6 eco1

Closes WIFI-5909 and WIFI-6114

See merge request espressif/esp-idf!24235
2023-07-14 16:26:56 +08:00
cjin
9578fdc250 ble : remove extra retention cnt upon deinit temporarily 2023-07-14 10:49:17 +08:00
Liu Linyan
7eabe1c325 update(ble_mesh: stack): Update provisioning bearer check debug log to INFO level 2023-07-13 14:27:02 +08:00
chenjianhua
4e140bd2f9 fix(bt/bluedroid): Fix memory leak of gattc cache upon disconnection 2023-07-13 12:12:57 +08:00
xiongweichao
381292df31 fix(bt/controller): Fix disconnection due to lmp messages not being processed by both sides
The master sent lmp_enc_mode_req, and the slave sent lmp_switch_req.
However, both sides failed to handle the LMP message, resulting in LMP timeout.
2023-07-13 10:32:16 +08:00
Rahul Tank
027c43e148 fix(nimble): Increase BLE_HOST_SEM_COUNT to allow more semaphore allocation 2023-07-11 17:14:12 +05:30
Rahul Tank
b926bf5048 fix (nimble): Fix data type of power level and delta to handle negative values 2023-07-10 15:50:01 +05:30
Shen Wei Long
e46e3f18f1 Merge branch 'feature/update_ble_libs' into 'master'
ble: Added APIs for QA test

See merge request espressif/esp-idf!24616
2023-07-07 19:53:30 +08:00
isha.pardikar@espressif.com
85661d38e6 feat (NimBLE): Add proximity sensor as a service 2023-07-06 17:59:54 +05:30
Rahul Tank
78c33778a9 Merge branch 'bugfix/refactor_nimble_header' into 'master'
refactor (nimble): Refactor nimble header files

Closes DOC-5615

See merge request espressif/esp-idf!24432
2023-07-06 20:17:35 +08:00
Jin Chen
d918b5226c Merge branch 'ble_dev/support_esp32h2_modem_clock_selection' into 'master'
ble: support esp32h2 modem clock selection

Closes EBLE50Y23-129

See merge request espressif/esp-idf!24387
2023-07-06 13:58:11 +08:00
Island
a7e5d49d10 Merge branch 'feature/update_ble_duplicte_vs_hci_lib_fix' into 'master'
Feature/update ble duplicte vs hci lib fix

See merge request espressif/esp-idf!24521
2023-07-05 21:28:31 +08:00
Shen Weilong
303b330bca ble: Added APIs for QA test 2023-07-05 20:18:09 +08:00
Jiang Jiang Jian
5354759735 Merge branch 'feature/update_avrcp_v1.5' into 'master'
bt: Update AVRCP version to v1.5

Closes BT-3283 and BT-2945

See merge request espressif/esp-idf!23959
2023-07-05 19:38:01 +08:00
Rahul Tank
b0b722da33 Merge branch 'bufix/fix_assert_while_stack_deinit' into 'master'
NimBLE :  Fix assert due to controller event while stack deinit

Closes IDFGH-10527

See merge request espressif/esp-idf!24520
2023-07-05 16:24:27 +08:00
Rahul Tank
3c902677d8 refactor(nimble): Refactor header files
Refactor header files to separate out APIs developed by Espressif for
   documentation purpose
2023-07-05 13:50:33 +05:30
Rahul Tank
1268530ace Merge branch 'feature/add_support_pcl_vsc' into 'master'
fix(Nimble): Add VSC / VSE handling code and structure for PCL Set RSSI

See merge request espressif/esp-idf!24181
2023-07-05 15:33:43 +08:00
Chen Jian Hua
5ebe3b0fc2 Merge branch 'fix/print_bt_mac_for_esp32' into 'master'
fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32

See merge request espressif/esp-idf!24552
2023-07-05 10:46:28 +08:00
Geng Yuchao
d9d9d4c36b fix(ble): Fix duplicate var length issue 2023-07-04 11:45:00 +08:00
Geng Yuchao
f226e75f4b fix(ci): Fix declaration isn't a prototype issue 2023-07-04 11:45:00 +08:00
Geng Yuchao
ba7b365f23 feat(ble): Update ble lib to 6f9ef119 2023-07-04 11:45:00 +08:00
Geng Yuchao
d64f902c95 change(ble): Enable pdu type trig in duplicate in default mode as before 2023-07-04 11:45:00 +08:00
Geng Yuchao
0b2fde8a17 feat(ble): Add duplicate refersh function support for esp32h2 2023-07-04 11:44:59 +08:00
Geng Yuchao
d2b9583c45 feat(ble): Add support to scan period refresh duplicate cache list 2023-07-04 11:44:50 +08:00
Chen Jian Hua
f71b23e767 Merge branch 'bugfix/bluedroid_ble_adv_length_0_error' into 'master'
bluedroid: fix ble adv length 0 error

See merge request espressif/esp-idf!24496
2023-07-04 11:00:43 +08:00
zhanghaipeng
18a1a01764 fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32
- Add a log statement to print the Bluetooth MAC address
2023-07-04 11:00:32 +08:00
Geng Yuchao
fbb88ef979 feat(ble): Add duplicate filter feature enable on ble for h2. 2023-07-04 10:40:04 +08:00
Geng Yuchao
2310c68966 feat(ble): Add duplicate filter feature enable on ble for c6. 2023-07-04 10:39:05 +08:00
cjin
3d2342df6c ble: support esp32h2 modem clock selection 2023-07-03 16:05:42 +08:00
Roshan Bangar
de0798c460 fix(nimble): Fix assert due to controller event while stack deinit 2023-07-03 04:57:20 +00:00
xiongweichao
e86b367f21 change(bt/Bluedroid): Update AVRCP version to 1.5 2023-07-03 03:57:26 +00:00
Wang Meng Yang
fe04d6dad9 Merge branch 'bugfix/fix_some_bt_controller_bug' into 'master'
component_bt:Fixed some bluetooth bugs

Closes AUD-3566 and ESPCS-871

See merge request espressif/esp-idf!19247
2023-06-30 20:57:26 +08:00
Rahul Tank
6eb1a8f51f fix (Nimble): Add PCL Set RSSI VSC and example code for its usage
This adds API to send a vs hci command and an event to handle vs hci events
Also added information for Set RSSI VSC for Power control.
2023-06-30 12:26:56 +05:30
Rahul Tank
7f8ecb218a Nimble: Add APIs to handle vs HCI commands and events 2023-06-30 12:26:56 +05:30
Island
9b5f3c69a9 Merge branch 'ble_dev/esp32c6_support_power_save_example' into 'master'
ble: support esp32c6 power save example

Closes EBLE50Y23-148

See merge request espressif/esp-idf!24385
2023-06-30 14:36:26 +08:00
Island
d9bbffc997 Merge branch 'bugfix/added_chip_based_cca_config' into 'master'
ble: fix cca for esp32c2

See merge request espressif/esp-idf!24254
2023-06-30 14:07:34 +08:00
zhanghaipeng
e74b07f717 fix(bt): Fix ble advertising data length 0 error
- Fixed an issue where the BLE advertisement length of 0 was causing an error
2023-06-30 12:03:45 +08:00
cjin
b37f172cc6 ble: fix cca for esp32c2 2023-06-29 19:59:16 +08:00
chenjianhua
e748546365 bluedroid: fixed gatt tcb free when disconnecting 2023-06-29 18:03:49 +08:00
cjin
c460a1c1af ble: support esp32c6 power save example 2023-06-29 14:35:48 +08:00
Sumeet Singh
4d3e48ad1f Merge branch 'feature/exposed_gap_service_macros_to_menuconfig' into 'master'
NimBLE: Exposed macros used by GAP service to menuconfig

See merge request espressif/esp-idf!23876
2023-06-28 18:34:30 +08:00
Wang Meng Yang
52071f4e44 Merge branch 'bugfix/sdp_32_and_128_bit_UUID' into 'master'
bt:Fixed SDP not being able to configure 32-bit and 128-bit UUID

Closes IDFGH-10312

See merge request espressif/esp-idf!24173
2023-06-28 11:34:51 +08:00
Island
f63719837a Merge branch 'bugfix/fixed_ble_create_sync_fail' into 'master'
Bugfix/fixed ble create sync fail

See merge request espressif/esp-idf!24304
2023-06-28 10:27:18 +08:00
Sumeet Singh
9de43c3bef NimBLE: Exposed macros used by GAP service to menuconfig 2023-06-27 12:56:55 +05:30
Ilia Lutchenko
418ffd147b 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-26 10:05:50 +02:00
Jiang Jiang Jian
51aaed8c22 Merge branch 'bugfix/resume_ext_scan_pti_in_time' into 'master'
bt: fix the issue that BLE scan uses high priority incorrectly and causes Wi-Fi unable to work normally on ESP32-C3 and ESP32-S3

Closes BT-3313

See merge request espressif/esp-idf!24184
2023-06-26 10:37:24 +08:00
Jiang Jiang Jian
d68898785a Merge branch 'bugfix/alarm_not_free_when_a2dp_deinit' into 'master'
bugfix/Fixed the issue of alarm leak

See merge request espressif/esp-idf!24350
2023-06-26 10:21:32 +08:00
zwl
4bf95fb638 ble: Fixed the issue of occasional failure to create sync on ESP32-H2 2023-06-25 21:42:41 +08:00
zwl
649ce4f5b0 ble: Fixed the issue of occasional failure to create sync on ESP32-C6 2023-06-25 21:37:58 +08:00
xiongweichao
2fa475bc2c bt: Fixed some bluetooth bugs
1. Fixed LC_AFH_UPDATE_IND  has not benn processed causing memory exhaustion
2. Fixed no free elt in prog push
3. Fixed disconnect due to sniff with error Dsniff
4. Fixed the problem that the host continued to send ACL data to the controller after disconnection, which caused the connection to fail again
2023-06-25 16:32:07 +08:00
xiongweichao
3fd18692a2 components/bt: Fix crash due to NULL point 2023-06-25 16:18:30 +08:00
wangmengyang
f6c41c5cca bt-coexist: fix the issue for BLE scan in using whitelist that scan PTI keeps high and not resumes after reception of ADV_EXT_IND but no AUX_ADV_IND followed on ESP32-C3 and ESP32-S3, which causes Wi-Fi unable to work normally 2023-06-25 03:54:32 +00:00
Jin Cheng
ec8a34628f Fixed the issue of alarm leak in hf-ag 2023-06-21 15:24:05 +08:00
Jin Cheng
68c9a492ac Fixed the issue of alarm leak in A2DP 2023-06-21 15:24:05 +08:00
Gong Yan Tao
d2fb7240a7 Merge branch 'docs/update_esp_hid_host' into 'master'
[docs] fix documents for Bluetooth HID Host API reference

Closes BT-3328

See merge request espressif/esp-idf!17602
2023-06-21 15:01:32 +08:00
wangmengyang
d4ac2380e7 component/docs: enable generation of API-reference documents for Bluetooth HID host 2023-06-21 12:02:58 +08:00
Jiang Jiang Jian
3d23b3dfec Merge branch 'bugfix/fix_idfgh_10366' into 'master'
Fixed memory leak when setting adv data on ESP32

See merge request espressif/esp-idf!24274
2023-06-20 19:11:24 +08:00
Jiang Jiang Jian
7cea35193b Merge branch 'bugfix/fix_bluedroid_host_build_warning_when_log_is_disabled' into 'master'
Fixed bluedroid host build warning when log is disabled

See merge request espressif/esp-idf!24003
2023-06-20 15:51:11 +08:00
Rahul Tank
db5a2638dd Merge branch 'bugfix/expose_clear_all_wl_api' into 'master'
Nimble: Expose API to clear all addresses in whitelist out of stack

See merge request espressif/esp-idf!24084
2023-06-19 23:18:13 +08:00
Wang Meng Yang
0a8610ab7b Merge branch 'bugfix/hfp_packet_type_err' into 'master'
Revised (e)SCO configuration parameter sets

Closes FCS-1239

See merge request espressif/esp-idf!24166
2023-06-19 13:40:21 +08:00
Island
81e418b1f2 Merge branch 'ble_dev/support_ble_light_sleep_using_extra_link' into 'master'
ESP32C6: Add BLE light sleep support using extra link

Closes IDF-6528

See merge request espressif/esp-idf!23720
2023-06-19 11:47:58 +08:00
Jin Cheng
4b46ecf6f2 Revised (e)SCO configuration parameter sets 2023-06-16 18:05:41 +08:00
cjin
f3457133f6 ble:added esp32c6 light sleep support 2023-06-16 15:37:03 +08:00
Song Ruo Jing
921713fff4 uart: Support LP_UART port with UART driver on esp32c6 2023-06-16 07:31:40 +00:00
gongyantao
028f7779f5 resolve the conflicts 2023-06-16 15:20:25 +08:00
Jiang Jiang Jian
912de2a8f7 Merge branch 'ble_dev/esp32c6_eco1_changes' into 'master'
ble:add version num support for esp32c6 chip

Closes EBLE50Y23-76 and BLERD2QA23-65

See merge request espressif/esp-idf!23472
2023-06-16 15:20:06 +08:00
Konstantin Kondrashov
c350c3c504 Merge branch 'feature/cleanup_wrong_log_use' into 'master'
all: Removes unnecessary newline character in logs

Closes IDFGH-10197

See merge request espressif/esp-idf!24131
2023-06-15 21:49:49 +08:00
chenjianhua
4681c59eeb Update bt-lib for esp32
- Fixed memory leak when setting adv data
2023-06-15 21:10:07 +08:00
Chen Jian Hua
b9e89da5f7 Merge branch 'bugfix/fix_bleqabr23_226' into 'master'
Fixed disconnection delay on peripheral when slave latency not zero on ESP32

See merge request espressif/esp-idf!24168
2023-06-14 14:15:23 +08:00
Wang Meng Yang
126b98d889 Merge branch 'bugfix/fix_idfgh_10045' into 'master'
Bluedroid: fixed compile warning when optimize for performance

See merge request espressif/esp-idf!24161
2023-06-14 12:22:06 +08:00
Wang Meng Yang
40d1d7f43b Merge branch 'bugfix/fix_bleqabr23_213' into 'master'
Bluedroid: fixed default extended connection params

See merge request espressif/esp-idf!24025
2023-06-14 12:21:51 +08:00
Armando
101e6a18eb esp32p4: introduce the target
Add esp32p4 target to tools and Kconfig
Create directories and files that are essential for `idf.py --preview set-target esp32p4`
2023-06-13 15:16:11 +08:00
chenjianhua
909ec6673e Update bt-lib for esp32
1 Fixed disconnection delay on peripheral when slave latency is not zero
2 Fixed LLCP info init for central and peripheral
3 Fixed sent cmd status evt twice when process disconnect cmd
2023-06-12 12:12:14 +08:00
chenjianhua
0634bb904e bluedroid: fixed compile warning when optimize for performance 2023-06-11 16:06:07 +08:00
KonstantinKondrashov
e72061695e all: Removes unnecessary newline character in logs
Closes https://github.com/espressif/esp-idf/issues/11465
2023-06-09 03:31:21 +08:00
Jiang Jiang Jian
9da31ea373 Merge branch 'bugfix/fix_bleqabr23_250' into 'master'
Fixed crash when controller initialization fails due to insufficient memory

See merge request espressif/esp-idf!24085
2023-06-07 20:00:24 +08:00
Rahul Tank
6f021ba5f3 Nimble: Expose API to clear all addresses in whitelist out of stack 2023-06-07 16:29:22 +05:30
Roshan Bangar
27dc6d95f6 NimBLE : Sync porting files 2023-06-07 13:03:53 +05:30
chenjianhua
cf5895d07e Update bt lib for ESP32-C3 and ESP32-S3
- Fixed crash when controller initialization fails due to insufficient memory
2023-06-06 21:16:47 +08:00
chenjianhua
e039b788df Revert "bluedroid: report disconnect event after BLE link closed"
This reverts commit c8a380500a.
2023-06-02 16:28:29 +08:00
chenjianhua
5ee2ad7552 bluedroid: fixed default extended connection params 2023-06-01 17:37:49 +08:00
zhiweijian
ddb8368aad Fixed bluedroid host build warning when log is disabled 2023-05-31 17:00:09 +08:00
zwl
a9d25460a7 ble:fixed the issue that slave reports the wrong address for master when address resolution disable 2023-05-29 20:59:13 +08:00
Rahul Tank
9901bdf3da Nimble: Fixed setting macro values based on selected configuration 2023-05-25 17:12:57 +05:30