56#if !defined(DOXYGEN) && !IS_ACTIVE(CONFIG_UNICOAP_CREATE_THREAD)
58void* _unicoap_loop_run(
void* arg);
61#if defined(DOXYGEN) || !IS_ACTIVE(CONFIG_UNICOAP_CREATE_THREAD)
73 _unicoap_loop_run(NULL);
93#define UNICOAP_JOB(func) { \
95 .handler = _UNICOAP_TRY_TYPECHECK_JOB_FUNC(func) \
Constants used in CoAP such as option numbers and message codes.
int16_t kernel_pid_t
Unique process identifier.
static void unicoap_loop_run(void)
Runs unicoap processing loop.
int unicoap_loop_enqueue(unicoap_job_t *job)
Schedules event to be run in the internal processing loop at the next possible instance.
kernel_pid_t unicoap_init(void)
Initializes the unicoap stack.
int unicoap_deinit(void)
Tears down the unicoap stack, closing the background thread.
struct event event_t
event structure forward declaration
A job that can be enqueued and executed by the unicoap message processing loop.
event_t super
Event that is posted on internal queue.
Compile-time configuration parameters.
CoAP transport protocol abstraction layer.