nl::Weave::DeviceLayer::Internal::GenericThreadStackManagerImpl_OpenThread
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/OpenThread/GenericThreadStackManagerImpl_OpenThread.h>
OpenThread と連携して動作する ThreadStackManager 機能の一般的な実装を提供します。
概要
このクラスには、OpenThread を使用するデバイスでの使用に適した、ThreadStackManager 抽象インターフェースからの一部の機能の実装が含まれています。これは、ThreadStackManagerImpl クラスによって直接的または間接的に継承されることが想定されており、このクラスはテンプレートの ImplClass パラメータとしても使用されます。
このクラスは、ホスト OS(RTOS や posix など)やネットワーク スタック(LwIP やその他の IP スタックなど)の選択から独立しているように設計されています。
継承
直系の既知のサブクラス:nl::Weave::DeviceLayer::Internal::GenericThreadStackManagerImpl_OpenThread_LwIP<ThreadStackManagerImpl >
nl::Weave::DeviceLayer::Internal::GenericThreadStackManagerImpl_OpenThread_LwIP<ImplClass >
パブリック関数 |
|
---|---|
OTInstance() const
|
otInstance *
基盤となる OpenThread インスタンス オブジェクトを返します。
|
静的パブリック関数 |
|
---|---|
OnOpenThreadStateChange(uint32_t flags, void *context)
|
void
|
パブリック関数
OTInstance
otInstance * OTInstance() const
基盤となる OpenThread インスタンス オブジェクトを返します。
静的パブリック関数
OnOpenThreadStateChange
void OnOpenThreadStateChange(
uint32_t flags,
void *context
)
プロテクト関数
AdjustPollingInterval
WEAVE_ERROR AdjustPollingInterval(
void
)
DoInit
WEAVE_ERROR DoInit(
otInstance *otInst
)
IsThreadAttachedNoLock
bool IsThreadAttachedNoLock(
void
)
_ClearThreadProvision
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
)
_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
)