![]() |
![]() |
|
TI Thread API Documentation
1.02.01.00
|
Functions | |
| static otError | createIid (otInstance *aInstance, otNetifAddress *aAddress, void *aContext) |
| Creates the interface identifier. More... | |
| void | handleNetifStateChanged (uint32_t aFlags, void *aContext) |
| Callback function registered with the netif. More... | |
| otInstance * | OtInstance_get (void) |
| void | otSetupNetwork (otInstance *aInstance) |
| Initialize and start the Thread operation. More... | |
| void * | OtStack_task (void *arg0) |
| void | OtStack_taskCreate (void) |
| void | otTaskletsSignalPending (otInstance *aInstance) |
| static void | resetPriority (void) |
Variables | |
| static otNetifAddress | addresses [OT_MAX_ADDRESSES] |
| static otInstance * | OtStack_instance |
| static char | OtStack_stack [TASK_CONFIG_OT_TASK_STACK_SIZE] |
|
static |
Creates the interface identifier.
| aInstance | A pointer to the context information. |
| aAddress | A pointer to structure containing IPv6 address for which IID is being created. |
| aContext | A pointer to creator-specific context. |
References OT_IID_ADDRESS_LSB.
Referenced by handleNetifStateChanged().
| void handleNetifStateChanged | ( | uint32_t | aFlags, |
| void * | aContext | ||
| ) |
Callback function registered with the netif.
| aFlags | A bit-field indicating specific state that has changed. |
| aContext | A pointer to application-specific context. |
References addresses, and createIid().
| otInstance* OtInstance_get | ( | void | ) |
Documented in otsupport/otinstance.h.
References OtStack_instance.
| void otSetupNetwork | ( | otInstance * | aInstance | ) |
Initialize and start the Thread operation.
| aInstance | open thread instance. |
References extPanId, handleNetifStateChanged(), OT_NWK_CHANNEL, and OT_NWK_PAN_ID.
Referenced by OtStack_task().
| void* OtStack_task | ( | void * | arg0 | ) |
Main processing thread for OpenThread Stack.
References OtRtosApi_init(), OtRtosApi_lock(), OtRtosApi_unlock(), otSetupNetwork(), OtStack_instance, PlatformInit(), resetPriority(), sensors_evtNwkSetup, and Sensors_postEvt().
| void OtStack_taskCreate | ( | void | ) |
Documented in task_config.h.
References OtStack_stack, OtStack_task(), and TASK_CONFIG_OT_TASK_STACK_SIZE.
| void otTaskletsSignalPending | ( | otInstance * | aInstance | ) |
Callback from OpenThread stack to indicate tasklets are pending processing.
|
static |
Return thread priority after initialization.
References TASK_CONFIG_OT_TASK_PRIORITY.
Referenced by OtStack_task().
|
static |
Referenced by handleNetifStateChanged().
|
static |
Referenced by OtInstance_get(), and OtStack_task().
|
static |
Referenced by OtStack_taskCreate().