Google is committed to advancing racial equity for Black communities. See how.

nl::Weave::DeviceLayer::Internal::GenericConnectivityManagerImpl_Thread

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

Provides a generic implementation of WiFi-specific ConnectivityManager features for use on platforms that support Thread.

Summary

This class is intended to be inherited (directly or indirectly) by the ConnectivityManagerImpl class, which also appears as the template's ImplClass parameter.

The GenericConnectivityManagerImpl_Thread<> class is designed to be independent of the particular Thread stack in use, implying, for example, that the code does not make direct use of any OpenThread APIs. This is achieved by delegating all stack-specific operations to the ThreadStackManager class.

Protected functions

UpdateServiceConnectivity(void)
void
_ClearThreadProvision(void)
void
_GetThreadDeviceType(void)
ConnectivityManager::ThreadDeviceType
_GetThreadMode(void)
ConnectivityManager::ThreadMode
_GetThreadPollingConfig(ConnectivityManager::ThreadPollingConfig & pollingConfig)
void
_HaveServiceConnectivityViaThread(void)
bool
_Init(void)
void
_IsThreadApplicationControlled(void)
bool
_IsThreadAttached(void)
bool
_IsThreadEnabled(void)
bool
_IsThreadProvisioned(void)
bool
_OnPlatformEvent(const WeaveDeviceEvent *event)
void
_SetThreadDeviceType(ConnectivityManager::ThreadDeviceType deviceType)
_SetThreadMode(ConnectivityManager::ThreadMode val)
_SetThreadPollingConfig(const ConnectivityManager::ThreadPollingConfig & pollingConfig)

Protected functions

UpdateServiceConnectivity

void UpdateServiceConnectivity(
  void
)

_ClearThreadProvision

void _ClearThreadProvision(
  void
)

_GetThreadDeviceType

ConnectivityManager::ThreadDeviceType _GetThreadDeviceType(
  void
)

_GetThreadMode

ConnectivityManager::ThreadMode _GetThreadMode(
  void
)

_GetThreadPollingConfig

void _GetThreadPollingConfig(
  ConnectivityManager::ThreadPollingConfig & pollingConfig
)

_HaveServiceConnectivityViaThread

bool _HaveServiceConnectivityViaThread(
  void
)

_Init

void _Init(
  void
)

_IsThreadApplicationControlled

bool _IsThreadApplicationControlled(
  void
)

_IsThreadAttached

bool _IsThreadAttached(
  void
)

_IsThreadEnabled

bool _IsThreadEnabled(
  void
)

_IsThreadProvisioned

bool _IsThreadProvisioned(
  void
)

_OnPlatformEvent

void _OnPlatformEvent(
  const WeaveDeviceEvent *event
)

_SetThreadDeviceType

WEAVE_ERROR _SetThreadDeviceType(
  ConnectivityManager::ThreadDeviceType deviceType
)

_SetThreadMode

WEAVE_ERROR _SetThreadMode(
  ConnectivityManager::ThreadMode val
)

_SetThreadPollingConfig

WEAVE_ERROR _SetThreadPollingConfig(
  const ConnectivityManager::ThreadPollingConfig & pollingConfig
)