Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
|
OpenThread L2 stack public header. More...
Go to the source code of this file.
Data Structures | |
struct | openthread_state_changed_cb |
OpenThread state change callback More... | |
Functions | |
int | openthread_state_changed_cb_register (struct openthread_context *ot_context, struct openthread_state_changed_cb *cb) |
Registers callbacks which will be called when certain configuration or state changes occur within OpenThread. | |
int | openthread_state_changed_cb_unregister (struct openthread_context *ot_context, struct openthread_state_changed_cb *cb) |
Unregisters OpenThread configuration or state changed callbacks. | |
k_tid_t | openthread_thread_id_get (void) |
Get OpenThread thread identification. | |
struct openthread_context * | openthread_get_default_context (void) |
Get pointer to default OpenThread context. | |
struct otInstance * | openthread_get_default_instance (void) |
Get pointer to default OpenThread instance. | |
int | openthread_start (struct openthread_context *ot_context) |
Starts the OpenThread network. | |
void | openthread_api_mutex_lock (struct openthread_context *ot_context) |
Lock internal mutex before accessing OT API. | |
int | openthread_api_mutex_try_lock (struct openthread_context *ot_context) |
Try to lock internal mutex before accessing OT API. | |
void | openthread_api_mutex_unlock (struct openthread_context *ot_context) |
Unlock internal mutex after accessing OT API. | |
OpenThread L2 stack public header.