nl:: Weave:: DeviceLayer:: Internal:: GenericThreadStackManagerImpl_OpenThread
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/OpenThread/GenericThreadStackManagerImpl_OpenThread.h>
האפליקציה מספקת הטמעה כללית של תכונות ThreadStackManager שפועלות בשילוב עם OpenThread.
סיכום
הכיתה הזו כוללת הטמעות של תכונות נבחרות מהממשק המופשט של ThreadStackManager, שמתאימה לשימוש במכשירים שמשתמשים ב-OpenThread. הוא מיועד לעבור בירושה, ישירות או בעקיפין, על ידי המחלקה ThreadStackManagerImpl, שמופיעה גם כפרמטר ImplClass של התבנית.
המחלקה תוכננה כך שלא תהיה תלויה בבחירה במערכת ההפעלה של המארח (למשל RTOS או posix) ובסטאק הרשת (למשל LwIP או סטאק IP אחר).
ירושה
Direct known Subclasses:nl::Weave::DeviceLayer::Internal::genThreadStackManagerImpl_OpenThread_LwIP< ThreadStackManagerImpl >
nl::Weave::DeviceLayer::Internal::כלליThreadManagerImpl_<OpenThread_L
תפקידים ציבוריים |
|
---|---|
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 )
_ClearThreadהקצאה
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 )
_GetThreadResource
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 )
_IsThreadProvideed
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 )