透過集合功能整理內容 你可以依據偏好儲存及分類內容。

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

公開函式

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

公開的靜態函式

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::Weave::DeviceLayer::ConnectivityManager::ThreadPollingConfig

說明裝置所需執行緒輪詢行為的資訊。

公開類型

ServiceTunnelMode

 ServiceTunnelMode

ThreadDeviceType

 ThreadDeviceType

ThreadMode

 ThreadMode

WiFiAP 模式

 WiFiAPMode

WiFiStationMode

 WiFiStationMode

WoBLEServiceMode

 WoBLEServiceMode

好友課程

內部::一般網路帳戶管理伺服器

friend class Internal::GenericNetworkProvisioningServerImpl

內部::一般平台管理員

friend class Internal::GenericPlatformManagerImpl

內部::GenericPlatformManagerImpl_FreeRTOS

friend class Internal::GenericPlatformManagerImpl_FreeRTOS

內部::Network 帳戶管理 ServerImpl

friend class Internal::NetworkProvisioningServerImpl

公開函式

清除執行緒佈建

void ClearThreadProvision(
  void
)

ClearWiFiStation 佈建

void ClearWiFiStationProvision(
  void
)

需求起始 WiFiAP

void DemandStartWiFiAP(
  void
)

GetAndLogWifiStatsCounter

WEAVE_ERROR GetAndLogWifiStatsCounters(
  void
)

GetBLEDeviceName

WEAVE_ERROR GetBLEDeviceName(
  char *buf,
  size_t bufSize
)

GetServiceTunnelMode

ServiceTunnelMode GetServiceTunnelMode(
  void
)

取得執行緒類型

ThreadDeviceType GetThreadDeviceType(
  void
)

取得執行緒模式

ThreadMode GetThreadMode(
  void
)

取得執行緒執行緒

void GetThreadPollingConfig(
  ThreadPollingConfig & pollingConfig
)

取得使用者所選模式逾時

uint16_t GetUserSelectedModeTimeout(
  void
)

取得 WiFiAPIdleTimeoutMS

uint32_t GetWiFiAPIdleTimeoutMS(
  void
)

取得 WiFiAPMode

WiFiAPMode GetWiFiAPMode(
  void
)

取得 WiFi 網路模式

WiFiStationMode GetWiFiStationMode(
  void
)

取得 WiFiStationReconnectIntervalMS

uint32_t GetWiFiStationReconnectIntervalMS(
  void
)

GetWoBLEServiceMode

WoBLEServiceMode GetWoBLEServiceMode(
  void
)

具備 IPv4InternetConnectivity

bool HaveIPv4InternetConnectivity(
  void
)

具備 IPv6InternetConnectivity

bool HaveIPv6InternetConnectivity(
  void
)

具有服務連線

bool HaveServiceConnectivity(
  void
)

具有服務連線 ViaThread

bool HaveServiceConnectivityViaThread(
  void
)

具有服務連線 ViaTunnel

bool HaveServiceConnectivityViaTunnel(
  void
)

IsBLEAdvertising

bool IsBLEAdvertising(
  void
)

已啟用廣告功能

bool IsBLEAdvertisingEnabled(
  void
)

IsBLEFastAdvertisingEnabled

bool IsBLEFastAdvertisingEnabled(
  void
)

IsServiceTunnel 已連線

bool IsServiceTunnelConnected(
  void
)

是否設有服務限制

bool IsServiceTunnelRestricted(
  void
)

執行緒控制

bool IsThreadApplicationControlled(
  void
)

執行緒已附加

bool IsThreadAttached(
  void
)

已啟用執行緒

bool IsThreadEnabled(
  void
)

執行緒已佈建

bool IsThreadProvisioned(
  void
)

是使用者選取模式的運作中

bool IsUserSelectedModeActive(
  void
)

是 WiFi

bool IsWiFiAPActive(
  void
)

是否由 WiFiAPApplicationControlled

bool IsWiFiAPApplicationControlled(
  void
)

是否由 WiFiStationApplicationControlled

bool IsWiFiStationApplicationControlled(
  void
)

已連上 WiFiStation

bool IsWiFiStationConnected(
  void
)

支援 WiFiStation

bool IsWiFiStationEnabled(
  void
)

已佈建 WiWiFiStation

bool IsWiFiStationProvisioned(
  void
)

維護 OnDemandWiFiAP

void MaintainOnDemandWiFiAP(
  void
)

NumBLEConnections

uint16_t NumBLEConnections(
  void
)

SetBLEAdvertisingEnabled

WEAVE_ERROR SetBLEAdvertisingEnabled(
  bool val
)

SetBLE 裝置名稱

WEAVE_ERROR SetBLEDeviceName(
  const char *deviceName
)

SetBLEFastAdvertisingEnabled

WEAVE_ERROR SetBLEFastAdvertisingEnabled(
  bool val
)

SetServiceTunnelMode

WEAVE_ERROR SetServiceTunnelMode(
  ServiceTunnelMode val
)

設定執行緒類型

WEAVE_ERROR SetThreadDeviceType(
  ThreadDeviceType deviceType
)

設定執行緒模式

WEAVE_ERROR SetThreadMode(
  ThreadMode val
)

設定執行緒執行緒

WEAVE_ERROR SetThreadPollingConfig(
  const ThreadPollingConfig & pollingConfig
)

設定使用者選取模式

void SetUserSelectedMode(
  bool val
)

設定使用者選取模式逾時

void SetUserSelectedModeTimeout(
  uint16_t val
)

設定 WiFiAPIdleTimeoutMS

void SetWiFiAPIdleTimeoutMS(
  uint32_t val
)

設定 WiFiAPMode

WEAVE_ERROR SetWiFiAPMode(
  WiFiAPMode val
)

設定 WiFiStationMode

WEAVE_ERROR SetWiFiStationMode(
  WiFiStationMode val
)

設定 WiFiStationReconnectIntervalMS

WEAVE_ERROR SetWiFiStationReconnectIntervalMS(
  uint32_t val
)

SetBBLEServiceMode

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

運算子=

ConnectivityManager & operator=(
  const ConnectivityManager &
)=delete

~ConnectivityManager

 ~ConnectivityManager()=default