Skip to content

Commit

Permalink
[Telink] Power down mode using ICD (#29287)
Browse files Browse the repository at this point in the history
  • Loading branch information
andriy-bilynskyy authored and pull[bot] committed Sep 27, 2023
1 parent eba5acd commit 38bff47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/telink/chip-module/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ matter_add_gn_arg_bool ("chip_error_logging" CONFIG_MATTER_
matter_add_gn_arg_bool ("chip_progress_logging" CONFIG_MATTER_LOG_LEVEL GREATER_EQUAL 3)
matter_add_gn_arg_bool ("chip_detail_logging" CONFIG_MATTER_LOG_LEVEL GREATER_EQUAL 4)
matter_add_gn_arg_bool ("chip_automation_logging" FALSE)
matter_add_gn_arg_bool ("chip_enable_icd_server" CONFIG_CHIP_ENABLE_ICD_SUPPORT)

if (CONFIG_CHIP_FACTORY_DATA)
matter_add_gn_arg_bool ("chip_use_transitional_commissionable_data_provider" "false")
Expand Down
2 changes: 1 addition & 1 deletion examples/platform/telink/common/src/mainCommon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ int main(void)
goto exit;
}

#ifdef CONFIG_OPENTHREAD_MTD_SED
#ifdef CONFIG_CHIP_ENABLE_ICD_SUPPORT
err = ConnectivityMgr().SetThreadDeviceType(ConnectivityManager::kThreadDeviceType_SleepyEndDevice);
#elif CONFIG_OPENTHREAD_MTD
err = ConnectivityMgr().SetThreadDeviceType(ConnectivityManager::kThreadDeviceType_MinimalEndDevice);
Expand Down

0 comments on commit 38bff47

Please sign in to comment.