nl:: 위:: 기기 레이어:내부: GenericThreadStackManagerImpl_OpenThread
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/OpenThread/GenericThreadStackManagerImpl_OpenThread.h>
OpenThread와 함께 작동하는 ThreadStackManager 기능의 일반 구현을 제공합니다.
요약
이 클래스에는 OpenThread를 사용하는 기기에 사용하기에 적합한 ThreadStackManager 추상 인터페이스의 일부 기능 구현이 포함되어 있습니다. 직접 또는 간접적으로 ThreadStackManagerImpl 클래스에 상속하기 위한 용도입니다. 이 클래스는 template's ImplClass 매개변수로도 표시됩니다.
이 클래스는 호스트 OS (예: RTOS 또는 posix) 및 네트워크 스택 (예: LwIP 또는 기타 IP 스택)의 선택과는 별개로 설계되었습니다.
상속
직접 알려진 하위 클래스:nl::Weave::DeviceLayer::Internal::GenericThreadStackManagerImpl_OpenThread_LwIP< ThreadStackManagerImpl >
nl::Weave::DeviceLayer::Internal::GenericThreadStackManagerIlt_OpenThread_LwIP<t
공개 함수 |
|
---|---|
OTInstance() const
|
otInstance *
기본 OpenThread 인스턴스 객체를 반환합니다.
|
공개 정적 함수 |
|
---|---|
OnOpenThreadStateChange(uint32_t flags, void *context)
|
void
|
공개 함수
OT 인스턴스
otInstance * OTInstance() const
기본 OpenThread 인스턴스 객체를 반환합니다.
공개 정적 함수
OnOpenThreadStateChange
void OnOpenThreadStateChange( uint32_t flags, void *context )
보호된 함수
설문조사 간격 조정
WEAVE_ERROR AdjustPollingInterval( void )
도니트
WEAVE_ERROR DoInit( otInstance *otInst )
IsThreadAttachedNoLock
bool IsThreadAttachedNoLock( void )
_ClearThread 프로비저닝
void _ClearThreadProvision( void )
_GetAndLogThreadStatsCounter
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 )
_haveMeshConnectivity
bool _HaveMeshConnectivity( void )
_haveRouteToAddress
bool _HaveRouteToAddress( const IPAddress & destAddr )
_IsThreadAttached
bool _IsThreadAttached( void )
_IsThreadEnabled
bool _IsThreadEnabled( void )
_IsThread 프로비저닝된
bool _IsThreadProvisioned( void )
_OnMessageLayerActivityChanged
void _OnMessageLayerActivityChanged( bool messageLayerIsActive )
_Platform 플랫폼 이벤트
void _OnPlatformEvent( const WeaveDeviceEvent *event )
_OnWoBLEAdvertisingStart
void _OnWoBLEAdvertisingStart( void )
결제 실패 광고
void _OnWoBLEAdvertisingStop( void )
_ProcessThreadActivity
void _ProcessThreadActivity( void )
_SetThreadDeviceType
WEAVE_ERROR _SetThreadDeviceType( ConnectivityManager::ThreadDeviceType deviceType )
_SetThreadEnabled
WEAVE_ERROR _SetThreadEnabled( bool val )
스레드 스레드 설문조사 구성
WEAVE_ERROR _SetThreadPollingConfig( const ConnectivityManager::ThreadPollingConfig & pollingConfig )