luomanruo
56894b1bca
ble: update h2 c6 libble to 5d7af429
2023-09-05 15:10:38 +08:00
linruihao
f629029d4a
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-09-04 11:03:33 +08:00
zwl
bd21c215c7
ble: supported trace function and adv report flow control on esp32c2
2023-08-31 12:02:00 +08:00
Island
261af82d1f
Merge branch 'bugfix/ble_hci_issues_chain_mbuf_v5.1' into 'release/v5.1'
...
fix hci issues when chain mbuf exists
See merge request espressif/esp-idf!25532
2023-08-28 18:39:37 +08:00
Jiang Jiang Jian
fae05ace21
Merge branch 'bugfix/fix_duplicate_disable_compile_issue_backport_5_1' into 'release/v5.1'
...
bugfix(ble): Fix compile issue when disable duplicate config option in kconfig.
See merge request espressif/esp-idf!25177
2023-08-28 10:22:50 +08:00
luomanruo
6503758ec0
ble: Assert when getting memory fail
2023-08-25 12:25:33 +08:00
Island
48052e4d1f
Merge branch 'bugfix/fix_current_issue_after_ble_init_5.1' into 'release/v5.1'
...
ble: move phy enabled/disable to controller enable/disable
See merge request espressif/esp-idf!25081
2023-08-25 10:25:11 +08:00
Jiang Jiang Jian
4d044ab25d
Merge branch 'bugfix/v5.1_ble_issues_bugfix_c2' into 'release/v5.1'
...
update btlib to f9db7b90, some esp32c2 issues bugfixed
See merge request espressif/esp-idf!25433
2023-08-24 14:13:39 +08:00
Jiang Jiang Jian
64926fd137
Merge branch 'doc_5.1/c2_h2_c6' into 'release/v5.1'
...
c2 h2 c6 headfile re-organized
See merge request espressif/esp-idf!25079
2023-08-23 20:18:31 +08:00
Jiang Jiang Jian
5256c317f9
Merge branch 'bugfix/role_switch_enc_mode_lmp_timeout_v5.1' into 'release/v5.1'
...
bt: Fix disconnection due to lmp messages not being processed by both sides(v5.1)
See merge request espressif/esp-idf!25202
2023-08-23 19:53:29 +08:00
cjin
fa806d758a
ble: move phy enabled/disable to controller enable/disable
2023-08-23 17:56:33 +08:00
luomanruo
f35959d7d1
ble: update btlib to f9db7b90, some esp32c2 issues bugfixed
2023-08-23 10:21:20 +08:00
luomanruo
757bd78247
update btlib to f9db7b90, some esp32c2 issues bugfixed
2023-08-21 11:49:14 +08:00
zwl
05e44b1021
ble: Added adv report flow control config on ESP32C6 and ESP32H2
2023-08-16 19:37:09 +08:00
zwl
fb6f00158e
ble: fixed heap corruption on esp32c6 and esp32h2
2023-08-16 19:37:03 +08:00
xiongweichao
3b48ccb343
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-08-04 10:59:25 +08:00
Geng Yuchao
de0e027bd1
fix(ble): Fix compile issue when disable duplicate config option in kconfig.
2023-08-03 17:07:02 +08:00
luomanruo
dc4731101d
c2 h2 c6 headfile re-organized
...
c2 c6 h2 cfg_t and addr_t documented
comments for controller_enable
2023-07-31 12:41:52 +08:00
Island
6fb014d535
Merge branch 'feature/add_ble_multi_conn_example_with_vs_hci_5.1' into 'release/v5.1'
...
feat(ble): Added ble examples for multiple connections
See merge request espressif/esp-idf!24814
2023-07-28 15:35:54 +08:00
luomanruo
c624b0a45e
esp_rom_printf
2023-07-24 21:45:11 +08:00
luomanruo
99c0715962
ble update for doc: bugfix for esp32c6 and esp32h2
2023-07-24 10:59:19 +08:00
luomanruo
14819cb409
ble update: bugfix for esp32c6 and esp32h2
2023-07-21 20:25:01 +08:00
Shen Weilong
2d1544b863
feat(ble): Added ble examples for multiple connections
2023-07-14 19:01:11 +08:00
Jiang Jiang Jian
82fde1e823
Merge branch 'backport_v5.1' into 'release/v5.1'
...
fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32(backport v5.1)
See merge request espressif/esp-idf!24780
2023-07-14 18:17:32 +08:00
cjin
5ec30e6fc2
ble : remove extra retention cnt upon deinit temporarily
2023-07-14 11:07:56 +08:00
zhanghaipeng
2b1269d4fb
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-13 16:43:37 +08:00
cjin
1dbbd97749
ble: support esp32c6 power save example
2023-07-10 18:08:37 +00:00
Island
e21fc0dc50
Merge branch 'feature/update_ble_libs_5.1' into 'release/v5.1'
...
ble: Added APIs for QA test
See merge request espressif/esp-idf!24651
2023-07-10 17:21:51 +08:00
Island
e68d4a7177
Merge branch 'feature/update_ble_duplicte_vs_hci_lib_fix_5_1' into 'release/v5.1'
...
Feature/update ble duplicte vs hci lib fix 5 1
See merge request espressif/esp-idf!24638
2023-07-10 15:09:18 +08:00
Shen Weilong
027e6ecab9
ble: Added APIs for QA test
2023-07-07 19:40:48 +08:00
Jiang Jiang Jian
66f384cad0
Merge branch 'bugfix/added_chip_based_cca_config_v5.1' into 'release/v5.1'
...
ble: fix cca for esp32c2
See merge request espressif/esp-idf!24426
2023-07-07 17:31:00 +08:00
Island
a8c9665ae2
Merge branch 'ble_dev/support_esp32h2_modem_clock_selection_5.1' into 'release/v5.1'
...
ble: support esp32h2 modem clock selection
See merge request espressif/esp-idf!24388
2023-07-07 16:57:22 +08:00
Geng Yuchao
730d8e18d8
fix(ble): Fix duplicate var length issue
2023-07-07 14:29:21 +08:00
Geng Yuchao
1398605873
fix(ci): Fix declaration isn't a prototype issue
2023-07-07 14:29:21 +08:00
Geng Yuchao
0359d0df5d
feat(ble): Update ble lib to 6f9ef119
2023-07-07 14:29:21 +08:00
Geng Yuchao
eea7df273c
change(ble): Enable pdu type trig in duplicate in default mode as before
2023-07-07 14:29:21 +08:00
Geng Yuchao
a5f127ec88
feat(ble): Add duplicate refersh function support for esp32h2
2023-07-07 14:29:21 +08:00
Geng Yuchao
2b195191b3
feat(ble): Add support to scan period refresh duplicate cache list
2023-07-07 14:29:21 +08:00
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
cjin
7b70e2eb34
ble: fix cca for esp32c2
2023-07-06 14:05:43 +08:00
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
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
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
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
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
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
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
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
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
Shen Weilong
83ac726851
ble: use modem_clock api to set clock on ESP32-C6
2023-05-17 20:04:07 +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
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
zhiweijian
24cc2d714e
Fixed BLE disconnection failure on ESP32
2023-05-08 12:17:09 +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
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
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
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
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
baohongde
dff3c07e42
components/coexist: Set coex scan status when ble connecting
2023-04-06 11:09:46 +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
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
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
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
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
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
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
isha.pardikar@espressif.com
7d3e347ba2
Bluetooth : Fixed h2 controller function definition
2023-03-16 18:03:39 +05:30
cjin
e317f07798
ble: update config in esp32h2 chip
2023-03-15 21:02:12 +08: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
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
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
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
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