nl:: Weave:: DeviceLayer:: ConnectivityManager
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/ConnectivityManager.h>
يوفر التحكم في اتصال الشبكة لجهاز Weave.
ملخّص
الاكتساب
الفئات الفرعية المعروفة المباشرة:nl::Weave::DeviceLayer::ConnectivityManagerImpl
nl::Weave::DeviceLayer::ConnectivityManagerImpl
nl::Weave::DeviceLayer::ConnectivityManagerImpl
الأنواع العامة |
|
---|---|
ServiceTunnelMode
|
تعداد |
ThreadDeviceType
|
تعداد |
ThreadMode
|
تعداد |
WiFiAPMode
|
تعداد |
WiFiStationMode
|
تعداد |
WoBLEServiceMode
|
تعداد |
صفوف الأصدقاء |
|
---|---|
Internal::GenericNetworkProvisioningServerImpl
|
friend class
|
Internal::GenericPlatformManagerImpl
|
friend class
|
Internal::GenericPlatformManagerImpl_FreeRTOS
|
friend class
|
Internal::NetworkProvisioningServerImpl
|
friend class
|
الدوال الثابتة العامة |
|
---|---|
ServiceTunnelModeToStr(ServiceTunnelMode mode)
|
const char *
|
WiFiAPModeToStr(WiFiAPMode mode)
|
const char *
|
WiFiStationModeToStr(WiFiStationMode mode)
|
const char *
|
WoBLEServiceModeToStr(WoBLEServiceMode mode)
|
const char *
|
الدوال المحمية |
|
---|---|
ConnectivityManager()=default
|
|
ConnectivityManager(const ConnectivityManager &)=delete
|
|
ConnectivityManager(const ConnectivityManager &&)=delete
|
|
operator=(const ConnectivityManager &)=delete
|
|
~ConnectivityManager()=default
|
|
بُنى |
|
---|---|
nl:: |
معلومات تصف السلوك المطلوب لاستطلاع Thread من أحد الأجهزة. |
الأنواع العامة
ServiceTunnelMode
ServiceTunnelMode
ThreadDeviceType
ThreadDeviceType
ThreadMode
ThreadMode
WiFiAPMode
WiFiAPMode
WiFiStationMode
WiFiStationMode
WoBLEServiceMode
WoBLEServiceMode
صفوف الأصدقاء
داخلي::GeneralNetwork جمهورingServerImpl
friend class Internal::GenericNetworkProvisioningServerImpl
داخلي::GeneralPlatformManagerImpl
friend class Internal::GenericPlatformManagerImpl
Internal::GenericPlatformManagerImpl_FreeRTOS
friend class Internal::GenericPlatformManagerImpl_FreeRTOS
داخلي::NetworkNetworkingServerImpl
friend class Internal::NetworkProvisioningServerImpl
وظائف عامة
ClearThreadProvision
void ClearThreadProvision( void )
ClearWiFiStationProvision
void ClearWiFiStationProvision( void )
DemandStartWiFiAP
void DemandStartWiFiAP( void )
GetAndLogWifiStatsCounters
WEAVE_ERROR GetAndLogWifiStatsCounters( void )
GetBLEDeviceName
WEAVE_ERROR GetBLEDeviceName( char *buf, size_t bufSize )
GetServiceTunnelMode
ServiceTunnelMode GetServiceTunnelMode( void )
GetThreadDeviceType
ThreadDeviceType GetThreadDeviceType( void )
GetThreadMode
ThreadMode GetThreadMode( void )
GetThreadPollingConfig
void GetThreadPollingConfig( ThreadPollingConfig & pollingConfig )
GetUserSelectedModeTimeout
uint16_t GetUserSelectedModeTimeout( void )
GetWiFiAPIdleTimeoutMS
uint32_t GetWiFiAPIdleTimeoutMS( void )
GetWiFiAPMode
WiFiAPMode GetWiFiAPMode( void )
GetWiFiStationMode
WiFiStationMode GetWiFiStationMode( void )
GetWiFiStationReconnectIntervalMS
uint32_t GetWiFiStationReconnectIntervalMS( void )
GetWoBLEServiceMode
WoBLEServiceMode GetWoBLEServiceMode( void )
HaveIPv4InternetConnectivity
bool HaveIPv4InternetConnectivity( void )
HaveIPv6InternetConnectivity
bool HaveIPv6InternetConnectivity( void )
HaveServiceConnectivity
bool HaveServiceConnectivity( void )
HaveServiceConnectivityViaThread
bool HaveServiceConnectivityViaThread( void )
HaveServiceConnectivityViaTunnel
bool HaveServiceConnectivityViaTunnel( void )
IsBLEAdvertising
bool IsBLEAdvertising( void )
IsBLEAdvertisingEnabled
bool IsBLEAdvertisingEnabled( void )
IsBLEFastAdvertisingEnabled
bool IsBLEFastAdvertisingEnabled( void )
IsServiceTunnelConnected
bool IsServiceTunnelConnected( void )
IsServiceTunnelRestricted
bool IsServiceTunnelRestricted( void )
IsThreadApplicationControlled
bool IsThreadApplicationControlled( void )
IsThreadAttached
bool IsThreadAttached( void )
IsThreadEnabled
bool IsThreadEnabled( void )
IsThreadProvisioned
bool IsThreadProvisioned( void )
IsUserSelectedModeActive
bool IsUserSelectedModeActive( 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 )
NumBLEConnections
uint16_t NumBLEConnections( void )
SetBLEAdvertisingEnabled
WEAVE_ERROR SetBLEAdvertisingEnabled( bool val )
SetBLEDeviceName
WEAVE_ERROR SetBLEDeviceName( const char *deviceName )
SetBLEFastAdvertisingEnabled
WEAVE_ERROR SetBLEFastAdvertisingEnabled( bool val )
SetServiceTunnelMode
WEAVE_ERROR SetServiceTunnelMode( ServiceTunnelMode val )
SetThreadDeviceType
WEAVE_ERROR SetThreadDeviceType( ThreadDeviceType deviceType )
SetThreadMode
WEAVE_ERROR SetThreadMode( ThreadMode val )
SetThreadPollingConfig
WEAVE_ERROR SetThreadPollingConfig( const ThreadPollingConfig & pollingConfig )
SetUserSelectedMode
void SetUserSelectedMode( bool val )
SetUserSelectedModeTimeout
void SetUserSelectedModeTimeout( uint16_t val )
SetWiFiAPIdleTimeoutMS
void SetWiFiAPIdleTimeoutMS( uint32_t val )
SetWiFiAPMode
WEAVE_ERROR SetWiFiAPMode( WiFiAPMode val )
SetWiFiStationMode
WEAVE_ERROR SetWiFiStationMode( WiFiStationMode val )
SetWiFiStationReconnectIntervalMS
WEAVE_ERROR SetWiFiStationReconnectIntervalMS( uint32_t val )
SetWoBLEServiceMode
WEAVE_ERROR SetWoBLEServiceMode( WoBLEServiceMode val )
StopOnDemandWiFiAP
void StopOnDemandWiFiAP( void )
الدوال الثابتة العامة
ServiceTunnelModeToStr
const char * ServiceTunnelModeToStr( ServiceTunnelMode mode )
WiFiAPModeToStr
const char * WiFiAPModeToStr( WiFiAPMode mode )
WiFiStationModeToStr
const char * WiFiStationModeToStr( WiFiStationMode mode )
WoBLEServiceModeToStr
const char * WoBLEServiceModeToStr( WoBLEServiceMode mode )
الدوال المحمية
ConnectivityManager
ConnectivityManager()=default
ConnectivityManager
ConnectivityManager( const ConnectivityManager & )=delete
ConnectivityManager
ConnectivityManager( const ConnectivityManager && )=delete
operator=
ConnectivityManager & operator=( const ConnectivityManager & )=delete
~مدير الاتصال
~ConnectivityManager()=default