Geng Yuchao
a357fd17c2
feat(ble): Add duplicate filter feature enable on ble for h2.
2023-07-07 14:29:21 +08:00
Geng Yuchao
6dc7d9b63f
feat(ble): Add duplicate filter feature enable on ble for c6.
2023-07-07 14:29:21 +08:00
Rahul Tank
7c6ab05f50
feat(nimble): Add support for PCL Set RSSI VSC and example code for its usage
...
This commit adds support for sending Vendor Specific HCI commands and handling Vendor Specific HCI
Events in the Nimble stack. It also includes the necessary configuration options and APIs to handle
these commands and events.
The following changes were made:
- Added configuration option to enable support for VSC and VSE
- Added API to send Vendor Specific HCI commands
- Added example code for using the Set RSSI VSC for Power Control
This commit also includes some minor code improvements and bug fixes
2023-07-06 19:54:19 +05:30
Rahul Tank
022ce314c3
Nimble: Add APIs to handle vs HCI commands and events
2023-07-06 19:54:19 +05:30
Rahul Tank
f1b9af72fd
Merge branch 'bugfix/sync_reporting_files_v5.1' into 'release/v5.1'
...
NimBLE : Sync common porting and nimble submodule files (v5.1)
See merge request espressif/esp-idf!24277
2023-07-06 15:05:54 +08:00
cjin
7b70e2eb34
ble: fix cca for esp32c2
2023-07-06 14:05:43 +08:00
Roshan Bangar
fe05003a8f
fix(nimble): Fix assert due to controller event while stack deinit
2023-07-06 10:30:36 +05:30
Jiang Jiang Jian
5e3488396a
Merge branch 'bugfix/fix_some_bt_controller_bug_v5.1' into 'release/v5.1'
...
component_bt:Fixed some bluetooth bugs(v5.1)
See merge request espressif/esp-idf!24579
2023-07-06 00:54:40 +08:00
Jiang Jiang Jian
16ff61b36e
Merge branch 'ble_dev/support_ble_light_sleep_using_extra_link_5.1' into 'release/v5.1'
...
Ble dev/support ble light sleep using extra link 5.1
See merge request espressif/esp-idf!24192
2023-07-05 20:32:56 +08:00
Jiang Jiang Jian
71a5663786
Merge branch 'bugfix/hfp_packet_type_err_v5.1' into 'release/v5.1'
...
Revised (e)SCO configuration parameter sets (v5.1)
See merge request espressif/esp-idf!24346
2023-07-05 20:05:59 +08:00
Jiang Jiang Jian
d682fbeb07
Merge branch 'bugfix/alarm_not_free_when_a2dp_deinit_v5.1' into 'release/v5.1'
...
bugfix/Fixed the issue of alarm leak (v5.1)
See merge request espressif/esp-idf!24351
2023-07-05 19:53:09 +08:00
Jiang Jiang Jian
425b660583
Merge branch 'feature/update_avrcp_v1.5_v5.1' into 'release/v5.1'
...
change(bt/Bluedroid): Update AVRCP version to 1.5 (v5.1)
See merge request espressif/esp-idf!24582
2023-07-05 19:52:09 +08:00
Jiang Jiang Jian
4474b0ac8c
Merge branch 'bugfix/resume_ext_scan_pti_in_time_v5.1' into 'release/v5.1'
...
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(backport v5.1)
See merge request espressif/esp-idf!24403
2023-07-05 19:49:05 +08:00
Jiang Jiang Jian
60163c3b0f
Merge branch 'bugfix/memory_cleanup_optimization_v5.1' into 'release/v5.1'
...
Nimble: Fixes for memory leak / optimization (v5.1)
See merge request espressif/esp-idf!24139
2023-07-05 19:42:58 +08:00
wangmengyang
1e7d3425e5
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-07-05 12:54:59 +08:00
Roshan Bangar
a41f5387c1
NimBLE : Sync porting files
2023-07-05 10:02:58 +05:30
Jiang Jiang Jian
9d47a58750
Merge branch 'bugfix/macro_changes_in_nimble-1.5_v5.1' into 'release/v5.1'
...
NimBLE : Update macro name changes in nimble-1.5 (v5.1)
See merge request espressif/esp-idf!23745
2023-07-05 12:24:52 +08:00
Rahul Tank
bd0343c9c3
Merge branch 'bugfix/fix_config_option_v5.1' into 'release/v5.1'
...
Nimble: Fixed setting macro values based on selected configuration (v5.1)
See merge request espressif/esp-idf!24137
2023-07-05 12:16:36 +08:00
Rahul Tank
1ed419e23c
Nimble: Removed the extra status field in the enh read transmit power level
2023-07-04 15:48:38 +05:30
Rahul Tank
4e1ec90525
Nimble: Fixed setting macro values based on selected configuration
2023-07-04 15:48:16 +05:30
Rahul Tank
73639cf0b4
Nimble: Fixes for memory leak / optimization
2023-07-04 15:45:22 +05:30
xiongweichao
015555c6fb
change(bt/Bluedroid): Update AVRCP version to 1.5
2023-07-04 15:52:29 +08:00
xiongweichao
6e9dabe659
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-07-04 15:03:10 +08:00
chenjianhua
4bf8f8895c
Update bt-lib for esp32
...
- Fixed memory leak when setting adv data
2023-07-04 15:03:05 +08:00
xiongweichao
50904e9353
components/bt: Fix crash due to NULL point
2023-07-04 14:55:04 +08:00
Jiang Jiang Jian
11d34b143f
Merge branch 'bugfix/sdp_32_and_128_bit_UUID_v5.1' into 'release/v5.1'
...
bt:Fixed SDP not being able to configure 32-bit and 128-bit UUID(v5.1)
See merge request espressif/esp-idf!24442
2023-07-04 12:15:01 +08:00
Jiang Jiang Jian
09f2ab841f
Merge branch 'docs/update_esp_hid_host_v5.1' into 'release/v5.1'
...
[docs] fix documents for Bluetooth HID Host API reference (backport v5.1)
See merge request espressif/esp-idf!24389
2023-07-04 12:14:22 +08:00
Jin Cheng
c020194656
Revised (e)SCO configuration parameter sets
2023-07-04 04:12:35 +00:00
Jin Cheng
4ce9023cd4
Fixed the issue of alarm leak in hf-ag
2023-07-04 04:12:24 +00:00
Jin Cheng
ced0a5747b
Fixed the issue of alarm leak in A2DP
2023-07-04 04:12:24 +00:00
Jiang Jiang Jian
56bb50b85e
Merge branch 'bugfix/fix_some_ble_bugs_v5.1' into 'release/v5.1'
...
FIxed some BLE bugs (backport v5.1)
See merge request espressif/esp-idf!24275
2023-07-04 12:11:35 +08:00
cjin
e72359fc66
ble:added esp32c6 light sleep support
2023-07-04 12:09:22 +08:00
cjin
3d181f5346
ble:add version num support for esp32c6 chip
2023-07-03 16:16:06 +08:00
Roshan Bangar
fb0cc7189a
NimBLE : Update macro name changes in nimble-1.5
2023-07-03 04:58:43 +00:00
cjin
06c6281add
ble: support esp32h2 modem clock selection
2023-07-03 11:45:16 +08:00
Island
cd4845e431
Merge branch 'bugfix/fixed_ble_create_sync_fail_v5.1' into 'release/v5.1'
...
Bugfix/fixed ble create sync fail v5.1
See merge request espressif/esp-idf!24305
2023-07-03 10:59:49 +08:00
Island
61524a2675
Merge branch 'bugfix/esp32c2_slave_report_address_error_v5.1' into 'release/v5.1'
...
Bugfix/esp32c2 slave report address error v5.1
See merge request espressif/esp-idf!23923
2023-07-03 10:31:20 +08:00
Ilia Lutchenko
0b7e61b95a
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-28 14:11:34 +08:00
zwl
503de45dd8
ble: Fixed the issue of occasional failure to create sync on ESP32-H2
2023-06-25 21:46:41 +08:00
zwl
5d00fd4d60
ble: Fixed the issue of occasional failure to create sync on ESP32-C6
2023-06-25 21:46:13 +08:00
wangmengyang
5fa5f7b2fe
component/docs: enable generation of API-reference documents for Bluetooth HID host
2023-06-25 15:37:41 +08:00
gongyantao
e5899f6a70
resolve the conflicts
2023-06-25 15:37:41 +08:00
Rahul Tank
a2daceb791
Nimble: Expose API to clear all addresses in whitelist out of stack
2023-06-25 10:13:39 +05:30
chenjianhua
b4dcd3bf21
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-16 11:06:12 +08:00
chenjianhua
db68d45702
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed crash when controller initialization fails due to insufficient memory
2023-06-16 11:05:49 +08:00
chenjianhua
3758e37024
bluedroid: fixed default extended connection params
2023-06-16 11:02:17 +08:00
zwl
80f3ad1f1b
ble:fixed the issue that slave reports the wrong address for master when address resolution disable
2023-06-05 16:49:48 +08:00
chenjianhua
c5e580e522
Revert "bluedroid: report disconnect event after BLE link closed"
...
This reverts commit d751960b27
.
2023-06-02 16:51:07 +08:00
Jiang Jiang Jian
a32201f6ec
Merge branch 'bugfix/fix_compilation_error_optimization_v5.1' into 'release/v5.1'
...
Nimble: Fix compilation issues seen while enabling -O2 optimization (v5.1)
See merge request espressif/esp-idf!23717
2023-05-19 16:48:18 +08:00
Jiang Jiang Jian
cc7c851cb2
Merge branch 'feature/use_api_to_enable_modem_on_esp32h2_v5.1' into 'release/v5.1'
...
ble: use modem_clock api to set clocks on ESP32-H2
See merge request espressif/esp-idf!23806
2023-05-19 11:01:44 +08:00
Island
43a67a5da3
Merge branch 'feature/esp32c2_enable_rf_temp_compensation_v5.1' into 'release/v5.1'
...
Feature/esp32c2 enable rf temp compensation v5.1
See merge request espressif/esp-idf!23730
2023-05-18 20:34:30 +08:00
Jiang Jiang Jian
7fcba0fbf8
Merge branch 'bugfix/fix_some_ble_bug_v5.1' into 'release/v5.1'
...
Fixed some BLE bugs (backport v5.1)
See merge request espressif/esp-idf!23699
2023-05-18 20:08:25 +08:00
Jiang Jiang Jian
8b7cd4dc08
Merge branch 'bugfix/hfp_ag_idx_invalid_v5.1' into 'release/v5.1'
...
bt: Fixed out of bounds access due to variable length array(v5.1)
See merge request espressif/esp-idf!23665
2023-05-18 20:07:21 +08:00
Rahul Tank
38a1cfe59c
Nimble: Fix compilation issues seen while enabling -O2 optimization
2023-05-18 14:00:33 +05:30
Shen Weilong
83ac726851
ble: use modem_clock api to set clock on ESP32-C6
2023-05-17 20:04:07 +08:00
Jiang Jiang Jian
0ed8499898
Merge branch 'bugfix/a2dp_source_crash_connect_to_Bose_speaker_v5.1' into 'release/v5.1'
...
Bugfix/a2dp source crash connect to bose speaker (v5.1)
See merge request espressif/esp-idf!23574
2023-05-17 15:10:34 +08:00
Jiang Jiang Jian
0122794a4e
Merge branch 'bugfix/deinit_ble_v5.1' into 'release/v5.1'
...
bugfix: deinit ble for specifies ESP_BT_MODE_BTDM (backport v5.1)
See merge request espressif/esp-idf!23068
2023-05-17 15:09:29 +08:00
Jiang Jiang Jian
b62cbebb81
Merge branch 'feature/expose_addr_resolv_out_stack_v5.1' into 'release/v5.1'
...
Nimble:Added change to expose addr resolution API outside stack (v5.1)
See merge request espressif/esp-idf!23491
2023-05-16 16:34:11 +08:00
zwl
c907f489d6
ble:fixed build error when disable smp
2023-05-16 16:08:54 +08:00
zwl
9b61156746
ble:esp32c2 add rf temperature compensation
2023-05-16 16:08:54 +08:00
Yuan Mingfu
7e49268933
bugfix: deinit ble for specifies ESP_BT_MODE_BTDM
2023-05-12 14:53:56 +08:00
chenjianhua
b77479df39
bluedroid: fix ble ext adv rand addr setting for NRPA
2023-05-11 14:36:39 +08:00
chenjianhua
ac42a8f2c7
bluedroid: fix ble adv data construct for device name
2023-05-11 14:36:39 +08:00
chenjianhua
e6f018a309
bluedroid: fix ble smp key distribution setting
2023-05-11 14:36:39 +08:00
chenjianhua
2afb56d189
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed remote mic error during encryption procedure
2023-05-11 14:36:39 +08:00
chenjianhua
d751960b27
bluedroid: report disconnect event after BLE link closed
2023-05-11 14:36:39 +08:00
xiongweichao
7ddb440384
bt: Deleted some redundant variables in HFP_AG
2023-05-11 06:09:06 +00:00
xiongweichao
a891aa7e4d
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-05-11 06:09:06 +00:00
xiongweichao
d3d73ed8b2
bt: Fixed codec mode error in ESP_HF_WBS_RESPONSE_EVT
2023-05-11 06:09:06 +00:00
zhiweijian
24cc2d714e
Fixed BLE disconnection failure on ESP32
2023-05-08 12:17:09 +08:00
zhiweijian
16696d98c1
Fixed battery profile wrong condition
2023-05-08 11:31:22 +08:00
zwj
daf2622a5b
Fixed no error report when own address type is rpa_random and no random address setting
2023-05-08 11:31:06 +08:00
Jin Cheng
8dbe966d89
fix a2dp source crash when connect to Bose speaker
2023-05-04 19:00:20 +08:00
xiongweichao
25e8069532
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-05-04 14:08:30 +08:00
Wang Meng Yang
b3b85cafb1
Merge branch 'bugfix/fix_ble_hop_sel_v5.1' into 'release/v5.1'
...
Fixed BLE connection failed to be established when disabled 5.0 feature (backport 5.1)
See merge request espressif/esp-idf!23530
2023-05-04 11:38:06 +08:00
chenjianhua
89c06b3c51
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed ble hopping selection for connection when disabled 5.0 feature
2023-04-28 19:30:45 +08:00
Shen Weilong
d6a1ccb27f
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 17:27:36 +08:00
zwl
e575e0b44a
Ble: bugfix for packet loss issue during connection on ESP32C6
2023-04-28 17:27:08 +08:00
Jiang Jiang Jian
0e484e1daa
Merge branch 'feature/bt_uses_creationg_with_caps_functions_v5.1' into 'release/v5.1'
...
BT: Remove "create static" calls from OSI (v5.1)
See merge request espressif/esp-idf!23337
2023-04-27 16:06:10 +08:00
Jiang Jiang Jian
9f80af3770
Merge branch 'bugfix/ble_mesh_fix_heartbeat_set_v5.1' into 'release/v5.1'
...
ble_mesh: stack: Update the heartbeat filter entry add/remove handling (v5.1)
See merge request espressif/esp-idf!23460
2023-04-27 14:38:27 +08:00
Rahul Tank
34e0ed613a
Nimble:Added change to expose addr resolution API outside stack
2023-04-27 10:33:47 +05:30
Jiang Jiang Jian
3ae079ac12
Merge branch 'bugfix/fix_duplicate_scan_cycle_refresh_not_accurate_v5.1' into 'release/v5.1'
...
Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32(backport v5.1)
See merge request espressif/esp-idf!23405
2023-04-27 10:02:17 +08:00
laokaiyao
954a6a2cff
esp32h4: removed esp32h4 related codes
2023-04-26 18:53:12 +08:00
wangjialiang
e121775d6c
ble_mesh: stack: Update the heartbeat filter entry add/remove handling
2023-04-26 14:17:11 +08:00
zwj
52ca53746f
Fixed disconnection due to consecutive CRC errors in first 6 intervals
2023-04-24 15:49:36 +08:00
zwj
a26449844f
Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32
2023-04-24 15:49:12 +08:00
Jiang Jiang Jian
1644050652
Merge branch 'bugfix/fix_some_ble_bug_v5.1' into 'release/v5.1'
...
Fixed some BLE bugs (backport v5.1)
See merge request espressif/esp-idf!23324
2023-04-24 10:41:59 +08:00
Jiang Jiang Jian
a12e124410
Merge branch 'bugfix/bt_diable_enbale_crash_v5.1' into 'release/v5.1'
...
bt:Fixed esp32 controller bug (v5.1)
See merge request espressif/esp-idf!23365
2023-04-24 10:39:58 +08:00
xiongweichao
b5357e8b01
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/11164
Closes https://github.com/espressif/esp-idf/issues/10835
2023-04-23 20:26:56 +08:00
zhiweijian
59666637bc
Disable controller 5.0 feature bits if host 5.0 feature is not enabled
2023-04-22 20:49:30 +08:00
zwj
48c5f74cbc
improve scan performance when scan and sync coexist on ESP32-C3 and ESP32-S3
2023-04-22 20:49:10 +08:00
chenjianhua
8e41186ac8
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed non-connectable and non-scannable directed adv can't be scanned
2023-04-22 20:48:38 +08:00
Darian Leung
51405fd9d4
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-21 15:19:29 +08:00
chenjianhua
d0011b778a
bluedroid: report status after clearing the BLE white list
2023-04-20 18:58:38 +08:00
chenjianhua
c2fe7be50e
bluedroid: fix GATTC cache address save
2023-04-20 18:57:23 +08: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