nl::Weave::DeviceLayer::Internal::GenericThreadStackManagerImpl_OpenThread

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

Proporciona una implementación genérica de ThreadStackManager, que funciona en conjunto con OpenThread.

Resumen

Esta clase contiene implementaciones de funciones seleccionadas de la interfaz abstracta ThreadStackManager que son adecuadas para usar en dispositivos que usan OpenThread. La clase ThreadStackManagerImpl, que también aparece como parámetro ImplClass de la plantilla, debe heredarla de manera directa o indirecta.

La clase está diseñada para ser independiente de la elección de SO host (p.ej., RTOS o posix) y la pila de red (p.ej., LwIP o alguna otra pila de IP).

Herencia

Subclases conocidas directamente:
nl::Weave::DeviceLayer::Internal::GenericThreadStackManagerImpl_OpenThread_LwIP< ThreadStackManagerImpl >
nl::Weave::DeviceLayer::Internal::GenericThreadStackManagerImpl_OpenThread_LwIP;

Funciones públicas

OTInstance() const
otInstance *
Muestra el objeto de instancia de OpenThread subyacente.

Funciones estáticas públicas

OnOpenThreadStateChange(uint32_t flags, void *context)
void

Funciones protegidas

AdjustPollingInterval(void)
DoInit(otInstance *otInst)
IsThreadAttachedNoLock(void)
bool
_ClearThreadProvision(void)
void
_GetAndLogThreadStatsCounters(void)
_GetAndLogThreadTopologyFull(void)
_GetAndLogThreadTopologyMinimal(void)
_GetPrimary802154MACAddress(uint8_t *buf)
_GetThreadDeviceType(void)
ConnectivityManager::ThreadDeviceType
_GetThreadPollingConfig(ConnectivityManager::ThreadPollingConfig & pollingConfig)
void
_GetThreadProvision(DeviceNetworkInfo & netInfo, bool includeCredentials)
_HaveMeshConnectivity(void)
bool
_HaveRouteToAddress(const IPAddress & destAddr)
bool
_IsThreadAttached(void)
bool
_IsThreadEnabled(void)
bool
_IsThreadProvisioned(void)
bool
_OnMessageLayerActivityChanged(bool messageLayerIsActive)
void
_OnPlatformEvent(const WeaveDeviceEvent *event)
void
_OnWoBLEAdvertisingStart(void)
void
_OnWoBLEAdvertisingStop(void)
void
_ProcessThreadActivity(void)
void
_SetThreadDeviceType(ConnectivityManager::ThreadDeviceType deviceType)
_SetThreadEnabled(bool val)
_SetThreadPollingConfig(const ConnectivityManager::ThreadPollingConfig & pollingConfig)
_SetThreadProvision(const DeviceNetworkInfo & netInfo)

Funciones públicas

Instancia de tiempo

otInstance * OTInstance() const 

Muestra el objeto de instancia de OpenThread subyacente.

Funciones estáticas públicas

Cambio en OnOpenThreadStateChange

void OnOpenThreadStateChange(
  uint32_t flags,
  void *context
)

Funciones protegidas

AjustarEncuestaInterval

WEAVE_ERROR AdjustPollingInterval(
  void
)

DoInit

WEAVE_ERROR DoInit(
  otInstance *otInst
)

IsThreadAttachedNoLock

bool IsThreadAttachedNoLock(
  void
)

_ClearThreadAprovisiona

void _ClearThreadProvision(
  void
)

_GetAndLogThreadStatsCounters

WEAVE_ERROR _GetAndLogThreadStatsCounters(
  void
)

_GetAndLogThreadTopologyFull

WEAVE_ERROR _GetAndLogThreadTopologyFull(
  void
)

_GetAndLogThreadTopologyMinimum

WEAVE_ERROR _GetAndLogThreadTopologyMinimal(
  void
)

_GetPrimary802154MACAddress

WEAVE_ERROR _GetPrimary802154MACAddress(
  uint8_t *buf
)

_GetThreadDeviceType

ConnectivityManager::ThreadDeviceType _GetThreadDeviceType(
  void
)

_GetThreadPollingConfig

void _GetThreadPollingConfig(
  ConnectivityManager::ThreadPollingConfig & pollingConfig
)

_GetThreadprovision

WEAVE_ERROR _GetThreadProvision(
  DeviceNetworkInfo & netInfo,
  bool includeCredentials
)

_ haveMeshConnectivity

bool _HaveMeshConnectivity(
  void
)

_Route_Dirección

bool _HaveRouteToAddress(
  const IPAddress & destAddr
)

_IsThreadAttached

bool _IsThreadAttached(
  void
)

_IsThreadEnabled

bool _IsThreadEnabled(
  void
)

_ThreadThreaded

bool _IsThreadProvisioned(
  void
)

_OnMessageLayerActivityChanged

void _OnMessageLayerActivityChanged(
  bool messageLayerIsActive
)

_Evento de la plataforma

void _OnPlatformEvent(
  const WeaveDeviceEvent *event
)

_OnWoBLEAdvertisingStart

void _OnWoBLEAdvertisingStart(
  void
)

_OnWoBLEAdvertisingStop

void _OnWoBLEAdvertisingStop(
  void
)

_ProcessThreadActivity

void _ProcessThreadActivity(
  void
)

_SetThreadDeviceType

WEAVE_ERROR _SetThreadDeviceType(
  ConnectivityManager::ThreadDeviceType deviceType
)

_SetThreadEnabled

WEAVE_ERROR _SetThreadEnabled(
  bool val
)

_SetThreadPollingConfig

WEAVE_ERROR _SetThreadPollingConfig(
  const ConnectivityManager::ThreadPollingConfig & pollingConfig
)

_SetThreadAprovisiona

WEAVE_ERROR _SetThreadProvision(
  const DeviceNetworkInfo & netInfo
)