Google cam kết thúc đẩy công bằng chủng tộc cho Cộng đồng người da đen. Xem cách thực hiện.
Trang này được dịch bởi Cloud Translation API.
Switch to English

nl :: Dệt :: DeviceLayer :: ConnectivityManager

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

Cung cấp khả năng kiểm soát kết nối mạng cho thiết bị Weave.

Tóm lược

Di sản

Các lớp con đã biết trực tiếp:
  nl :: Weave :: DeviceLayer :: ConnectivityManagerImpl
  nl :: Weave :: DeviceLayer :: ConnectivityManagerImpl
  nl :: Weave :: DeviceLayer :: ConnectivityManagerImpl

Các loại công khai

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

Lớp học bạn bè

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

Chức năng công cộng

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

Chức năng tĩnh công khai

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

Các chức năng được bảo vệ

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

Cấu trúc

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

Thông tin mô tả hành vi thăm dò Chủ đề mong muốn của một thiết bị.

Các loại công khai

ServiceTunnelMode

 ServiceTunnelMode

ThreadDeviceType

 ThreadDeviceType

ThreadMode

 ThreadMode

WiFiAPMode

 WiFiAPMode

WiFiStationMode

 WiFiStationMode

WoBLEServiceMode

 WoBLEServiceMode

Lớp học bạn bè

Internal :: GenericNetworkProvisratingServerImpl

friend class Internal::GenericNetworkProvisioningServerImpl

Nội bộ :: GenericPlatformManagerImpl

friend class Internal::GenericPlatformManagerImpl

Nội bộ :: GenericPlatformManagerImpl_FreeRTOS

friend class Internal::GenericPlatformManagerImpl_FreeRTOS

Internal :: NetworkProvisinstallServerImpl

friend class Internal::NetworkProvisioningServerImpl

Chức năng công cộng

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
)

IsThreadProvisoned

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
)

IsWiFiStationProvisoned

bool IsWiFiStationProvisioned(
  void
)

Duy trìOnDemandWiFiAP

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
)

Chức năng tĩnh công khai

ServiceTunnelModeToStr

const char * ServiceTunnelModeToStr(
  ServiceTunnelMode mode
)

WiFiAPModeToStr

const char * WiFiAPModeToStr(
  WiFiAPMode mode
)

WiFiStationModeToStr

const char * WiFiStationModeToStr(
  WiFiStationMode mode
)

WoBLEServiceModeToStr

const char * WoBLEServiceModeToStr(
  WoBLEServiceMode mode
)

Các chức năng được bảo vệ

ConnectivityManager

 ConnectivityManager()=default

ConnectivityManager

 ConnectivityManager(
  const ConnectivityManager &
)=delete

ConnectivityManager

 ConnectivityManager(
  const ConnectivityManager &&
)=delete

toán tử =

ConnectivityManager & operator=(
  const ConnectivityManager &
)=delete

~ ConnectivityManager

 ~ConnectivityManager()=default