AlbertWDev
a16896af68
bt: fix SDP event status overwritten by handle
2023-02-02 20:13:52 +08:00
wangmengyang
ebb7650e63
bluetooth: fix that functions "coex_enable" and "coex_disable" are not used in pairs on ESP32-C3, ESP32-S3 and ESP32-C2
2023-01-20 10:47:58 +08:00
zhaoweiliang
a68fad98ed
Fixed task watchdog trigger issue when closed hci uart
2023-01-04 15:30:32 +08:00
Jin Cheng
4c6aad37f6
Fixed crash caused by accessing nullptr in btm_acl_disconnected
2023-01-04 11:46:04 +08:00
zhaoweiliang
6b0a64d722
Fixed hci uart flow ctrl error on ESP32-C2 and ESP32-H4
2023-01-04 09:59:32 +08:00
Rahul Tank
72e637750e
Nimble: Removes global min/max definition causing problems with other libraries
2022-12-28 10:17:10 +05:30
Zim Kalinowski
6972b61ea5
Merge branch 'staging/esp_static_assert_v5.0' into 'release/v5.0'
...
C/Cxx: unify static assertions with the macro ESP_STATIC_ASSERT (backport v5.0)
See merge request espressif/esp-idf!21695
2022-12-20 20:53:02 +08:00
Jiang Jiang Jian
7dae4181a8
Merge branch 'bugfix/fix_some_ble_bugs_by_cjh_v5.0' into 'release/v5.0'
...
Fixed some BLE bugs (backport v5.0)
See merge request espressif/esp-idf!21682
2022-12-20 11:14:48 +08:00
Jiang Jiang Jian
cf88b7a743
Merge branch 'bugfix/fix_ble_some_bugs_20221219' into 'release/v5.0'
...
backport some BLE bugs 20221219 (backport v5.0)
See merge request espressif/esp-idf!21697
2022-12-20 10:52:53 +08:00
Jiang Jiang Jian
368ede2eb4
Merge branch 'bugfix/spp_vfs_memory_leak_v5.0' into 'release/v5.0'
...
Component_bt/fix esp_spp_vfs_register memory leak(v5.0)
See merge request espressif/esp-idf!21678
2022-12-20 10:37:10 +08:00
Omar Chebib
0714847552
C/Cxx: unify static assertions with the macro ESP_STATIC_ASSERT
...
Closes https://github.com/espressif/esp-idf/issues/9938
2022-12-19 15:06:15 +01:00
zwj
0733694f1f
Update bt lib for ESP32
...
- Add config to set duplicate scan list refresh period
- overwrite the oldest device infor if the list is full
- Fixed duplicate scan period is not accurate
2022-12-19 20:26:17 +08:00
zwj
e7ee437bcf
Update bt lib for ESP32-C3 and ESP32-S3
...
- Add config to set duplicate scan list refresh period
- overwrite the oldest device infor if the list is full
- Fixed duplicate scan period is not accurate
2022-12-19 20:24:26 +08:00
chenjianhua
e95d7202ce
update bt lib for ESP32-C3 and ESP32-S3
...
1 fixed privacy error for directed adv
2 fixed multi periodic adv sync failed in air
2022-12-19 20:23:34 +08:00
zwj
c656e7ec07
Fixed some memory was not released after bluetooth controller initialization failed on ESP32-C3 and ESP32-S3
2022-12-19 20:22:58 +08:00
chenjianhua
0b8f0e5456
update bt-lib for ESP32
...
1 change default TX power to 9 dBm
2 fixed disconnect reason 0x1f (unspecified error)
3 fixed connection timeout due to terminate ind has not been acknowledged
2022-12-19 20:19:59 +08:00
zwj
5fff471b50
Fixed some memory was not released after bluetooth controller initialization failed on ESP32
2022-12-19 20:19:28 +08:00
chenjianhua
938d912daa
bluedroid: fix ble connection update with same params
2022-12-19 20:17:00 +08:00
chenjianhua
c97df72bb2
bluedroid: fix encrypt keysize of GATT characteristic permission
2022-12-19 20:17:00 +08:00
chenjianhua
4b7702c0a4
bluedroid: correct the length of att read by type pdu
2022-12-19 20:17:00 +08:00
Jiang Jiang Jian
dfa9a81233
Merge branch 'feature/add_periodic_helper_macros_v5.0' into 'release/v5.0'
...
Nimble: Add helper macros to set interval min / max for periodic adv (v5.0)
See merge request espressif/esp-idf!21620
2022-12-19 19:33:27 +08:00
xiongweichao
32a50118a4
Assert when malloc user_data fail
2022-12-19 11:32:19 +08:00
xiongweichao
29b718bdf5
Fixed memory leak when SPP initialization failed
2022-12-19 11:32:09 +08:00
xiongweichao
3f5aaf11db
Added esp_spp_vfs_unregister() to free memory allocated by esp_spp_vfs_register()
2022-12-19 11:32:01 +08:00
xiongweichao
71bd180095
bt: Update HFP version to v1.8
2022-12-15 16:57:56 +08:00
xiongweichao
e5794669de
bt: Update A2DP version to v1.4
2022-12-15 16:57:51 +08:00
xiongweichao
9bd1484386
bt:Fixed the use of invalid configuration when the peer device configures the stream, and returned an incorrect error code
2022-12-15 16:57:46 +08:00
Rahul Tank
1623ad0a25
Nimble: Add helper macros to set interval min / max for periodic adv
2022-12-15 13:41:24 +05:30
liuning
8ba9f8a6cf
ci: fix esp_phy_modem_deinit issue
2022-12-15 10:48:04 +08:00
liuning
7d16868e32
phy: only set phy_init_flag at power domain off, when all modems deinit
2022-12-15 10:45:09 +08:00
Island
eb08eb6578
Merge branch 'feature/esp32c2_optimize_npl_element_count_v5.0' into 'release/v5.0'
...
Feature/esp32c2 optimize npl element count v5.0
See merge request espressif/esp-idf!21563
2022-12-14 15:13:42 +08:00
Jiang Jiang Jian
232a4aee15
Merge branch 'feature/report_acl_conn_cmp_stat_to_app_v5.0' into 'release/v5.0'
...
feature/report ACL link related events to application (v5.0)
See merge request espressif/esp-idf!21524
2022-12-14 10:45:15 +08:00
Jiang Jiang Jian
88a82c89c6
Merge branch 'feature/nimble_support_ble_max_conn_num_v5.0' into 'release/v5.0'
...
Nimble: Support maximum number of connections to 9 on ESP32-C3 and ESP32-S3 (v5.0)
See merge request espressif/esp-idf!21550
2022-12-14 10:44:50 +08:00
zwl
e8555efe5b
Renamed BAH
2022-12-13 18:05:00 +08:00
zwl
756dbc3f94
Fixed some occasional ble issues on ESP32H2BETA2
2022-12-13 17:50:14 +08:00
zwl
5cab9686bb
Optimized the number of npl on ESP32C2
2022-12-13 17:50:00 +08:00
Rahul Tank
71e1c0a564
Nimble: Update documentation to include distinction between upstream
...
mesh example and ESP-BLE-MESH
2022-12-13 12:56:06 +05:30
Jiang Jiang Jian
12535d6d75
Merge branch 'contrib/github_pr_9529_v5.0' into 'release/v5.0'
...
component_bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails(v5.0)
See merge request espressif/esp-idf!21556
2022-12-12 17:54:13 +08:00
Jiang Jiang Jian
640b86025b
Merge branch 'bugfix/correct_the_default_SR_mode_v5.0' into 'release/v5.0'
...
bugfix/correct the SR_mode selection when konw nothing about Peripheral's SR_mode (v5.0)
See merge request espressif/esp-idf!21519
2022-12-12 14:51:57 +08:00
Jiang Jiang Jian
3fcbf617ec
Merge branch 'rebase/remove_redundant_pm_lock_on_ble_v5.0' into 'release/v5.0'
...
Rebase/remove redundant pm lock on ble v5.0
See merge request espressif/esp-idf!21423
2022-12-12 14:49:37 +08:00
xiongweichao
6fdd8552da
Fixed incorrect parameters in switching to BTC context
2022-12-12 11:26:39 +08:00
xiongweichao
c0392d3dd9
bt:Modify the member variable *arg in struct btc_msg to arg[0]
2022-12-12 11:26:34 +08:00
xiongweichao
f9732cb65f
bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails
2022-12-12 11:26:26 +08:00
Wang Meng Yang
818ba6affb
Merge branch 'bugfix/spp_50005_crash_v5.0' into 'release/v5.0'
...
bt: Added esp_spp_enhanced_init() API to indicate whether to enable L2CAP ERTM(v5.0)
See merge request espressif/esp-idf!20822
2022-12-12 11:00:28 +08:00
Rahul Tank
7d68a35cbe
Nimble: Support maximum number of connections to 9 on ESP32-C3 and ESP32-S3
2022-12-11 18:16:05 +05:30
cjin
842349de6d
ble: fix occasional assertion on ble rtc intr
2022-12-09 15:25:37 +08:00
zwl
de7e62fdfe
Unify controller internal error code on ESP32-C2
2022-12-09 15:25:37 +08:00
cjin
5c481c5a08
ble: remove redundant pm lock on ble
2022-12-09 15:25:37 +08:00
jincheng
80da46eff3
Added reporting for ACL link related events to application
2022-12-09 11:07:50 +08:00
Jin Cheng
a1de1bfd3c
correct the SR_mode selection when konw nothing about Peripheral
2022-12-09 10:24:24 +08:00
Jiang Jiang Jian
2693c89c05
Merge branch 'bugfix/notify_gattc_to_gatts_v5.0' into 'release/v5.0'
...
NimBLE : Change GATT notify/indicate from gattc to gatts (v5.0)
See merge request espressif/esp-idf!20892
2022-12-08 20:36:25 +08:00
Jiang Jiang Jian
ed663e395f
Merge branch 'feature/support_le_power_control_v5.0' into 'release/v5.0'
...
Nimble: Add LE Power CTRL changes (v5.0)
See merge request espressif/esp-idf!21188
2022-12-08 11:53:00 +08:00
xiongweichao
654e198464
bt: Remove SPP default send buffer size option and add parameters to configure send buffer size in esp_spp_enhance_init()
2022-12-07 09:38:24 +00:00
xiongweichao
c2c9b090c7
bt: Added esp_spp_enhance_init() API to indicate whether to enable L2CAP ERTM
2022-12-07 09:38:24 +00:00
xiongweichao
6d57e7878d
bt: Keep the maximum number of credits unchanged
2022-12-07 09:38:24 +00:00
xiongweichao
aa25c4391c
bt: Replaced the tx queue in SPP VFS mode with ringbuffer
2022-12-07 09:38:24 +00:00
xiongweichao
6d9987f4c8
bt: Split SPP application layer data packets according to the MTU of the peer
2022-12-07 09:38:24 +00:00
xiongweichao
bce0e93b73
bt: Enter the congestion state when the queue length waiting for the peer to ack is greater than or equal to the L2CAP ERTM tx window size
2022-12-07 09:38:24 +00:00
isha.pardikar@espressif.com
b1d87a41d2
NimBLE : Change GATT notify/indicate from gattc to gatts
2022-12-07 14:41:51 +05:30
Wang Meng Yang
23f7989006
Merge branch 'bugfix/reduce_BTU_TASK_stack_consumption_v5.0' into 'release/v5.0'
...
Reduce the stack consumption of BTU_TASK (backport v5.0)
See merge request espressif/esp-idf!21434
2022-12-07 11:29:39 +08:00
Jiang Jiang Jian
795a70f8b3
Merge branch 'bugfix/Fix_exceptional_list_params_check_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Fix exceptional list parameters check issue(v5.0)
See merge request espressif/esp-idf!21441
2022-12-06 20:41:08 +08:00
Rahul Tank
e8e79e8e16
Nimble: Add LE Power CTRL changes
2022-12-06 14:56:20 +05:30
Jiang Jiang Jian
0e04bff488
Merge branch 'feature/LE_Conn_Subrating_v5.0' into 'release/v5.0'
...
Nimble: Stack support for Connection subrating feature (v5.0)
See merge request espressif/esp-idf!20814
2022-12-06 17:21:57 +08:00
Island
8e4bcb4875
Merge branch 'feature/add_comments_for_bt_connections' into 'release/v5.0'
...
Explain how much memory that will be used by each connection/advertiser.
See merge request espressif/esp-idf!21322
2022-12-06 17:21:12 +08:00
Mathis
7a72210157
Blufi: Add function for blufi management inside custom gap event handler
2022-12-06 10:53:09 +05:30
Jiang Jiang Jian
b2396cee86
Merge branch 'bugfix/multiple_wifi_fixes_v5.0' into 'release/v5.0'
...
esp_wifi: update wifi lib
See merge request espressif/esp-idf!21425
2022-12-06 13:05:08 +08:00
wangjialiang
9d79c71498
ble_mesh: stack: Fix exceptional list parameters check issue
2022-12-05 20:24:21 +08:00
zwj
7884457d1f
Reduce the stack consumption of BTU_TASK
2022-12-05 17:12:27 +08:00
Wang Meng Yang
755ee147bd
Merge branch 'feature/support_ble_max_conn_num_to_9_v5.0' into 'release/v5.0'
...
Support bluedroid host maximum number of connections to 9 (backport v5.0)
See merge request espressif/esp-idf!21400
2022-12-05 12:16:53 +08:00
Rahul Tank
586a4715ad
Nimble: Stack support for Connection subrating feature
2022-12-05 09:26:11 +05:30
liuning
497b45186e
blufi: update version to 1.3
...
record connecting status, got ip status, maximum retry, connection end info (reason code, rssi) and provide greater information to phone
2022-12-05 11:23:29 +08:00
Jiang Jiang Jian
9406e80d5f
Merge branch 'bugfix/fix_c3_s3_ble_temperature_performance_v5.0' into 'release/v5.0'
...
Fixed bluetooth disconnection caused by HW temperature rise or fall(backport v5.0)
See merge request espressif/esp-idf!21370
2022-12-02 20:39:17 +08:00
Jiang Jiang Jian
316e0e2295
Merge branch 'bugfix/fix_hid_device_vup_without_connection_5.0' into 'release/v5.0'
...
Bugfix/Fix HID Device can not remove virtually cabled device without a connection[backport 5.0]
See merge request espressif/esp-idf!21365
2022-12-02 20:38:57 +08:00
Jiang Jiang Jian
f83a531929
Merge branch 'bufix/a2dp_fail_connect_again_after_disconnect_v5.0' into 'release/v5.0'
...
component_bt: Fixed a2dp failing to connect again after disconnect(v5.0)
See merge request espressif/esp-idf!21342
2022-12-02 20:38:13 +08:00
Jiang Jiang Jian
6d1f2821f1
Merge branch 'feature/esp32c2_optimize_ble_init_v5.0' into 'release/v5.0'
...
Fixed memory leak when RAM free size is insufficient or setting ext scan...
See merge request espressif/esp-idf!21262
2022-12-02 20:37:16 +08:00
Jiang Jiang Jian
d92765bf9c
Merge branch 'bt/opt_audio_datapath_v5.0' into 'release/v5.0'
...
bt/optimized a2dp_sink audio datapath (v5.0)
See merge request espressif/esp-idf!21222
2022-12-02 20:36:14 +08:00
Jiang Jiang Jian
7c395f3ca8
Merge branch 'feature/support_ble_memory_release_on_esp32c2_v5.0' into 'release/v5.0'
...
Support BLE memory release on ESP32C2 (v5.0)
See merge request espressif/esp-idf!21189
2022-12-02 20:35:18 +08:00
Jiang Jiang Jian
52b0a5a1d5
Merge branch 'bugfix/fix_hfp_clcc_parser_bug_5.0' into 'release/v5.0'
...
Bugfix/Fix HFP client parse CLCC command response bug[backport 5.0]
See merge request espressif/esp-idf!21155
2022-12-02 20:34:18 +08:00
Jiang Jiang Jian
c0d79f2ef1
Merge branch 'bugfix/ble_mesh_event_typo_fix_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Fix typo in directly erase settings event (v5.0)
See merge request espressif/esp-idf!21107
2022-12-02 20:33:17 +08:00
Jiang Jiang Jian
6442112bb9
Merge branch 'bugfix/change_default_tx_power_on_c3_and_s3_v5.0' into 'release/v5.0'
...
Change BLE default TX power on ESP32C3 and ESP32S3(backport v5.0)
See merge request espressif/esp-idf!21099
2022-12-02 20:32:53 +08:00
Jiang Jiang Jian
af7322aed5
Merge branch 'bugfix/a2dp_can_not_connect_after_ble_connected_v5.0' into 'release/v5.0'
...
fixed the issue iOS devices cannot initiate connection (v5.0)
See merge request espressif/esp-idf!21063
2022-12-02 20:32:03 +08:00
Jiang Jiang Jian
c0cf0b07b0
Merge branch 'bugfix/bt_bss_wrong_address_v5.0' into 'release/v5.0'
...
Bluetooth: fix BSS placement in the linker script generated by ldgen (backport v5.0)
See merge request espressif/esp-idf!20976
2022-12-02 20:29:52 +08:00
Jiang Jiang Jian
ef1f1a8adb
Merge branch 'bugfix/fix_trans_optional_info_using_group_addr_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Fix can't trans optional info to group address(v5.0)
See merge request espressif/esp-idf!20958
2022-12-02 20:29:35 +08:00
Jiang Jiang Jian
fb1ee6b468
Merge branch 'bugfix/blufi_add_host_deinit_api_v5.0' into 'release/v5.0'
...
Blufi: Added an API to stop Bluetooth / Blufi profile (v5.0)
See merge request espressif/esp-idf!20863
2022-12-02 20:27:15 +08:00
Jiang Jiang Jian
052d01b551
Merge branch 'bugfix/handle_issue_of_malloc_fail_v5.0' into 'release/v5.0'
...
bugfix/avoid unexpected free when malloc failed (v5.0)
See merge request espressif/esp-idf!20728
2022-12-02 20:23:58 +08:00
Jiang Jiang Jian
90dfbdcfc9
Merge branch 'bugfix/update_ctrl_init_config_macro_v5.0' into 'release/v5.0'
...
Bugfix/update ctrl init config macro (v5.0)
See merge request espressif/esp-idf!20711
2022-12-02 19:53:18 +08:00
Jiang Jiang Jian
5e461357a0
Merge branch 'bugfix/esp_spp_write_len_0_v5.0' into 'release/v5.0'
...
bt: Fixed esp_spp_write() crash when len is 0(v5.0)
See merge request espressif/esp-idf!20704
2022-12-02 19:53:19 +08:00
Jiang Jiang Jian
85f4192ca5
Merge branch 'feature/Add_IVI_recovery_option_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Add IV index recovery option when device missed the whole IV update(v5.0)
See merge request espressif/esp-idf!20641
2022-12-02 19:52:34 +08:00
Jiang Jiang Jian
8a956957f6
Merge branch 'bugfix/fix_fast_interval_prov_adv_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Fix send fast interval prov_adv failed (v5.0)
See merge request espressif/esp-idf!20635
2022-12-02 19:51:49 +08:00
Jiang Jiang Jian
53746605d8
Merge branch 'bugfix/esprv_intc_int_set_type_error_v5.0' into 'release/v5.0'
...
Nimble: Fixed esprv_intc_int_set_type() usage (v5.0)
See merge request espressif/esp-idf!20616
2022-12-02 19:51:10 +08:00
Shen Weilong
dcc310f468
Explain how mush memory that will be used by each connection/advertiser.
2022-12-02 14:22:53 +08:00
zwj
8b0ec09c71
update BLE lib for ESP32-C3 and ESP32-S3
...
- Fixed lld_con.c line 3048 assert
- Fixed crash sometimes when connected as a slave by 8th device
2022-12-02 12:18:52 +08:00
zhiweijian
2a76e35ed1
bluedroid host supports the maximum number of connections to 9
2022-12-02 12:18:40 +08:00
zhiweijian
9cfffd2915
- update phy lib
...
- Enable BLE pll track to fix bluetooth disconnection caused by temperature rise or fall on ESP32C3 and ESP32S3
- call pll track in controller task
2022-12-01 18:44:31 +08:00
liqigan
ad43b04898
fix HID device can not remove virtually cabled device without a connection
...
Closes https://github.com/espressif/esp-idf/issues/10107
2022-12-01 15:14:25 +08:00
xiongweichao
d47bf56850
Fixed a2dp failing to connect again after disconnect
2022-11-30 18:46:59 +08:00
zwl
06290d44c3
Fixed interrupt latency when cache is disable on ESP32-C2
2022-11-29 16:27:05 +08:00
zwl
90fa0e5c49
Fixed memory leak when RAM free size is insufficient or setting ext scan parameters failed on ESP32-C2
2022-11-29 16:27:05 +08:00
Jin Cheng
75b2e639e1
optimized a2dp_sink audio datapath
...
1. removed audio cache in BTC layer of Bluedroid
2. added flow control for audio data in application layer
Closes https://github.com/espressif/esp-idf/issues/9622
2022-11-24 11:21:57 +08:00
Rahul Tank
6c4292f7b1
Support BLE memory release on ESP32C2
2022-11-22 10:38:40 +05:30