Commit Graph

3439 Commits

Author SHA1 Message Date
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
Rahul Tank
72968880ec Nimble: Fixes for memory leak / optimization 2023-05-23 11:56:23 +05:30
Rahul Tank
ed30c4a106 Nimble: Removed the extra status field in the enh read transmit power level 2023-05-22 10:17:01 +05:30
Rahul Tank
59b7a4989f Merge branch 'bugfix/host_flw_ctrl' into 'master'
NimBLE: Fixed mismatch of number of completed packtes in host flow control

Closes BLEQABR23-113

See merge request espressif/esp-idf!23432
2023-05-19 17:33:39 +08:00
Jiang Jiang Jian
0501f87f33 Merge branch 'feature/use_api_to_enable_modem_on_esp32h2' into 'master'
ble: use modem_clock api to set clocks on ESP32-H2

See merge request espressif/esp-idf!23805
2023-05-19 11:01:15 +08:00
Island
4f9f50cb4a Merge branch 'feature/esp32c2_enable_rf_temp_compensation' into 'master'
Feature/esp32c2 enable rf temp compensation

See merge request espressif/esp-idf!23728
2023-05-18 20:34:06 +08:00
isha.pardikar@espressif.com
aceaa87ea0 NimBLE: Fixed mismatch of number of completed packtes in host flow control 2023-05-18 12:56:47 +05:30
Shen Weilong
c7f357523a ble: use modem_clock api to set clock on ESP32-C6 2023-05-17 20:02:21 +08:00
cjin
41ea20908b BLE: update ble lib
Added version support for esp32c6 eco1
2023-05-16 19:18:53 +08:00
cjin
1952a26d5e ble:add version num support for esp32c6 chip 2023-05-16 19:18:53 +08:00
zwl
69571dfebf ble:fixed build error when disable smp 2023-05-16 16:07:01 +08:00
zwl
9b50d4e2ef ble:esp32c2 add rf temperature compensation 2023-05-16 16:07:01 +08:00
Rahul Tank
713e4391f8 Nimble: Add debug code to print HCI events information 2023-05-12 15:17:53 +05:30
Rahul Tank
f4f8d4eaa2 Merge branch 'bugfix/fix_compilation_error_optimization' into 'master'
Nimble: Fix compilation issues seen while enabling -O2 optimization

Closes IDFGH-10023

See merge request espressif/esp-idf!23590
2023-05-12 15:05:22 +08:00
Roshan Bangar
03cad657f3 Merge branch 'bugfix/macro_changes_in_nimble-1.5' into 'master'
NimBLE : Update macro name changes in nimble-1.5

See merge request espressif/esp-idf!23682
2023-05-12 15:01:26 +08:00
Zhi Wei Jian
c0ab96b65d Merge branch 'bugfix/fix_some_bluedroid_bugs' into 'master'
Fixed some bluedroid bugs

See merge request espressif/esp-idf!23616
2023-05-10 20:44:15 +08:00
Roshan Bangar
f0fa24c176 NimBLE : Update macro name changes in nimble-1.5 2023-05-10 16:02:07 +05:30
Wang Meng Yang
e156fcec8a Merge branch 'bugfix/hfp_ag_idx_invalid_master' into 'master'
bt: Fixed out of bounds access due to variable length array

Closes IDFGH-9979

See merge request espressif/esp-idf!23481
2023-05-09 19:51:42 +08:00
Rahul Tank
732c921c65 Nimble: Fix compilation issues seen while enabling -O2 optimization 2023-05-09 04:57:28 +00:00
chenjianhua
b87f96e115 bluedroid: fix ble ext adv rand addr setting for NRPA 2023-05-06 15:26:45 +08:00
chenjianhua
7593466dc6 bluedroid: fix ble adv data construct for device name 2023-05-06 15:26:45 +08:00
chenjianhua
f7ff6b127e bluedroid: fix ble smp key distribution setting 2023-05-06 15:26:45 +08:00
chenjianhua
6c10a7f60d Update bt lib for ESP32-C3 and ESP32-S3
- Fixed remote mic error during encryption procedure
2023-05-05 21:54:01 +08:00
Rahul Tank
ef232423dd Merge branch 'bugfix/add_event_cb_for_pcl' into 'master'
Nimble: Add support to send power control event in registered callback

See merge request espressif/esp-idf!23522
2023-05-05 11:59:36 +08:00
xiongweichao
a7519e17c8 bt: Deleted some redundant variables in HFP_AG 2023-05-04 15:36:23 +08:00
Chen Jian Hua
3aa1ac99c7 Merge branch 'bugfix/fix_ble_hop_sel' into 'master'
Fixed BLE connection failed to be established when disabled 5.0 feature

See merge request espressif/esp-idf!23516
2023-05-04 10:16:07 +08:00
Rahul Tank
1f92c349a2 Nimble: Add support to send power control event in registered callback 2023-05-02 12:14:23 +05:30
Rahul Tank
329eec289b Merge branch 'feature/services_health_therm' into 'master'
NimBLE: Added health thermometer profile

See merge request espressif/esp-idf!23065
2023-05-02 13:28:08 +08:00
isha.pardikar@espressif.com
8c3ba9e2dc NimBLE: Added health thermometer profile 2023-04-28 17:20:16 +05:30
Jiang Jiang Jian
cac7a5c9cb Merge branch 'bugfix/fix_bleqabr23_28' into 'master'
Bluedroid: report disconnect event after BLE link closed

See merge request espressif/esp-idf!23156
2023-04-28 17:59:29 +08:00
Jiang Jiang Jian
968ef8c24f Merge branch 'bugfix/fix_esp32_ble_disconnect_failed' into 'master'
Fixed BLE disconnection failure on ESP32

See merge request espressif/esp-idf!23450
2023-04-28 17:57:41 +08:00
Jiang Jiang Jian
b0d595d057 Merge branch 'bugfix/hf_cind_ind_index' into 'master'
bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator

Closes IDFGH-4674

See merge request espressif/esp-idf!23431
2023-04-28 17:48:14 +08:00
Island
d6b7fc9c55 Merge branch 'bugfix/fixed_ble_mic_error' into 'master'
ble: [ESP32C6][ESP32H2][ESP32C2] updata libble to 182858c1

Closes BLEQABR23-108, BLEQABR23-121, BLEQABR23-132, BLEQABR23-152, BLEQABR23-166, WIFI-5739, WIFI-5755, and COEX823-22

See merge request espressif/esp-idf!23327
2023-04-28 17:13:06 +08:00
Wang Meng Yang
00687a1fb6 Merge branch 'bugfix/fix_ble_battery_profile_error' into 'master'
Fixed battery profile wrong condition in bluedroid host

Closes IDFGH-9937

See merge request espressif/esp-idf!23358
2023-04-28 14:50:03 +08:00
chenjianhua
5908cd968f Update bt lib for ESP32-C3 and ESP32-S3
- Fixed ble hopping selection for connection when disabled 5.0 feature
2023-04-28 14:17:37 +08:00
Shen Weilong
64c9dfd7d2 ble: [ESP32C6][ESP32H2][ESP32C2] updata libble
Fixed the occasional mic error caused by wrong tx cnt
Fixed the BLE connection timeout issue
2023-04-28 11:21:39 +08:00
Chen Jian Hua
b2906d412d Merge branch 'feature/support_periodic_adv_sync_trans' into 'master'
Bluedroid: add periodic adv sync transfer API and EVT

See merge request espressif/esp-idf!22146
2023-04-27 14:19:43 +08:00
Chen Jian Hua
809bd5a52c Merge branch 'feature/support_gatt_read_multi_variable' into 'master'
Bluedroid: add GATT read multi variable API and EVT

See merge request espressif/esp-idf!21990
2023-04-27 14:18:22 +08:00
xiongweichao
f04b663ac4 bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator.
Closes https://github.com/espressif/esp-idf/issues/6486
2023-04-27 10:06:18 +08:00
Rahul Tank
10e93dc1f4 Nimble:Added change to expose addr resolution API outside stack 2023-04-26 17:47:47 +05:30
Zhi Wei Jian
0b5b9520ba Merge branch 'bugfix/fix_own_addr_is_rap_random_err' into 'master'
Fixed no error report when own address type is rpa_random and no random address setting

Closes BLEQABR23-159

See merge request espressif/esp-idf!23363
2023-04-26 20:15:53 +08:00
xiongweichao
481034060a bt: Fixed the problem of out-of-bounds access caused by the variable-length array introduced in 3268075231
Closes https://github.com/espressif/esp-idf/issues/11264
2023-04-26 19:31:07 +08:00
xiongweichao
de24e9b86e bt: Fixed codec mode error in ESP_HF_WBS_RESPONSE_EVT 2023-04-26 17:51:16 +08:00
zhiweijian
025fe44edb Fixed BLE disconnection failure on ESP32 2023-04-26 11:20:09 +08:00
Kevin (Lao Kaiyao)
6b5077f2d7 Merge branch 'refactor/remove_esp32h4_target' into 'master'
esp32h4: removed esp32h4 target (stage 2)

Closes IDF-7237, IDF-7238, and IDF-7239

See merge request espressif/esp-idf!23179
2023-04-24 23:34:19 +08:00
laokaiyao
bf2a7b2df6 esp32h4: removed esp32h4 related codes 2023-04-23 12:03:07 +00:00
chenjianhua
0f7446f93f bluedroid: support gatts show local database 2023-04-23 17:22:04 +08:00
zwj
7d1e7d2766 Fixed no error report when own address type is rpa_random and no random address setting 2023-04-23 16:15:39 +08:00
zhiweijian
1d548ae1f2 Fixed battery profile wrong condition 2023-04-23 11:15:57 +08:00
Darian
836755679e Merge branch 'feature/bt_uses_creationg_with_caps_functions' into 'master'
BT: Remove "create static" calls from OSI

See merge request espressif/esp-idf!23187
2023-04-21 12:39:10 +08:00
Zhi Wei Jian
a2b2cdadf8 Merge branch 'bugfix/fix_disable_controller_50_feature' into 'master'
Disable controller 5.0 feature bits if host 5.0 feature is not enabled on ESP32C3  and ESP32S3

See merge request espressif/esp-idf!23307
2023-04-21 12:11:11 +08:00
Zhi Wei Jian
89bf31f458 Merge branch 'bugfix/fix_disconnect_due_to_consecutive_crc_error_in_first_6_intervals' into 'master'
Fixed disconnection due to consecutive CRC errors in first 6 intervals on ESP32

Closes CBLE50Y23-4

See merge request espressif/esp-idf!23207
2023-04-21 12:01:14 +08:00
zhiweijian
f10de13df7 Disable controller 5.0 feature bits if host 5.0 feature is not enabled 2023-04-20 14:55:35 +08:00
Island
2300982af9 Merge branch 'bugfix/esp32c6_conn_lost_packet' into 'master'
Ble: bugfix for packet loss issue during connection on ESP32C6

Closes BLEQABR23-63 and BLEQABR23-55

See merge request espressif/esp-idf!23223
2023-04-20 12:00:29 +08:00
zwj
9d9252acbc Fixed disconnection due to consecutive CRC errors in first 6 intervals 2023-04-18 20:36:04 +08:00
zwl
c4ec33e7ef Ble: bugfix for packet loss issue during connection on ESP32C6 2023-04-17 19:37:00 +08:00
zwj
feb5edf8b0 improve scan performance when scan and sync coexist on ESP32-C3 and ESP32-S3 2023-04-17 12:27:08 +08:00
Zhi Wei Jian
bc216802c6 Merge branch 'bugfix/fix_bleqabr23_98' into 'master'
Bluedroid: fix GATTC cache address saving

Closes BLEQABR23-98 and BLEQABR23-34

See merge request espressif/esp-idf!22970
2023-04-17 10:54:31 +08:00
chenjianhua
056ae5dd21 Update bt lib for ESP32-C3 and ESP32-S3
- Fixed non-connectable and non-scannable directed adv can't be scanned
2023-04-14 15:44:17 +08:00
Darian Leung
a5b04de565 bt: Remove FreeRTOS static allocation from OSI functions
Previously, the BT OSI would use various FreeRTOS "create static" functions to
ensure that semaphores and queues were always allocated to internal memory.
However, from commit e21ab0332b onwards, all
dynamic memory allocated by FreeRTOS will default to internal RAM.

Thus, the extra "create static" calls can be removed to simply the code.
2023-04-13 15:06:21 +08:00
Jiang Jiang Jian
f5b12684c1 Merge branch 'bugfix/fix_duplicate_scan_cycle_refresh_not_accurate' into 'master'
Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32

Closes BLEQABR23-136

See merge request espressif/esp-idf!23112
2023-04-13 10:22:07 +08:00
chenjianhua
c8a380500a bluedroid: report disconnect event after BLE link closed 2023-04-12 11:13:15 +08:00
zwj
00501c5b14 Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32 2023-04-11 20:44:00 +08:00
wangjialiang
ce94cfbeb2 ble_mesh: stack: Update the heartbeat filter entry add/remove handling 2023-04-11 10:57:12 +00:00
xiongweichao
30c87c7a82 bt:Fixed esp32 controller bug
1. Fixed crash after controller disable and re-enable
2. Fixed the crash caused by processing the HCI_Read_Remote_Extented_Features command in the non-connected state

Closes https://github.com/espressif/esp-idf/issues/10835
2023-04-11 12:03:09 +08:00
Jiang Jiang Jian
18af256a84 Merge branch 'bugfix/fix_bleqabr23_138' into 'master'
Bluedroid: report status after clearing the BLE white list

See merge request espressif/esp-idf!23094
2023-04-11 09:59:24 +08:00
chenjianhua
7ceba49fda bluedroid: fix GATTC cache address save 2023-04-10 14:33:31 +08:00
Jin Cheng
b4f6e585d4 fix a2dp source crash when connect to Bose speaker 2023-04-10 05:11:04 +00:00
chenjianhua
3a7dea67eb bluedroid: report status after clearing the BLE white list 2023-04-10 12:12:32 +08:00
Yuan Mingfu
cb6f56ffa2 bugfix: deinit ble for specifies ESP_BT_MODE_BTDM 2023-04-07 12:45:33 +00:00
Jiang Jiang Jian
a15c36f987 Merge branch 'bugfix/delete_node_during_list_traverse' into 'master'
bugfix/fixed the crash of LoadProhibited caused by taht the nodes are deleted during the traversal of the linked list

Closes IDFGH-3256

See merge request espressif/esp-idf!23090
2023-04-07 13:52:53 +08:00
Jin Cheng
a7a2e5d407 fixed the crash of LoadProhibited caused by taht
the nodes are deleted during the traversal of the linked list
2023-04-06 14:13:05 +08:00
baohongde
dff3c07e42 components/coexist: Set coex scan status when ble connecting 2023-04-06 11:09:46 +08:00
Isha Pardikar
cb79b1e202 Merge branch 'bugfix/esp_nimble_config' into 'master'
NimBLE : Fixed config options in esp_nimble_cfg.h

See merge request espressif/esp-idf!23019
2023-04-04 20:08:16 +08:00
Jiang Jiang Jian
08b4bd2ecd Merge branch 'feature/add_interface_for_ble_QA_test' into 'master'
BLE: Add interface for QA test

Closes EBLE50Y23-69

See merge request espressif/esp-idf!22976
2023-03-31 19:43:54 +08:00
isha.pardikar@espressif.com
810f719ee1 NimBLE : Fixed config options in esp_nimble_cfg.h 2023-03-31 16:21:44 +05:30
Jiang Jiang Jian
6ede152d87 Merge branch 'bugfix/unhandle_unsniff_req_disconnect' into 'master'
bt: Fixed disconnection due to not handling lmp_unsniff_req in LC_WAIT_SNIFF_SUB_RSP state

Closes BTQABR2023-25 and BT-3208

See merge request espressif/esp-idf!22941
2023-03-31 12:07:14 +08:00
Jiang Jiang Jian
6cac537791 Merge branch 'bugfix/fix_hw_ralunderrun_assert' into 'master'
Fixed BLE HW RAL_UNDERRUN assert on ESP32C3 and ESP32S3

Closes BT-3241 and BT-3247

See merge request espressif/esp-idf!22974
2023-03-30 19:02:51 +08:00
Wang Meng Yang
70a355dbc1 Merge branch 'doc/update_doc_of_esp_bt_gap_set_cod' into 'master'
bt: Optimized the document for GAP API: esp_bt_gap_set_cod

Closes IDFGH-8668

See merge request espressif/esp-idf!22887
2023-03-30 12:12:02 +08:00
xiongweichao
8f5c33cec1 1.Fixed disconnection due to not handling lmp_unsniff_req in LC_WAIT_SNIFF_SUB_RSP state
2.Fixed crash caused by supervision timeout greater than sniff interval
2023-03-30 11:15:38 +08:00
Shen Weilong
aad3d8344b BLE: Add interface for QA test
Fix sleep crash issue
2023-03-29 20:02:56 +08:00
zwj
a1bfc91f54 Fixed BLE HW RAL_UNDERRUN assert on ESP32C3 and ESP32S3 2023-03-29 17:13:15 +08:00
Jin Cheng
cb68c7cba1 Optimized the document for GAP API:
`esp_bt_gap_set_cod`
2023-03-29 15:41:14 +08:00
Rahul Tank
ff88044a44 Merge branch 'bugfix/warning_cur_len' into 'master'
NimBLE: Fixed warning cur_len unused

See merge request espressif/esp-idf!22855
2023-03-24 19:09:50 +08:00
Rahul Tank
9179456c48 Add Power control specific soc capability 2023-03-24 10:56:03 +05:30
isha.pardikar@espressif.com
e987b80d90 NimBLE: Fixed warning cur_len unused 2023-03-24 10:48:07 +05:30
Isha Pardikar
d6f49becff Merge branch 'feature/services' into 'master'
NimBLE : Added heart rate measurement as a service

See merge request espressif/esp-idf!22781
2023-03-24 13:13:34 +08:00
Jiang Jiang Jian
e797a06120 Merge branch 'bugfix/unify_btbb_init' into 'master'
esp_phy: added API esp_btbb_disable

See merge request espressif/esp-idf!22806
2023-03-23 20:34:03 +08:00
Island
12b1028329 Merge branch 'bugfix/ble_mesh_stack_minor_fixes' into 'master'
ble_mesh: stack: Minor fix for provisioner provisioning timeout

See merge request espressif/esp-idf!22883
2023-03-23 19:34:11 +08:00
Jiang Jiang Jian
b6fda9723e Merge branch 'bugfix/fix_att_rsp_timeout' into 'master'
Fixed bluedroid host ATT Ignore wrong response error

Closes BLEQABR23-30 and BT-3224

See merge request espressif/esp-idf!22688
2023-03-23 17:10:54 +08:00
wangmengyang
cbb8bf9f88 esp_phy: added API esp_btbb_disable
APIs esp_btbb_enable and esp_btbb_disable are supposed to be used by 802.15.4 and Bluetooth module, and implemented with reference counter for resource management
2023-03-23 05:40:32 +00:00
isha.pardikar@espressif.com
fc0aa4d083 NimBLE : Added heart rate measurement as a service 2023-03-23 11:04:00 +05:30
wangjialiang
bb316f96f2 ble_mesh: stack: add description of internal BQB Test 2023-03-23 11:10:08 +08:00
Jiang Jiang Jian
defae704e4 Merge branch 'bugfix/delay_report_memory_leak' into 'master'
bugfix: fixed memory leak in AVDT delay report

Closes BTQABR2023-12

See merge request espressif/esp-idf!22870
2023-03-23 10:55:47 +08:00
lly
43c9814387 ble_mesh: stack: Minor fix for provisioner provisioning timeout 2023-03-23 10:26:23 +08:00
Island
ec030b358a Merge branch 'feature/ble_mesh_console_stack_update' into 'master'
ble_mesh: stack: Update stack to solve several problems

See merge request espressif/esp-idf!22499
2023-03-22 16:17:46 +08:00
Jin Cheng
439d285c4a Fixed memory leak in AVDT delay report 2023-03-22 15:30:06 +08:00
Jin Cheng
1d32c85f18 Fixed the index out of bounds of hfp_ag BTC control block 2023-03-22 13:17:33 +08:00
wangjialiang
c266dedb1f ble_mesh: stack: bug fix in bqb 2023-03-22 11:28:29 +08:00
wangjialiang
45015940eb ble_mesh: add BQB LOG 2023-03-22 11:27:09 +08:00
luoxu
f4f192ed70 ble_mesh: stack: forward rfu dst for the case NODE/RLY/BV-01 2023-03-22 11:27:09 +08:00
luoxu
a7d8caf7c6 ble_mesh: stack: add send transaction ack befor provisioner send prov failed msg 2023-03-22 11:27:09 +08:00
luoxu
c159572004 ble_mesh: stack: for the case MESH/PVNR/PBADV/BV-01, add the close link reason before reset link 2023-03-22 11:27:09 +08:00
Shen Wei Long
ab63aaa4a2 Merge branch 'feature/update_bluedriod_examples_for_esp32h2_ble' into 'master'
Feature/update bluedriod examples for esp32h2 ble

Closes IDF-6921

See merge request espressif/esp-idf!22634
2023-03-22 10:56:28 +08:00
Rahul Tank
e32083c859 Merge branch 'feature/write_blob' into 'master'
NimBLE: Added support for writing data more than BLE_ATT_ATTR_MAX_LEN

See merge request espressif/esp-idf!22808
2023-03-21 16:33:01 +08:00
Shen Weilong
90d6b9cbd7 ble: Update README files for bluedroid host examples on ESP32-H2
Disable clocks and phy modem directly in esp_bt_controller_deinit()
2023-03-20 19:09:29 +08:00
zhiweijian
3be3bef3a6 set BT_CTRL_BLE_MAX_ACT default value to 6 2023-03-20 15:54:47 +08:00
zhiweijian
7ad9e885e4 If it is not 32 chips, hide the configuration item:BT_BLE_RPA_SUPPORTED 2023-03-20 15:54:32 +08:00
Jiang Jiang Jian
12b44b3a0a Merge branch 'bugfix/update_config_in_esp32h2_chip' into 'master'
ble: update config in esp32h2 chip

See merge request espressif/esp-idf!22708
2023-03-20 12:09:52 +08:00
Island
b5549cb373 Merge branch 'feature/ble_mesh_add_bqb_log_test_macro' into 'master'
ble_mesh: stack: Add macros for BQB test to enable some internal function or log

See merge request espressif/esp-idf!22540
2023-03-20 11:43:53 +08:00
isha.pardikar@espressif.com
e985cc521b NimBLE: Added support for writing data more than BLE_ATT_ATTR_MAX_LEN 2023-03-17 15:25:08 +05:30
isha.pardikar@espressif.com
7d3e347ba2 Bluetooth : Fixed h2 controller function definition 2023-03-16 18:03:39 +05:30
lly
fd799153cf ble_mesh: stack: Minor updates for BQB test log 2023-03-16 14:23:22 +08:00
wangjialiang
87c694f44c ble_mesh: stack: Add a BQB macro for BQB test to enable some internal function or log 2023-03-16 12:29:44 +08:00
cjin
e317f07798 ble: update config in esp32h2 chip 2023-03-15 21:02:12 +08:00
Rahul Tank
a945b85543 Merge branch 'bugfix/add_debug_check' into 'master'
Nimble: Added debug relate flag around debug code

See merge request espressif/esp-idf!22764
2023-03-15 18:04:09 +08:00
Rahul Tank
2fed59af2f Nimble: Added debug relate flag around debug code 2023-03-14 16:57:40 +05:30
zhiweijian
588626d64e Fixed ATT Ignore wrong response error 2023-03-14 08:49:19 +00:00
zwj
a9d9f115c3 - Support ESP32C3 and ESP32S3 new BLE lib
- Disable controller 5.0 feature bits if host 5.0 feature is not enabled
- Fixed extend ADV parameters check for ADV_DIRECT_HI
2023-03-13 10:47:18 +00:00
Jiang Jiang Jian
251e0c5fc7 Merge branch 'bugfix/fix_adv_scan_state_conflict' into 'master'
Bluedroid: fix adv and scan state conflict

See merge request espressif/esp-idf!22685
2023-03-13 10:52:40 +08:00
Jiang Jiang Jian
abc43d8e94 Merge branch 'bugfix/some_small_fix_for_sleep' into 'master'
esp_hw_support/sleep: update soc caps for chips that support power down modem

Closes WIFI-4424

See merge request espressif/esp-idf!20198
2023-03-13 10:47:26 +08:00
jingli
cb0f517fe3 soc/soc_caps: update soc caps for chips that support power-down of modem hardware
Closes WIFI-4424
2023-03-10 14:15:27 +08:00
Roshan Bangar
de7a7b41b7 NimBLE : Correct macro usage 2023-03-10 11:05:41 +05:30
Rahul Tank
8fc0343e5a Merge branch 'bugfix/modify_configuration_for_ble_5' into 'master'
Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips

See merge request espressif/esp-idf!22409
2023-03-10 12:35:39 +08:00
Island
b43cde7463 Merge branch 'bugfix/esp32c2_acl_flow_ctrl_err' into 'master'
Bugfix/esp32c2 acl flow ctrl err

See merge request espressif/esp-idf!22689
2023-03-10 12:26:06 +08:00
Jiang Jiang Jian
1f05281913 Merge branch 'bugfix/fix_hidh_connection_bug' into 'master'
Bugfix/Fix HID Host bug when handling the two consecutive connection request

Closes IDFGH-9100

See merge request espressif/esp-idf!21988
2023-03-10 03:48:48 +08:00
zwl
45d207572b Add hci uart pin reconfig API 2023-03-09 20:03:08 +08:00
zwl
57c7310512 ble: Add assertion checking for bluedroid hci on ESP32-C2,ESP32-C6 and ESP32-H2 2023-03-09 20:02:23 +08:00
Wang Meng Yang
9c1897028a Merge branch 'bugfix/avrcp_psth_cmd_rsp' into 'master'
bt:Added a parameter to tell the user the result of the pass through command implementation

Closes BT-2233

See merge request espressif/esp-idf!22474
2023-03-09 17:48:15 +08:00
Jiang Jiang Jian
e63f609501 Merge branch 'bugfix/fix_fast_packets_handling' into 'master'
Nimble: Retry buffer allocation, if previous allocation fails

Closes BT-2473 and IDFGH-9487

See merge request espressif/esp-idf!22586
2023-03-09 17:44:54 +08:00
chenjianhua
7bbfd28d44 bluedroid: fix adv and scan state conflict 2023-03-09 16:36:54 +08:00
liqigan
20c9efed4d fix HID Host bug when handling the two consecutive connection request
Closes https://github.com/espressif/esp-idf/issues/10504
2023-03-09 14:25:25 +08:00
Zim Kalinowski
05037957c7 Merge branch 'docs/broken_links_2' into 'master'
docs: fix broken links

See merge request espressif/esp-idf!22611
2023-03-08 18:12:24 +08:00
Rahul Tank
eb304455d5 Nimble: Added change to give time to allocate buffers, in case previous
allocation fails

Closes https://github.com/espressif/esp-idf/issues/10849
2023-03-08 12:31:41 +05:30
Rahul Tank
d89736babf Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips 2023-03-08 11:59:43 +05:30
Jiang Jiang Jian
fe979e6513 Merge branch 'feature/merge_c3_s3_bt_files_to_one' into 'master'
Merge ESP32C3 and ESP32S3 BLE bt.c, esp_bt.h and kconfig files to one

Closes BT-3209

See merge request espressif/esp-idf!22453
2023-03-08 10:53:01 +08:00
Marius Vikhammer
24e0d91cd0 docs: fix broken links 2023-03-06 17:29:10 +08:00
zwj
a5e43a7d43 Merge ESP32C3 and ESP32S3 BLE bt.c files to one 2023-03-06 14:53:03 +08:00
Shen Weilong
f39648040e BLE: Add ble support for esp32h2 2023-03-06 10:43:17 +08:00
Shen Wei Long
20cc537044 Merge branch 'bugfix/fix_assertion_when_deinit_ble_controller' into 'master'
[esp32c2] Fixed the occasional assertion when deinit the ble controller

Closes BT-3203

See merge request espressif/esp-idf!22455
2023-02-28 20:53:21 +08:00
wangmengyang
2c4fc5d9ea bt: add coexistence internal API declarations and clean up some unused coexistence hooks 2023-02-26 06:58:18 +00:00
liuning
b3a040aa98 coex: apply new coex_schm_callback 2023-02-26 06:58:18 +00:00
wangmengyang
1661694e0b bt: added coex adapter operation to get version of coexist module to ESP32 Bluetooth Controller 2023-02-26 06:58:18 +00:00
liuning
38316b38b5 esp_wifi: move coex part from esp_wifi to esp_coex 2023-02-26 06:58:18 +00:00
liuning
103772df94 esp_wifi: support adapter of all chips for new coex lib 2023-02-26 06:58:18 +00:00
Chen Yudong
d352fb2411 ble_mesh: fix gcc-12 compile errors 2023-02-23 22:46:16 +08:00
xiongweichao
3b5939396d bt:Added a parameter to tell the user the result of the pass through command implementation 2023-02-22 15:37:54 +08:00