Commit Graph

3386 Commits

Author SHA1 Message Date
Darshan Dobariya
95e0a1d1b6 fix(nimble): Added support for address resolution during inquiry. 2024-01-22 09:42:22 +08:00
zhiweijian
bf322fbc4a Fixed BLE scan request ifs timer error in coexistence scenarios 2024-01-20 11:28:20 +08:00
luomanruo
6c8fa646e4 change(ble): npl count is zero if nimble host is not used
change(ble): added npl eventq put to front

change(ble): added cache safe check in ble power save example

ble(update):
    Update c2 lib to 91b81332
    Update h2 lib to 620fbe79
    Update c6 lib to 620fbe79

fix(ble): fix stack overflow disable at sleep

Revert "change(ble): added ble cca en and thresh option"

This reverts commit 71901499b9.
2024-01-19 16:14:05 +08:00
zhanghaipeng
b59aeaa192 fix(bt/bluedroid): Fix ble adv data check to avoid memory overflow 2024-01-19 10:52:34 +08:00
zhanghaipeng
6a81c1fcce fix(ble/bluedroid): Fix ble memory leak when gattc config off 2024-01-19 10:52:20 +08:00
linruihao
1091ce2106 fix(ble): fixed interrupt timeout in MAC_BB_PD callback 2024-01-19 10:50:09 +08:00
linruihao
2fa19aab7a fix(bt/bludroid): Increase BTU task stack size 2024-01-08 11:36:07 +08:00
zwl
5644fee5be fix(ble): fixed rssi inaccuracy issue on ESP32-H2 2024-01-04 15:09:50 +08:00
Rahul Tank
d2c1fcf56e Merge branch 'bugfix/enable_addr_resol_across_reboot_v5.1' into 'release/v5.1'
fix(nimble): Enable address resolution across reboot (v5.1)

See merge request espressif/esp-idf!28215
2024-01-03 20:10:00 +08:00
Island
04d624c50a Merge branch 'feat/ble_mesh_miscellaneous_update_v5.1' into 'release/v5.1'
feat(ble_mesh): Miscellaneous updates for mesh kconfig, relay related(v5.1)

See merge request espressif/esp-idf!28033
2024-01-03 15:42:15 +08:00
Island
0aed680855 Merge branch 'bugfix/fix_ble_robost_cashing_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fix BLE robost cashing config(backport v5.1)

See merge request espressif/esp-idf!28200
2024-01-03 11:31:54 +08:00
Island
8d3170e044 Merge branch 'bugfix/BLEQABR23-35_v5.1' into 'release/v5.1'
fix(ble_mesh): avoid ble_mesh packet collision by using random adv interval(v5.1)

See merge request espressif/esp-idf!27487
2024-01-03 10:44:37 +08:00
Rahul Tank
c6946cb2fd fix(nimble): Enable address resolution across reboot 2024-01-02 14:04:44 +05:30
Jiang Jiang Jian
29803d93b5 Merge branch 'bigfix/BLEQABR23-503_v51' into 'release/v5.1'
fix(ble_mesh): reject node-reseting when provision link is active (V5.1)

See merge request espressif/esp-idf!25849
2024-01-02 15:38:12 +08:00
Wu Meng Shi
53b013f041 fix(ble_mesh): reject node-reseting when provision link is active (V5.1) 2024-01-02 15:38:11 +08:00
luoxu
268fbf83c1 bugfix(ble_mesh): add duplicate scan config for esp32s3 2024-01-02 15:35:11 +08:00
luoxu
fa85443a44 feat(ble_mesh): Miscellaneous updates for mesh kconfig, relay related 2024-01-02 15:34:27 +08:00
luoxu
4fe0523a5f bugfix(ble_mesh): Prevent the generation of link ID as 0. 2024-01-02 15:24:15 +08:00
zhanghaipeng
3241fd237b fix(bt/bluedroid): Fix BLE robost cashing config 2023-12-30 20:14:19 +08:00
Jiang Jiang Jian
bc2389029c Merge branch 'bugfix/fix_ble_app_unregister_no_event_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fix ble app unregister no event(backport v5.1)

See merge request espressif/esp-idf!28175
2023-12-29 16:03:39 +08:00
Jiang Jiang Jian
b929a149db Merge branch 'bugfix/fix_gatts_stop_race_condition_v5.1' into 'release/v5.1'
fix(nimble): Handled race condition for conn variables being set to NULL (v5.1)

See merge request espressif/esp-idf!28169
2023-12-29 16:02:17 +08:00
Jiang Jiang Jian
82bfc1de86 Merge branch 'bugfix/crash_in_btc_hf_init_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Avoided crash of LoadProhibited during HFP AG deinitialization (v5.1)

See merge request espressif/esp-idf!28117
2023-12-29 12:01:51 +08:00
Jiang Jiang Jian
8b84071f6a Merge branch 'backport/fix_ble_prepare_write_v5.1' into 'release/v5.1'
Backport/fix ble prepare write v5.1

See merge request espressif/esp-idf!27909
2023-12-29 12:01:01 +08:00
luoxu
5fd7c865c7 bugfix(ble_mesh): Supplementary configuration options that should be enabled. 2023-12-29 11:11:21 +08:00
Liu Linyan
a4635d75ca fix(ble_mesh): Support using random adv interval for mesh packets 2023-12-29 11:11:21 +08:00
zhanghaipeng
7755e6190c fix(bt/bluedroid): Fix ble app unregister no event 2023-12-28 19:10:10 +08:00
Rahul Tank
aa2c91072d fix(nimble): Handled race condition for conn variables being set to NULL 2023-12-28 15:13:09 +05:30
Rahul Tank
bbd8d13f93 Merge branch 'bugfix/periodic_adv_enh_fixes_v5.1' into 'release/v5.1'
fix(nimble): Added periodic_adv_enh soc_caps for c2, h2 (v5.1)

See merge request espressif/esp-idf!28077
2023-12-28 17:24:05 +08:00
Jiang Jiang Jian
9088450645 Merge branch 'bugfix/fix_establish_two_sco_fail_v5.1' into 'release/v5.1'
fix(bt/controller): Fixed establish two sco connections failed (Backport v5.1)

See merge request espressif/esp-idf!28101
2023-12-27 19:38:25 +08:00
Roshan Bangar
dc9d9b41f2 fix(nimble): Added periodic_adv_enh soc_caps for c2, h2 2023-12-27 15:03:17 +05:30
Jiang Jiang Jian
48091104b6 Merge branch 'test/ctrl_acl_u_pkt_type_v5.1' into 'release/v5.1'
feat(bt/bluedroid): Added an API to specify data types for ACL-U traffic

See merge request espressif/esp-idf!27598
2023-12-27 16:53:43 +08:00
Jiang Jiang Jian
ddd142e624 Merge branch 'bugfix/fix_ble_recorrect_enable_bug_v5.1' into 'release/v5.1'
fix(ble/controller): Fixed BLE recorrect enable bug and fixed BLE bb isr enable by default (backport v5.1)

See merge request espressif/esp-idf!28110
2023-12-27 12:03:47 +08:00
Jin Cheng
9d41ed6546 feat(bt/bluedroid): Added an API to specify data types for ACL-U traffic 2023-12-26 20:21:15 +08:00
Jin Cheng
f7cfcebe69 fix(bt/bluedroid): Disabled Sniff Subrating temporarily as it did not work well 2023-12-26 11:51:32 +08:00
Jin Cheng
885c070eb8 fix(bt/bluedroid): Changed the default air mode to invalid value 2023-12-26 11:51:32 +08:00
Jin Cheng
5f621c33da fix(bt/bluedroid): Removed redundant operation of SCO clean up 2023-12-26 11:51:32 +08:00
Jin Cheng
bf7e27d126 fix(bt/bluedroid): Corrected the definitions of HF Client callback events 2023-12-26 11:51:32 +08:00
Jin Cheng
94faa4a112 fix(bt/bluedroid): Avoided crash of LoadProhibited during HFP AG deinitialization
Move the release of the control blocks from the start
of deinitialization to the profile disabled event.
2023-12-26 11:51:32 +08:00
Jin Cheng
3c088db873 fix(bt/bluedroid): Added dynamic memory allocation for HFP control blocks 2023-12-26 11:51:32 +08:00
Jin Cheng
244a3f892e fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in L2CAP layer 2023-12-26 11:04:46 +08:00
Jin Cheng
0d5d7cbff7 fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in BTC layer 2023-12-26 11:04:46 +08:00
Island
d24b321eec Merge branch 'bugfix/fixed_stop_periodic_adv_assert_issue_v5.1' into 'release/v5.1'
fixed(ble): fixed an assertion issue when stopping periodic adv on ESP32C6 and ESP32H2

See merge request espressif/esp-idf!28084
2023-12-25 18:31:20 +08:00
zhiweijian
dd6e1b76fc fix(ble/controller): Fixed BLE recorrect enable bug and fixed BLE bb isr enable by default 2023-12-25 16:21:47 +08:00
linruihao
ddab5dbaa4 fix(bt/controller): Fixed establish two sco connections failed 2023-12-25 10:42:36 +08:00
Jiang Jiang Jian
df8cc9ad37 Merge branch 'fix/btc_config_lock_error_v5.1' into 'release/v5.1'
fix(bt/bluedroid): fixed btc_config_lock error (backport v5.1)

See merge request espressif/esp-idf!28070
2023-12-25 10:18:26 +08:00
zhanghaipeng
6644bcc320 fix(bt/bluedroid): Fix BLE prepare write 2023-12-23 20:19:37 +08:00
Rahul Tank
0dc286db38 fix(nimble): Add VSC support for setting chan select algo 2023-12-22 18:31:52 +05:30
Rahul Tank
3629f070b6 Merge branch 'feature/hogp_example_support_v5.1' into 'release/v5.1'
feat(nimble): Added HID over Gatt Profile Support (v5.1)

See merge request espressif/esp-idf!28025
2023-12-22 20:52:17 +08:00
zwl
0fe3057529 fixed(ble): fixed an assertion issue when stopping periodic adv on ESP32C6 and ESP32H2 2023-12-22 15:35:28 +08:00
Island
6deb0ae743 Merge branch 'bugfix/ble_update_lib_20231219_v5.1' into 'release/v5.1'
update lib on release/v5.1

See merge request espressif/esp-idf!27999
2023-12-22 14:57:32 +08:00
Roshan Bangar
a95bf9e0c3 feat(nimble): added HID over Gatt profile support 2023-12-22 11:23:05 +05:30
Rahul Tank
04b6feb1ad Merge branch 'bugfix/handle_all_zero_bdaddr_v5.1' into 'release/v5.1'
fix(nimble): Handle all 0s address of external controllers during IRK generation (v5.1)

See merge request espressif/esp-idf!27960
2023-12-22 11:53:07 +08:00
gongyantao
83a99d954d fix(bt/bluedroid): fixed btc_config_lock error 2023-12-22 11:30:39 +08:00
Island
b34ab72832 Merge branch 'bugfix/BLEQABR23-811_v5.1' into 'release/v5.1'
bugfix(ble_mesh): Enable CONFIG_BT_NIMBLE_VS_SUPPORT when using the duplicate...(v5.1)

See merge request espressif/esp-idf!27568
2023-12-21 20:22:26 +08:00
Jiang Jiang Jian
925e3e2ed5 Merge branch 'fix/build_error_in_compiler_performance_mode_v5.1' into 'release/v5.1'
fix(bt/bluedroid): fixed build error when compiler in performace mode (backport v5.1)

See merge request espressif/esp-idf!27864
2023-12-21 11:30:38 +08:00
Jiang Jiang Jian
90435019a1 Merge branch 'bugfix/fix_memory_leak_in_c3_s3_controller_v5.1' into 'release/v5.1'
Fixed memory leak in ESP32C3 and ESP32S3 controller (Backport v5.1)

See merge request espressif/esp-idf!27892
2023-12-21 11:29:39 +08:00
luoxu
b37d4079ff bugfix(ble_mesh): Enable CONFIG_BT_NIMBLE_VS_SUPPORT when using the duplicate scan feature on the NimBLE host. 2023-12-20 11:18:36 +08:00
muhaidong
13094f2216 change(wifi): update esp_coexist_internal.h and esp_modem_wrapper.h 2023-12-19 19:15:49 +08:00
cjin
d5bfb9b326 change(ble): added ble cca en and thresh option 2023-12-19 14:34:44 +08:00
luomanruo
c67710bacf ble: support for selecting CSA#2 by menuconfig
ble(fix): fixed event receiving on host side without returning event buffer to pool
2023-12-19 14:20:19 +08:00
luomanruo
90497ae541 ble(update):
Update c2 lib to 7c6c9d53
Update h2 lib to 0ecb36f0
Update c6 lib to 0ecb36f0
2023-12-19 12:25:26 +08:00
Island
fae6ce0e7d Merge branch 'bugfix/ble_stack_disable_v5.1' into 'release/v5.1'
Bugfix/ble stack disable v5.1(backport v5.1)

See merge request espressif/esp-idf!27650
2023-12-19 12:00:04 +08:00
zhanghaipeng
103656e7a2 feat(bt/bluedroid): Support ble create sync report disable and filter duplicate 2023-12-18 11:51:29 +08:00
zhanghaipeng
e0a0ee9ae9 fix(bt/bluedroid): Fix bluedroid menuconfig 2023-12-18 11:51:29 +08:00
zhanghaipeng
8d78433dea fix(bt/bluedroid): Fix BLE SMP register log level 2023-12-18 11:51:29 +08:00
zhanghaipeng
55409e2395 fix(bt/bluedroid): Fix ble adv and scan status when deinit bluedroid 2023-12-18 11:47:50 +08:00
Rahul Tank
c0cfdd9c46 fix(nimble): Handle all 0s address of external controllers during IRK generation 2023-12-16 17:31:57 +05:30
Rahul Tank
3c49099503 fix(nimble): Added NULL peer addr check 2023-12-15 18:06:40 +05:30
Rahul Tank
8a6d244a21 Merge branch 'bugfix/fix_sm_inject_return_value_v5.1' into 'release/v5.1'
fix(nimble): Added change to return success for API execution (v5.1)

See merge request espressif/esp-idf!27727
2023-12-15 19:33:16 +08:00
Rahul Tank
820d4a92d2 Merge branch 'feature/current_time_service_v5.1' into 'release/v5.1'
feat(nimble): Added Example support for Current Time Service (v5.1)

See merge request espressif/esp-idf!27262
2023-12-15 13:18:24 +08:00
Rahul Tank
4c288321cb fix(nimble): Added change to return success for API execution 2023-12-14 20:57:30 +05:30
Roshan Bangar
e8503d6efe feat(nimble): Added example support for Current Time Service 2023-12-14 20:24:20 +05:30
zhanghaipeng
bd1dc8dfaf fix(bt/bluedroid): Fix ble gattc deregister 2023-12-14 17:53:22 +08:00
Darshan Dobariya
6bae5e5d6f fix(nimble): Fixed authcomplete failure caused by a mismatch in the c1 value (v5.1) 2023-12-14 14:13:45 +05:30
Abhinav Kudnar
eef85a92f4 fix(nimble): Handled the deletion of RPA mapping. 2023-12-14 09:41:07 +05:30
Rahul Tank
0eec2b50be Merge branch 'bugfix/add_legacy_adv_clear_vsc_v5.1' into 'release/v5.1'
fix(nimble): Add support for VSC to clear legacy adv memory (v5.1)

See merge request espressif/esp-idf!27471
2023-12-14 12:01:09 +08:00
linruihao
45e96ae1c3 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(9129dec) 2023-12-13 19:53:06 +08:00
Island
c6a9a06856 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!27695
2023-12-13 11:55:52 +08:00
gongyantao
407376b6e6 fix(bt/bluedroid): fixed build error when compiler in performace mode
Closes https://github.com/espressif/esp-idf/issues/12751
2023-12-12 19:04:27 +08:00
Rahul Tank
a0b2682e58 fix(nimble): Add support for VSC to clear legacy adv memory
Legacy adv does not have an API for clear adv memory in controller.
 Added VSC for same.
2023-12-12 07:49:18 +05:30
Jiang Jiang Jian
e91322891c Merge branch 'fix/esp32c6_sleep_pll_issue_v5.1' into 'release/v5.1'
fix(pm): add mac/bb power down/up prepare for fix esp32c6 pll issue (backport v5.1)

See merge request espressif/esp-idf!27339
2023-12-11 15:12:51 +08:00
Jiang Jiang Jian
cda441f47f Merge branch 'bugfix/cts_handle_invalid_year_val_v5.1' into 'release/v5.1'
fix(nimble): Handled invalid write on year value in Current Time Service (v5.1)

See merge request espressif/esp-idf!27462
2023-12-11 15:12:14 +08:00
Jiang Jiang Jian
8a47b0776b Merge branch 'feature/refactor_some_coexist_sections_v5.1' into 'release/v5.1'
Feature/refactor some coexist sections v5.1

See merge request espressif/esp-idf!27367
2023-12-11 14:50:43 +08:00
liuning
ae07349ec4 feat(coex): apply struct for coex version 2023-12-08 13:06:55 +00:00
chenjianhua
15c8d7f65f fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(65db61f)
- Fixed remove and clear white list
2023-12-08 19:54:51 +08:00
chenjianhua
5f2c8edd27 fix(bt): Update bt lib for ESP32(fa43201)
- Fixed assert for instant passed workaround
- Fixed scan evt timeout
- Fixed random address setting when scanning
2023-12-08 19:54:39 +08:00
shangke
4d6be44b25 fix(bt/controller): Fixed some HCI commands parameter 2023-12-08 19:54:39 +08:00
chenjianhua
4d546878b7 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(b8f0db9)
- Fixed assert when llcp instant passed
2023-12-08 19:54:39 +08:00
chenjianhua
b1421ac4af fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(70ab55f)
- Fixed assert for instant passed workaround
- Fixed add RPA to white list
- Fixed AES encryption for RPA resolution
2023-12-08 19:54:39 +08:00
chenjianhua
2dea0ef6ef fix(bt/bluedroid): Fixed add RPA to white list 2023-12-08 19:54:39 +08:00
luomanruo
3cdbb0406d ble(fix): Fixed crash issue when reset event queue 2023-12-08 17:21:19 +08:00
luomanruo
9b0e4ee24a ble(fix): clear event queue when init event queue
ble: update log module on ESP32C2, ESP32H2 and ESP32C6
2023-12-08 17:20:55 +08:00
luomanruo
4f27be7127 ble(update):
Update c2 lib to 47a787f0
Update h2 lib to 73452eac
Update c6 lib to 73452eac
2023-12-08 17:19:57 +08:00
xiaqilin
ef4f420663 fix(pm): add mac/bb power down/up prepare for fix esp32c6 pll issue
* switch root clk src to PLL for modem reg opt and added callback
* register power_down/power_up callback in ieee802154 driver for esp32c6
* remove software regdma opt in bt
2023-12-08 08:03:32 +00:00
Roshan Bangar
a496e87d73 fix(nimble): Handled invalid write on year value in Current Time Service 2023-12-06 18:03:59 +05:30
Island
fae44bf123 Merge branch 'bugfix/ble_update_lib_20231124_v5.1' into 'release/v5.1'
ble(update):Update c2 lib to 79ed4e8a,Update h2 lib to 9a237426,Update c6 lib to 9a237426

See merge request espressif/esp-idf!27393
2023-12-01 13:58:21 +08:00
Rahul Tank
d300f91b4e fix(nimble): Fix the parameters in duplicate exception list vsc command 2023-11-27 09:22:07 +05:30
Rahul Tank
40534e5ad6 fix(nimble): Fix dangling pointer error during compilation 2023-11-26 12:38:19 +05:30
luomanruo
8f37c22a0d ble: update sdkconfig_version on ESP32C2, ESP32H2 and ESP32C6 2023-11-24 20:19:50 +08:00
luomanruo
ff0106345f ble:
Update c2 lib to 79ed4e8a
Update h2 lib to 9a237426
Update c6 lib to 9a237426
2023-11-24 19:21:04 +08:00