nl:: Weave:: DeviceLayer:: Internal:: GenericThreadStackManagerImpl_OpenThread
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/OpenThread/GenericThreadStackManagerImpl_OpenThread.h>
Fornisce un'implementazione generica delle funzionalità di ThreadStackManager che funziona in combinazione con OpenThread.
Riepilogo
Questa classe contiene le implementazioni di alcune funzionalità dell'interfaccia astratta ThreadStackManager adatte all'uso sui dispositivi che utilizzano OpenThread. Deve essere ereditato, direttamente o indirettamente, dalla classe ThreadStackManagerImpl, che viene visualizzata anche come parametro ImplClass del modello.
La classe è progettata per essere indipendente dalla scelta del sistema operativo host (ad es. RTOS o posix) e dello stack di rete (ad esempio LwIP o altro stack IP).
Eredità
Sottoclassi note dirette:nl::Weave::DeviceLayer::Internal::GenericThreadStackManagerImpl_OpenThread_LwIP< ThreadStackManagerImpl >
nl::Weave::DeviceLayer::Internal::GenericThreadStackManagerImpl_OpenThread_LwIP< ImplClass >
Funzioni pubbliche |
|
---|---|
OTInstance() const
|
otInstance *
Restituisce l'oggetto dell'istanza OpenThread sottostante.
|
Funzioni statiche pubbliche |
|
---|---|
OnOpenThreadStateChange(uint32_t flags, void *context)
|
void
|
Funzioni pubbliche
OTInstance
otInstance * OTInstance() const
Restituisce l'oggetto dell'istanza OpenThread sottostante.
Funzioni statiche pubbliche
OnOpenThreadStateChange
void OnOpenThreadStateChange( uint32_t flags, void *context )
Funzioni protette
AdjustPollingInterval
WEAVE_ERROR AdjustPollingInterval( void )
DoInit
WEAVE_ERROR DoInit( otInstance *otInst )
IsThreadAttachedNoLock
bool IsThreadAttachedNoLock( void )
_ClearThreadProvisioning
void _ClearThreadProvision( void )
_GetAndLogThreadStatsCounters
WEAVE_ERROR _GetAndLogThreadStatsCounters( void )
_GetAndLogThreadTopologyFull
WEAVE_ERROR _GetAndLogThreadTopologyFull( void )
_OttieniAndLogThreadTopologyMinimal
WEAVE_ERROR _GetAndLogThreadTopologyMinimal( void )
_GetPrincipale802154IndirizzoMAC
WEAVE_ERROR _GetPrimary802154MACAddress( uint8_t *buf )
_GetThreadDeviceType
ConnectivityManager::ThreadDeviceType _GetThreadDeviceType( void )
_GetThreadPollingConfig
void _GetThreadPollingConfig( ConnectivityManager::ThreadPollingConfig & pollingConfig )
_GetThreadProvisioning
WEAVE_ERROR _GetThreadProvision( DeviceNetworkInfo & netInfo, bool includeCredentials )
_Connettività haveMesh
bool _HaveMeshConnectivity( void )
_haveRouteToAddress
bool _HaveRouteToAddress( const IPAddress & destAddr )
_IsThreadAttached
bool _IsThreadAttached( void )
_IsThreadEnabled
bool _IsThreadEnabled( void )
_Provisioning effettuato da IsThread
bool _IsThreadProvisioned( void )
_OnMessageLivelloActivityChanged
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 )