nl::Weave::DeviceLayer::Dahili::GenericThreadStackManagerImpl_OpenThread

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

OpenThread ile birlikte çalışan ThreadStackManager özelliklerinin genel bir uygulamasını sağlar.

Özet

Bu sınıfta, ThreadStackManager soyut arayüzünden seçilen özellikler, OpenThread kullanan cihazlarda kullanılmaya uygun olan uygulamalar içerir. Şablon; ImplClass parametresi olarak da görünen ThreadStackManagerImpl sınıfı tarafından doğrudan veya dolaylı olarak devralınmalıdır.

Sınıf, ana makine işletim sisteminin (ör. RTOS veya posix) ve ağ yığınının (ör. LwIP veya diğer IP yığını) seçiminden bağımsız olacak şekilde tasarlanmıştır.

Devralma

Doğrudan Bilinen Alt Sınıflar:
nl::Weave::DeviceLayer::Internal::GenericThreadStackManagerImpl_OpenThread_LwIP< ThreadStackManagerImpl >
nl::Weave::DeviceLayer:Internal::GenericThreadStackManagerImw_OpenThread_IThread_Sınıf

Herkese açık işlevler

OTInstance() const
otInstance *
Temel OpenThread örneği nesnesini döndürür.

Herkese açık statik işlevler

OnOpenThreadStateChange(uint32_t flags, void *context)
void

Korumalı işlevler

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)

Herkese açık işlevler

OTST

otInstance * OTInstance() const 

Temel OpenThread örneği nesnesini döndürür.

Herkese açık statik işlevler

OnOpenThreadStateDeğişimi

void OnOpenThreadStateChange(
  uint32_t flags,
  void *context
)

Korumalı işlevler

AdjustPollingInterval

WEAVE_ERROR AdjustPollingInterval(
  void
)

İnce

WEAVE_ERROR DoInit(
  otInstance *otInst
)

IsThreadInsertNoLock

bool IsThreadAttachedNoLock(
  void
)

_ClearThreadProvision

void _ClearThreadProvision(
  void
)

_GetAndLogThreadStatsSayaç

WEAVE_ERROR _GetAndLogThreadStatsCounters(
  void
)

_GetAndLogThreadTopologyTam

WEAVE_ERROR _GetAndLogThreadTopologyFull(
  void
)

_GetAndLogThreadTopologyMinimal

WEAVE_ERROR _GetAndLogThreadTopologyMinimal(
  void
)

_GetPrimary802154MACAdresi

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
)

_WithMeshConnectability

bool _HaveMeshConnectivity(
  void
)

_WithRouteToAddress

bool _HaveRouteToAddress(
  const IPAddress & destAddr
)

_IsThreadEk

bool _IsThreadAttached(
  void
)

_IsThreadEnabled

bool _IsThreadEnabled(
  void
)

_IsThreadProvisioned

bool _IsThreadProvisioned(
  void
)

_OnMessageLayerActivityChanged

void _OnMessageLayerActivityChanged(
  bool messageLayerIsActive
)

_OnPlatformEvent

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
)

_SetThreadProvision

WEAVE_ERROR _SetThreadProvision(
  const DeviceNetworkInfo & netInfo
)