nl:: Weave:: DeviceLayer:: Internal:: GenericThreadStackManagerImpl_OpenThread
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/OpenThread/GenericThreadStackManagerImpl_OpenThread.h>
提供与 OpenThread 结合使用的 ThreadStackManager 功能的通用实现。
摘要
此类包含 ThreadStackManager 抽象接口中适用于采用 OpenThread 的设备的部分功能的实现。它将被 ThreadStackManagerImpl 类直接或间接继承,该类也显示为模板的 ImplClass 参数。
该类独立于选择的主机操作系统(例如 RTOS 或 posix)和网络堆栈(例如 LwIP 或其他 IP 堆栈)而设计。
继承
直接已知子类:nl::Weave::DeviceLayer::Internal::GenericThreadStackManagerImpl_OpenThread_LwIP< ThreadStackManagerImpl >
nl::Weave::DeviceLayer::Internal::GenericThreadStackManagerImpl_OpenThread_LwIP<
公共函数 |
|
---|---|
OTInstance() const
|
otInstance *
返回底层 OpenThread 实例对象。
|
公共静态函数 |
|
---|---|
OnOpenThreadStateChange(uint32_t flags, void *context)
|
void
|
公共函数
OT 实例
otInstance * OTInstance() const
返回底层 OpenThread 实例对象。
公共静态函数
OnOpenThreadStateChange
void OnOpenThreadStateChange( uint32_t flags, void *context )
受保护的函数
AdjustPollingInterval
WEAVE_ERROR AdjustPollingInterval( void )
多伊尼特
WEAVE_ERROR DoInit( otInstance *otInst )
IsThreadAttachedNoLock
bool IsThreadAttachedNoLock( void )
_ClearThreadProvisioning
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 )
_GetThreadProvisioning
WEAVE_ERROR _GetThreadProvision( DeviceNetworkInfo & netInfo, bool includeCredentials )
_WITHMeshConnectivity
bool _HaveMeshConnectivity( void )
_WITHRouteToAddress
bool _HaveRouteToAddress( const IPAddress & destAddr )
_是否附加了线程
bool _IsThreadAttached( void )
_IsThreadEnabled
bool _IsThreadEnabled( void )
_已配置线程
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 )