nl:: Weave:: DeviceLayer:: Internal:: GenericThreadStackManagerImpl_OpenThread
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/OpenThread/GenericThreadStackManagerImpl_OpenThread.h>
Fornece uma implementação genérica dos recursos de ThreadStackManager que funcionam com o OpenThread.
Resumo
Essa classe contém implementações de recursos selecionados da interface abstrata ThreadStackManager que são adequadas para uso em dispositivos que usam o OpenThread. Ele deve ser herdado, direta ou indiretamente, pela classe ThreadStackManagerImpl, que também aparece como o parâmetro ImplClass do modelo.
A classe é projetada para ser independente da escolha do SO do host (por exemplo, RTOS ou posix) e da pilha de rede (por exemplo, LwIP ou outra pilha de IP).
Herança
Subclasses conhecidas diretas:nl::Weave::DeviceLayer::Internal::GenericThreadStackManagerImpl_OpenThread_LwIP< ThreadStackManagerImpl >
nl::Weave::DeviceLayer::Internal::GenericThreadStackManagerImpl_OpenThread_LwClass&t;
Funções públicas |
|
---|---|
OTInstance() const
|
otInstance *
Retorna o objeto de instância OpenThread subjacente.
|
Funções estáticas públicas |
|
---|---|
OnOpenThreadStateChange(uint32_t flags, void *context)
|
void
|
Funções públicas
Instância de OT
otInstance * OTInstance() const
Retorna o objeto de instância OpenThread subjacente.
Funções estáticas públicas
OnOpenThreadStateChange
void OnOpenThreadStateChange( uint32_t flags, void *context )
Funções 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 )
_GetAndLogThreadTopologyMinimum
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 )
_TemMeshConnectivity
bool _HaveMeshConnectivity( void )
_TemRouteToAddress
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 )