nl:: Weave:: DeviceLayer:: Internal:: GenericThreadStackManagerImpl_OpenThread
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/OpenThread/GenericThreadStackManagerImpl_OpenThread.h>
Se proporciona una implementación genérica de las funciones de ThreadStackManager que funciona en conjunto con OpenThread.
Resumen
Esta clase contiene implementaciones de funciones específicas de la interfaz abstracta ThreadStackManager que son adecuadas para su uso en dispositivos que emplean OpenThread. Está diseñada para ser heredada, 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 SO del host (p.ej., RTOS o posix) y la pila de red (p.ej., LwIP u otra pila de IP).
Herencia
Subclases directas conocidas:nl::Weave::DeviceLayer::Internal::GenericThreadStackManagerImpl_OpenThread_LwIP< ThreadStackManagerImpl >
nl::Weave::DeviceLayer::Internal::ThreadStackManagerImpl_OpenThread_LwIP
Funciones públicas |
|
---|---|
OTInstance() const
|
otInstance *
Muestra el objeto de instancia subyacente de OpenThread.
|
Funciones estáticas públicas |
|
---|---|
OnOpenThreadStateChange(uint32_t flags, void *context)
|
void
|
Funciones públicas
OTInstance
otInstance * OTInstance() const
Muestra el objeto de instancia subyacente de OpenThread.
Funciones estáticas públicas
OnOpenThreadStateChange
void OnOpenThreadStateChange( uint32_t flags, void *context )
Funciones protegidas
AdjustPollingInterval
WEAVE_ERROR AdjustPollingInterval( void )
DoInit
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 )
_TieneRouteToAddress
bool _HaveRouteToAddress( const IPAddress & destAddr )
_IsThreadAttached
bool _IsThreadAttached( void )
_IsThreadEnabled
bool _IsThreadEnabled( void )
_IsThreadProvisioned
bool _IsThreadProvisioned( void )
OnMessageLayerActivityChanged
void _OnMessageLayerActivityChanged( bool messageLayerIsActive )
_Evento OnPlatform
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 )