nl::Ağ::Cihaz Katmanı::Bağlantı Yöneticisi

#include <src/adaptations/device-layer/include/Weave/DeviceLayer/ConnectivityManager.h>

Weave cihazlar için ağ bağlantısının kontrolünü sağlar.

Özet

Devralma

Doğrudan Bilinen Alt Sınıflar:
nl::Weave::DeviceLayer::ConnectivityManagerImpl
nl::Weave::DeviceLayer::ConnectivityManagerImpl
nl::Weave:DeviceLayer::ConnectivityManagerImpl

Herkese açık türler

ServiceTunnelMode enum
ThreadDeviceType enum
ThreadMode enum
WiFiAPMode enum
WiFiStationMode enum
WoBLEServiceMode enum

Arkadaşlık dersleri

Internal::GenericNetworkProvisioningServerImpl
friend class
Internal::GenericPlatformManagerImpl
friend class
Internal::GenericPlatformManagerImpl_FreeRTOS
friend class
Internal::NetworkProvisioningServerImpl
friend class

Herkese açık işlevler

ClearThreadProvision(void)
void
ClearWiFiStationProvision(void)
void
DemandStartWiFiAP(void)
void
GetAndLogWifiStatsCounters(void)
GetBLEDeviceName(char *buf, size_t bufSize)
GetServiceTunnelMode(void)
ServiceTunnelMode
GetThreadDeviceType(void)
ThreadDeviceType
GetThreadMode(void)
ThreadMode
GetThreadPollingConfig(ThreadPollingConfig & pollingConfig)
void
GetUserSelectedModeTimeout(void)
uint16_t
GetWiFiAPIdleTimeoutMS(void)
uint32_t
GetWiFiAPMode(void)
WiFiAPMode
GetWiFiStationMode(void)
WiFiStationMode
GetWiFiStationReconnectIntervalMS(void)
uint32_t
GetWoBLEServiceMode(void)
WoBLEServiceMode
HaveIPv4InternetConnectivity(void)
bool
HaveIPv6InternetConnectivity(void)
bool
HaveServiceConnectivity(void)
bool
HaveServiceConnectivityViaThread(void)
bool
HaveServiceConnectivityViaTunnel(void)
bool
IsBLEAdvertising(void)
bool
IsBLEAdvertisingEnabled(void)
bool
IsBLEFastAdvertisingEnabled(void)
bool
IsServiceTunnelConnected(void)
bool
IsServiceTunnelRestricted(void)
bool
IsThreadApplicationControlled(void)
bool
IsThreadAttached(void)
bool
IsThreadEnabled(void)
bool
IsThreadProvisioned(void)
bool
IsUserSelectedModeActive(void)
bool
IsWiFiAPActive(void)
bool
IsWiFiAPApplicationControlled(void)
bool
IsWiFiStationApplicationControlled(void)
bool
IsWiFiStationConnected(void)
bool
IsWiFiStationEnabled(void)
bool
IsWiFiStationProvisioned(void)
bool
MaintainOnDemandWiFiAP(void)
void
NumBLEConnections(void)
uint16_t
SetBLEAdvertisingEnabled(bool val)
SetBLEDeviceName(const char *deviceName)
SetBLEFastAdvertisingEnabled(bool val)
SetServiceTunnelMode(ServiceTunnelMode val)
SetThreadDeviceType(ThreadDeviceType deviceType)
SetThreadMode(ThreadMode val)
SetThreadPollingConfig(const ThreadPollingConfig & pollingConfig)
SetUserSelectedMode(bool val)
void
SetUserSelectedModeTimeout(uint16_t val)
void
SetWiFiAPIdleTimeoutMS(uint32_t val)
void
SetWiFiAPMode(WiFiAPMode val)
SetWiFiStationMode(WiFiStationMode val)
SetWiFiStationReconnectIntervalMS(uint32_t val)
SetWoBLEServiceMode(WoBLEServiceMode val)
StopOnDemandWiFiAP(void)
void

Herkese açık statik işlevler

ServiceTunnelModeToStr(ServiceTunnelMode mode)
const char *
WiFiAPModeToStr(WiFiAPMode mode)
const char *
WiFiStationModeToStr(WiFiStationMode mode)
const char *
WoBLEServiceModeToStr(WoBLEServiceMode mode)
const char *

Korumalı işlevler

ConnectivityManager()=default
ConnectivityManager(const ConnectivityManager &)=delete
ConnectivityManager(const ConnectivityManager &&)=delete
operator=(const ConnectivityManager &)=delete
~ConnectivityManager()=default

Struct

nl::Weave::DeviceLayer::ConnectivityManager::ThreadPollingConfig

Bir cihazın istenen İleti Dizisi anket davranışını açıklayan bilgiler.

Herkese açık türler

HizmetTünel Modu

 ServiceTunnelMode

ThreadDeviceType

 ThreadDeviceType

Mesaj Dizisi Modu

 ThreadMode

WiFiAPMode

 WiFiAPMode

Kablosuz Mod

 WiFiStationMode

WoBLEServiceModu

 WoBLEServiceMode

Arkadaşlık dersleri

Dahili::GenericNetworkProvisioningServerImpl

friend class Internal::GenericNetworkProvisioningServerImpl

Dahili::GenericPlatformManagerImpl

friend class Internal::GenericPlatformManagerImpl

Dahili::GenericPlatformManagerImpl_FreeRTOS

friend class Internal::GenericPlatformManagerImpl_FreeRTOS

Dahili::NetworkProvisioningServerImpl

friend class Internal::NetworkProvisioningServerImpl

Herkese açık işlevler

ClearThreadProvision

void ClearThreadProvision(
  void
)

ClearWiFiStation Temel Hazırlığı

void ClearWiFiStationProvision(
  void
)

DemandStartWiFiAP

void DemandStartWiFiAP(
  void
)

GetAndLogWifiStatsSayaçlar

WEAVE_ERROR GetAndLogWifiStatsCounters(
  void
)

GetBLEDeviceName

WEAVE_ERROR GetBLEDeviceName(
  char *buf,
  size_t bufSize
)

GetServiceTunnelMode özelliği

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
)

GetWiFiStationModu

WiFiStationMode GetWiFiStationMode(
  void
)

GetWiFiStationReconnectIntervalMS Alma

uint32_t GetWiFiStationReconnectIntervalMS(
  void
)

GetWoBLEServiceMode

WoBLEServiceMode GetWoBLEServiceMode(
  void
)

HaveIPv4InternetConnectability

bool HaveIPv4InternetConnectivity(
  void
)

HaveIPv6InternetConnectability

bool HaveIPv6InternetConnectivity(
  void
)

Sahip Olunan Hizmet Bağlantısı

bool HaveServiceConnectivity(
  void
)

sahip olunan hizmet bağlantısı ViaThread

bool HaveServiceConnectivityViaThread(
  void
)

sahip olunan hizmet bağlantısıViaTunnel

bool HaveServiceConnectivityViaTunnel(
  void
)

IsBLEReklamcılık

bool IsBLEAdvertising(
  void
)

IsBLEAdvertisingEnabled

bool IsBLEAdvertisingEnabled(
  void
)

IsBLEFastReklamcılık Etkin

bool IsBLEFastAdvertisingEnabled(
  void
)

IsServiceTunnelConnected

bool IsServiceTunnelConnected(
  void
)

IsServiceTunnelKısıtlı

bool IsServiceTunnelRestricted(
  void
)

IsThreadApplicationControlled özelliği

bool IsThreadApplicationControlled(
  void
)

İş Parçacıklı

bool IsThreadAttached(
  void
)

IsThreadEnabled

bool IsThreadEnabled(
  void
)

İş Parçası Temel Hazırlığı

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
)

Wi-FiStation Temel Hazırlığı Yapıldı

bool IsWiFiStationProvisioned(
  void
)

OnOnRequestWiFiAP

void MaintainOnDemandWiFiAP(
  void
)

Numaralar

uint16_t NumBLEConnections(
  void
)

SetBLEAdvertisingEnabled

WEAVE_ERROR SetBLEAdvertisingEnabled(
  bool val
)

SetBLECihazAdı

WEAVE_ERROR SetBLEDeviceName(
  const char *deviceName
)

SetBLEFastAdvertisingEnabled

WEAVE_ERROR SetBLEFastAdvertisingEnabled(
  bool val
)

SetServiceTunnelMode (HizmetTunnelMode)

WEAVE_ERROR SetServiceTunnelMode(
  ServiceTunnelMode val
)

SetThreadDeviceType

WEAVE_ERROR SetThreadDeviceType(
  ThreadDeviceType deviceType
)

Ayarlanan Dişli Modu

WEAVE_ERROR SetThreadMode(
  ThreadMode val
)

SetThreadPollingConfig

WEAVE_ERROR SetThreadPollingConfig(
  const ThreadPollingConfig & pollingConfig
)

SetUserSelectedMode:

void SetUserSelectedMode(
  bool val
)

SetUserSelectedModeTimeout

void SetUserSelectedModeTimeout(
  uint16_t val
)

WiFiAPIdleTimeoutTimeout ayarlayın

void SetWiFiAPIdleTimeoutMS(
  uint32_t val
)

WiFiFiAPMode Modu

WEAVE_ERROR SetWiFiAPMode(
  WiFiAPMode val
)

Wi-FiStationMode Ayarla

WEAVE_ERROR SetWiFiStationMode(
  WiFiStationMode val
)

SetWiFiStationReconnectIntervalMS kullanımı

WEAVE_ERROR SetWiFiStationReconnectIntervalMS(
  uint32_t val
)

SetWoBLEServiceModu

WEAVE_ERROR SetWoBLEServiceMode(
  WoBLEServiceMode val
)

StopOnDemandWiFiAP

void StopOnDemandWiFiAP(
  void
)

Herkese açık statik işlevler

HizmetTunnelModeToStr

const char * ServiceTunnelModeToStr(
  ServiceTunnelMode mode
)

Kablosuz APModeToStr

const char * WiFiAPModeToStr(
  WiFiAPMode mode
)

KablosuzSModModeToStr

const char * WiFiStationModeToStr(
  WiFiStationMode mode
)

WoBLEServiceModeToStrek

const char * WoBLEServiceModeToStr(
  WoBLEServiceMode mode
)

Korumalı işlevler

Bağlantı Yöneticisi

 ConnectivityManager()=default

Bağlantı Yöneticisi

 ConnectivityManager(
  const ConnectivityManager &
)=delete

Bağlantı Yöneticisi

 ConnectivityManager(
  const ConnectivityManager &&
)=delete

operatör=

ConnectivityManager & operator=(
  const ConnectivityManager &
)=delete

~BağlantıYöneticisi

 ~ConnectivityManager()=default