nl :: Tejido:: DeviceLayer :: Interno:: GenericThreadStackManagerImpl_OpenThread
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/OpenThread/GenericThreadStackManagerImpl_OpenThread.h>
Proporciona una implementación genérica de las características de ThreadStackManager que funciona junto con OpenThread.
Resumen
Esta clase contiene implementaciones de características seleccionadas de la interfaz abstracta ThreadStackManager que son adecuadas para su uso en dispositivos que emplean OpenThread. Está destinado a ser heredado, directa o indirectamente, por la clase ThreadStackManagerImpl , que también aparece como el parámetro ImplClass de la plantilla.
La clase está diseñada para ser independiente de la elección del sistema operativo del host (por ejemplo, RTOS o posix) y la pila de red (por ejemplo, LwIP u otra pila de IP).
Herencia
Subclases conocidas directas:nl :: Weave :: DeviceLayer :: Internal :: GenericThreadStackManagerImpl_OpenThread_LwIP <ThreadStackManagerImpl>
nl :: Weave :: DeviceLayer :: Internal :: GenericThreadStackManagerImpl_OpenThread_LwIP <ImplClass>
Funciones publicas | |
---|---|
OTInstance () const | otInstance * Devuelve el objeto de instancia de OpenThread subyacente. |
Funciones estáticas públicas | |
---|---|
OnOpenThreadStateChange (uint32_t flags, void *context) | void |
Funciones publicas
OTInstance
otInstance * OTInstance() const
Devuelve el objeto de instancia de OpenThread subyacente.
Funciones estáticas públicas
OnOpenThreadStateChange
void OnOpenThreadStateChange( uint32_t flags, void *context )
Funciones protegidas
AdjustPollingInterval
WEAVE_ERROR AdjustPollingInterval( void )
Haciéndolo
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 )
_SetThreadProvision
WEAVE_ERROR _SetThreadProvision( const DeviceNetworkInfo & netInfo )