Skip to content

Commit

Permalink
[NXP][platform][common] Add the _SetPollingInterval for Wi-Fi SIT ICD…
Browse files Browse the repository at this point in the history
…M function

Signed-off-by: Chin-Ran Lo <[email protected]>
  • Loading branch information
Chin-Ran Lo authored and Martin-NXP committed Jun 12, 2024
1 parent cb28876 commit 6ee1756
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/platform/nxp/common/ConnectivityManagerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,16 @@ CHIP_ERROR ConnectivityManagerImpl::_DisconnectNetwork(void)

return err;
}

#if CHIP_CONFIG_ENABLE_ICD_SERVER
CHIP_ERROR ConnectivityManagerImpl::_SetPollingInterval(System::Clock::Milliseconds32 pollingInterval)
{
/*
* ToDo: Call API to put device into sleep
*/
return CHIP_NO_ERROR;
}
#endif // CHIP_CONFIG_ENABLE_ICD_SERVER
#endif

} // namespace DeviceLayer
Expand Down
3 changes: 3 additions & 0 deletions src/platform/nxp/common/ConnectivityManagerImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ class ConnectivityManagerImpl final : public ConnectivityManager,

#if CHIP_DEVICE_CONFIG_ENABLE_WPA
void StartWiFiManagement();
#if CHIP_CONFIG_ENABLE_ICD_SERVER
CHIP_ERROR _SetPollingInterval(System::Clock::Milliseconds32 pollingInterval);
#endif // CHIP_CONFIG_ENABLE_ICD_SERVER
#if CHIP_ENABLE_OPENTHREAD
Inet::InterfaceId GetExternalInterface();
Inet::InterfaceId GetThreadInterface();
Expand Down

0 comments on commit 6ee1756

Please sign in to comment.