![]() |
0.01.00
|
This file defines the OpenThread Instance API. More...
Go to the source code of this file.
Typedefs | |
| typedef void(OTCALL * | otStateChangedCallback) (uint32_t aFlags, void *aContext) |
| This function pointer is called to notify certain configuration or state changes within OpenThread. More... | |
Functions | |
| otInstance * | otInstanceInit (void *aInstanceBuffer, size_t *aInstanceBufferSize) |
| This function initializes the OpenThread library. More... | |
| otInstance * | otInstanceInitSingle (void) |
| This function initializes the static single instance of the OpenThread library. More... | |
| bool | otInstanceIsInitialized (otInstance *aInstance) |
| This function indicates whether or not the instance is valid/initialized. More... | |
| void | otInstanceFinalize (otInstance *aInstance) |
| This function disables the OpenThread library. More... | |
| OTAPI otError OTCALL | otSetStateChangedCallback (otInstance *aInstance, otStateChangedCallback aCallback, void *aContext) |
| This function registers a callback to indicate when certain configuration or state changes within OpenThread. More... | |
| OTAPI void OTCALL | otRemoveStateChangeCallback (otInstance *aInstance, otStateChangedCallback aCallback, void *aCallbackContext) |
| This function removes a callback to indicate when certain configuration or state changes within OpenThread. More... | |
| OTAPI void OTCALL | otInstanceReset (otInstance *aInstance) |
| This method triggers a platform reset. More... | |
| OTAPI void OTCALL | otInstanceFactoryReset (otInstance *aInstance) |
| This method deletes all the settings stored on non-volatile memory, and then triggers platform reset. More... | |
| otError | otInstanceErasePersistentInfo (otInstance *aInstance) |
| This function erases all the OpenThread persistent info (network settings) stored on non-volatile memory. More... | |
| otLogLevel | otGetDynamicLogLevel (otInstance *aInstance) |
| This function returns the current dynamic log level. More... | |
| otError | otSetDynamicLogLevel (otInstance *aInstance, otLogLevel aLogLevel) |
| This function sets the dynamic log level. More... | |
This file defines the OpenThread Instance API.