nl:: Weave:: DeviceLayer:: Internal:: GenericConnectivityManagerImpl_NoWiFi
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConnectivityManagerImpl_NoWiFi.h>
Wi-Fi를 지원하지 않는 플랫폼에 Wi-Fi 관련 ConnectivityManager 기능의 일반적인 구현을 제공합니다.
요약
이 클래스는 템플릿의 ImplClass 매개변수로도 표시되는 ConnectivityManagerImpl 클래스에 의해 직접 또는 간접적으로 상속되도록 되어 있습니다.
이 클래스의 멤버는 모두 인라인 메서드이며 아무것도 하지 않고 정적 반환 값을 반환합니다. 이렇게 하면 컴파일러가 #ifdef를 사용하지 않고 데드 코드를 최적화할 수 있습니다. 예를 들면 다음과 같습니다.
``` if (ConnectivityMgr().GetWiFiStationMode() != ConnectivityManager::kWiFiStationMode_NotSupported) { // ... do something on devices that support WiFi ... } ```
공개 함수 |
|
---|---|
_CanStartWiFiScan()
|
bool
|
_ClearWiFiStationProvision(void)
|
void
|
_DemandStartWiFiAP(void)
|
void
|
_GetAndLogWifiStatsCounters(void)
|
|
_GetWiFiAPIdleTimeoutMS(void)
|
uint32_t
|
_GetWiFiAPMode(void)
|
ConnectivityManager::WiFiAPMode
|
_GetWiFiStationMode(void)
|
ConnectivityManager::WiFiStationMode
|
_GetWiFiStationReconnectIntervalMS(void)
|
uint32_t
|
_IsWiFiAPActive(void)
|
bool
|
_IsWiFiAPApplicationControlled(void)
|
bool
|
_IsWiFiStationApplicationControlled(void)
|
bool
|
_IsWiFiStationConnected(void)
|
bool
|
_IsWiFiStationEnabled(void)
|
bool
|
_IsWiFiStationProvisioned(void)
|
bool
|
_MaintainOnDemandWiFiAP(void)
|
void
|
_OnWiFiScanDone()
|
void
|
_OnWiFiStationProvisionChange()
|
void
|
_SetWiFiAPIdleTimeoutMS(uint32_t val)
|
void
|
_SetWiFiAPMode(ConnectivityManager::WiFiAPMode val)
|
|
_SetWiFiStationMode(ConnectivityManager::WiFiStationMode val)
|
|
_SetWiFiStationReconnectIntervalMS(uint32_t val)
|
|
_StopOnDemandWiFiAP(void)
|
void
|
공개 정적 함수 |
|
---|---|
_WiFiAPModeToStr(ConnectivityManager::WiFiAPMode mode)
|
const char *
|
_WiFiStationModeToStr(ConnectivityManager::WiFiStationMode mode)
|
const char *
|
공개 함수
_CanStartWiFiScan
bool _CanStartWiFiScan()
_ClearWiFiStationProvision
void _ClearWiFiStationProvision( void )
_DemandStartWiFiAP
void _DemandStartWiFiAP( void )
_GetAndLogWifiStatsCounters
WEAVE_ERROR _GetAndLogWifiStatsCounters( void )
_GetWiFiAPIdleTimeoutMS
uint32_t _GetWiFiAPIdleTimeoutMS( void )
_GetWiFiAPMode
ConnectivityManager::WiFiAPMode _GetWiFiAPMode( void )
_GetWiFiStationMode
ConnectivityManager::WiFiStationMode _GetWiFiStationMode( void )
_GetWiFiStationReconnectIntervalMS
uint32_t _GetWiFiStationReconnectIntervalMS( void )
_IsWiFiAPActive
bool _IsWiFiAPActive( void )
_IsWiFiAPApplicationControlled
bool _IsWiFiAPApplicationControlled( void )
_IsWiFiStationApplicationControlled
bool _IsWiFiStationApplicationControlled( void )
_IsWiFiStationConnected
bool _IsWiFiStationConnected( void )
_IsWiFiStationEnabled
bool _IsWiFiStationEnabled( void )
_IsWiFiStationProvisioned
bool _IsWiFiStationProvisioned( void )
_MaintainOnDemandWiFiAP
void _MaintainOnDemandWiFiAP( void )
_OnWiFiScanDone
void _OnWiFiScanDone()
_OnWiFiStationProvisionChange
void _OnWiFiStationProvisionChange()
_SetWiFiAPIdleTimeoutMS
void _SetWiFiAPIdleTimeoutMS( uint32_t val )
_SetWiFiAPMode
WEAVE_ERROR _SetWiFiAPMode( ConnectivityManager::WiFiAPMode val )
_SetWiFiStationMode
WEAVE_ERROR _SetWiFiStationMode( ConnectivityManager::WiFiStationMode val )
_SetWiFiStationReconnectIntervalMS
WEAVE_ERROR _SetWiFiStationReconnectIntervalMS( uint32_t val )
_StopOnDemandWiFiAP
void _StopOnDemandWiFiAP( void )
공개 정적 함수
_WiFiAPModeToStr
const char * _WiFiAPModeToStr( ConnectivityManager::WiFiAPMode mode )
_WiFiStationModeToStr
const char * _WiFiStationModeToStr( ConnectivityManager::WiFiStationMode mode )