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

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

Bietet eine generische Implementierung von ThreadStackManager-Funktionen, die in Verbindung mit OpenThread arbeiten.

Zusammenfassung

Diese Klasse enthält Implementierungen ausgewählter Funktionen aus der abstrakten Schnittstelle ThreadStackManager, die auf Geräten verwendet werden kann, die OpenThread verwenden. Sie ist für die direkte oder indirekte Übernahme durch die Klasse ThreadStackManagerImpl vorgesehen, die auch als ImplClass-Parameter der Vorlage angezeigt wird.

Die Klasse ist so konzipiert, dass sie unabhängig von der Wahl des Hostbetriebssystems (z.B. RTOS oder POSix) und des Netzwerkstacks (z.B. LwIP oder anderer IP-Stack) ist.

Übernahme

Direkte bekannte Unterklassen:
  nl::Weave::DeviceLayer::Internal::GenericThreadStackManagerImpl_OpenThread_LwIP< ThreadStackManagerImpl >
  nl::Weave::DeviceLayer::Internal::GenericThreadStackManagerImpl_OpenThread_LwIP< ImplClass >

Öffentliche Funktionen

OTInstance() const
otInstance *
Gibt das zugrunde liegende OpenThread-Instanzobjekt zurück.

Öffentliche statische Funktionen

OnOpenThreadStateChange(uint32_t flags, void *context)
void

Geschützte Funktionen

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)

Öffentliche Funktionen

OTInstance

otInstance * OTInstance() const 

Gibt das zugrunde liegende OpenThread-Instanzobjekt zurück.

Öffentliche statische Funktionen

OnOpenThreadStateChange

void OnOpenThreadStateChange(
  uint32_t flags,
  void *context
)

Geschützte Funktionen

AdjustPollingInterval

WEAVE_ERROR AdjustPollingInterval(
  void
)

DoInit

WEAVE_ERROR DoInit(
  otInstance *otInst
)

IsThreadAttachedNoLock

bool IsThreadAttachedNoLock(
  void
)

_ClearThreadProvisionen bereitstellen

void _ClearThreadProvision(
  void
)

_GetAndLogThreadStatsCounters

WEAVE_ERROR _GetAndLogThreadStatsCounters(
  void
)

_GetAndLogThreadTopologyFull

WEAVE_ERROR _GetAndLogThreadTopologyFull(
  void
)

_GetAndLogThreadTopologyMinimal

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
)

_HaveRouteToAddress

bool _HaveRouteToAddress(
  const IPAddress & destAddr
)

_IsThreadAttached

bool _IsThreadAttached(
  void
)

_IsThreadEnabled

bool _IsThreadEnabled(
  void
)

_IsThreadBereitgestellt

bool _IsThreadProvisioned(
  void
)

_OnMessageLayerActivityChanged

void _OnMessageLayerActivityChanged(
  bool messageLayerIsActive
)

_OnPlatformEvent

void _OnPlatformEvent(
  const WeaveDeviceEvent *event
)

_BeiWoBLEBewerbungStart

void _OnWoBLEAdvertisingStart(
  void
)

_BeiWoBLEWerbung

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
)

_SetThreadProvision

WEAVE_ERROR _SetThreadProvision(
  const DeviceNetworkInfo & netInfo
)