Skip to content

Commit 6ee1756

Browse files
Chin-Ran LoMartin-NXP
Chin-Ran Lo
authored andcommitted
[NXP][platform][common] Add the _SetPollingInterval for Wi-Fi SIT ICDM function
Signed-off-by: Chin-Ran Lo <nxf57500@lsv051039.swis.nl-cdc01.nxp.com>
1 parent cb28876 commit 6ee1756

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

src/platform/nxp/common/ConnectivityManagerImpl.cpp

+10
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,16 @@ CHIP_ERROR ConnectivityManagerImpl::_DisconnectNetwork(void)
618618

619619
return err;
620620
}
621+
622+
#if CHIP_CONFIG_ENABLE_ICD_SERVER
623+
CHIP_ERROR ConnectivityManagerImpl::_SetPollingInterval(System::Clock::Milliseconds32 pollingInterval)
624+
{
625+
/*
626+
* ToDo: Call API to put device into sleep
627+
*/
628+
return CHIP_NO_ERROR;
629+
}
630+
#endif // CHIP_CONFIG_ENABLE_ICD_SERVER
621631
#endif
622632

623633
} // namespace DeviceLayer

src/platform/nxp/common/ConnectivityManagerImpl.h

+3
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ class ConnectivityManagerImpl final : public ConnectivityManager,
8787

8888
#if CHIP_DEVICE_CONFIG_ENABLE_WPA
8989
void StartWiFiManagement();
90+
#if CHIP_CONFIG_ENABLE_ICD_SERVER
91+
CHIP_ERROR _SetPollingInterval(System::Clock::Milliseconds32 pollingInterval);
92+
#endif // CHIP_CONFIG_ENABLE_ICD_SERVER
9093
#if CHIP_ENABLE_OPENTHREAD
9194
Inet::InterfaceId GetExternalInterface();
9295
Inet::InterfaceId GetThreadInterface();

0 commit comments

Comments
 (0)