En Google, luchamos por la equidad racial de la comunidad negra. Más información
Organiza tus páginas con colecciones Guarda y categoriza el contenido según tus preferencias.

nl::Weave::DeviceLayer::ConnectivityManager

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

Proporciona control de la conectividad de red para un dispositivo de Weave.

Resumen

Herencia

Subclases conocidas directas:
nl::Weave::DeviceLayer::ConnectivityManagerImpl
nl::Weave::DeviceLayer::ConnectivityManagerImpl
nl::Weave::DeviceLayer::ConnectivityManagerImpl

Tipos públicos

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

Clases de amistad

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

Funciones públicas

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

Funciones estáticas públicas

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

Funciones protegidas

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

Structs

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

Información que describe el comportamiento deseado de sondeo de subprocesos de un dispositivo.

Tipos públicos

Modo de túnel de servicio

 ServiceTunnelMode

TipoDeThreadThread

 ThreadDeviceType

Modo de subproceso

 ThreadMode

Modo de Wi-Fi

 WiFiAPMode

Modo de Wi-Fi

 WiFiStationMode

ModoDeServicioDeWoble

 WoBLEServiceMode

Clases de amistad

Interno::GenericNetworkProvisioningServerImpl

friend class Internal::GenericNetworkProvisioningServerImpl

Internal::GenericPlatformManagerImpl

friend class Internal::GenericPlatformManagerImpl

Internal::GenericPlatformManagerImpl_FreeRTOS

friend class Internal::GenericPlatformManagerImpl_FreeRTOS

Interno::NetworkProvisioningServerImpl

friend class Internal::NetworkProvisioningServerImpl

Funciones públicas

ClearThreadAprovisiona

void ClearThreadProvision(
  void
)

ClearWiFiStationprovision

void ClearWiFiStationProvision(
  void
)

DemandStartWiFiAP

void DemandStartWiFiAP(
  void
)

GetAndLogWifiStatsCounters

WEAVE_ERROR GetAndLogWifiStatsCounters(
  void
)

Nombre del dispositivo GetBLE

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
)

Modo de Wi-FiStation

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
)

IsServiceTunnel conectado

bool IsServiceTunnelConnected(
  void
)

IsServiceTunnelRestricted

bool IsServiceTunnelRestricted(
  void
)

IsThreadApplicationControlled

bool IsThreadApplicationControlled(
  void
)

IsThreadAttached

bool IsThreadAttached(
  void
)

IsThreadEnabled.

bool IsThreadEnabled(
  void
)

IsThreadProvisioninged

bool IsThreadProvisioned(
  void
)

IsUserSelectedModeActive.

bool IsUserSelectedModeActive(
  void
)

El Wi-FiAPActive

bool IsWiFiAPActive(
  void
)

IsWiFiAPApplicationControled

bool IsWiFiAPApplicationControlled(
  void
)

IsWiFiStationApplicationControlled

bool IsWiFiStationApplicationControlled(
  void
)

¿Está conectado a Wi-FiStation?

bool IsWiFiStationConnected(
  void
)

IsWiFiStationEnabled

bool IsWiFiStationEnabled(
  void
)

¿Se brindó Wi-FiStation?

bool IsWiFiStationProvisioned(
  void
)

KeepOnDemandWiFiAP

void MaintainOnDemandWiFiAP(
  void
)

NumBLEConnections

uint16_t NumBLEConnections(
  void
)

SetBLEAdvertisingEnabled

WEAVE_ERROR SetBLEAdvertisingEnabled(
  bool val
)

NombrededispositivoBLE

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
)

Modo de Wi-Fi configurado

WEAVE_ERROR SetWiFiAPMode(
  WiFiAPMode val
)

Modo de Wi-FiStation

WEAVE_ERROR SetWiFiStationMode(
  WiFiStationMode val
)

SetWiFiStationReconnectIntervalMS

WEAVE_ERROR SetWiFiStationReconnectIntervalMS(
  uint32_t val
)

SetWoBLEServiceMode

WEAVE_ERROR SetWoBLEServiceMode(
  WoBLEServiceMode val
)

StopOnDemandWiFiAP

void StopOnDemandWiFiAP(
  void
)

Funciones estáticas públicas

ServiceTúnelModoToStr

const char * ServiceTunnelModeToStr(
  ServiceTunnelMode mode
)

ModoWi-FiToToStr

const char * WiFiAPModeToStr(
  WiFiAPMode mode
)

Wi-FiStationModeToStr

const char * WiFiStationModeToStr(
  WiFiStationMode mode
)

WoBLEServiceModeToStr

const char * WoBLEServiceModeToStr(
  WoBLEServiceMode mode
)

Funciones protegidas

Administrador de conectividad

 ConnectivityManager()=default

Administrador de conectividad

 ConnectivityManager(
  const ConnectivityManager &
)=delete

Administrador de conectividad

 ConnectivityManager(
  const ConnectivityManager &&
)=delete

operador=

ConnectivityManager & operator=(
  const ConnectivityManager &
)=delete

~ConnectivityManager

 ~ConnectivityManager()=default