nl:: Weave:: DeviceLayer:: Internal:: GenericThreadStackManagerImpl_OpenThread
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/OpenThread/GenericThreadStackManagerImpl_OpenThread.h>
Udostępnia ogólną implementację funkcji ThreadStackManager, która działa w połączeniu z OpenThread.
Podsumowanie
Ta klasa zawiera implementacje wybranych funkcji ze abstrakcyjnego interfejsu ThreadStackManager, które są odpowiednie do stosowania na urządzeniach korzystających z OpenThread. Jest dziedziczona, bezpośrednio lub pośrednio, przez klasę ThreadStackManagerImpl, która pojawia się też jako parametr ImplClass szablonu.
Klasa została zaprojektowana tak, aby była niezależna od wyboru systemu operacyjnego hosta (np. RTOS lub posix) i stosu sieciowego (np. LwIP lub innego stosu IP).
Dziedziczenie
Bezpośrednie znane podklasy:nl::Weave::DeviceLayer::Internal::GeneralThreadStackManagerImpl_OpenThread_LwIP< ThreadStackManagerManagerImpl >
nl::Weave::DeviceLayer::Internal::Thread<ogólnaklasa_Open Impl_LwIP >
Funkcje publiczne |
|
---|---|
OTInstance() const
|
otInstance *
Zwraca bazowy obiekt instancji OpenThread.
|
Publiczne funkcje statyczne |
|
---|---|
OnOpenThreadStateChange(uint32_t flags, void *context)
|
void
|
Funkcje publiczne
OTInstance
otInstance * OTInstance() const
Zwraca bazowy obiekt instancji OpenThread.
Publiczne funkcje statyczne
OnOpenThreadStateChange
void OnOpenThreadStateChange( uint32_t flags, void *context )
Funkcje chronione
AdjustPollingInterval
WEAVE_ERROR AdjustPollingInterval( void )
DoInit
WEAVE_ERROR DoInit( otInstance *otInst )
IsThreadAttachedNoLock
bool IsThreadAttachedNoLock( void )
_ClearThreadAdmin
void _ClearThreadProvision( void )
_GetAndLogThreadStatsCounters
WEAVE_ERROR _GetAndLogThreadStatsCounters( void )
_GetAndLogThreadTopologyFull
WEAVE_ERROR _GetAndLogThreadTopologyFull( void )
_GetAndLogThreadTopologyMinimalny
WEAVE_ERROR _GetAndLogThreadTopologyMinimal( void )
_PobierzAdresPodstawowy802154MAC
WEAVE_ERROR _GetPrimary802154MACAddress( uint8_t *buf )
_GetThreadDeviceType
ConnectivityManager::ThreadDeviceType _GetThreadDeviceType( void )
_GetThreadPollingConfig
void _GetThreadPollingConfig( ConnectivityManager::ThreadPollingConfig & pollingConfig )
_GetThreadAsset
WEAVE_ERROR _GetThreadProvision( DeviceNetworkInfo & netInfo, bool includeCredentials )
_ŁącznośćMieanka
bool _HaveMeshConnectivity( void )
_MichDoAdresu
bool _HaveRouteToAddress( const IPAddress & destAddr )
_IsThreadAttached
bool _IsThreadAttached( void )
_IsThreadEnabled
bool _IsThreadEnabled( void )
_IsThread podanym
bool _IsThreadProvisioned( void )
_OnMessageLayerActivityChange
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 )