Glue library for integration lwIP in NO_SYS=1
mode with the SDK. Simple init
and deinit
are all that is required to hook up lwIP via an async_context instance.
More...
Functions | |
bool | lwip_nosys_init (async_context_t *context) |
Initializes lwIP (NO_SYS=1 mode) support support using the provided async_context. More... | |
void | lwip_nosys_deinit (async_context_t *context) |
De-initialize lwIP (NO_SYS=1 mode) support. More... | |
Glue library for integration lwIP in NO_SYS=1
mode with the SDK. Simple init
and deinit
are all that is required to hook up lwIP via an async_context instance.
void lwip_nosys_deinit | ( | async_context_t * | context | ) |
De-initialize lwIP (NO_SYS=1 mode) support.
Note that since lwIP may only be initialized once, and doesn't itself provide a shutdown mechanism, lwIP itself may still consume resources
It is however safe to call lwip_nosys_init again later.
context | the async_context the lwip_nosys support was added to via lwip_nosys_init |
bool lwip_nosys_init | ( | async_context_t * | context | ) |
Initializes lwIP (NO_SYS=1 mode) support support using the provided async_context.
If the initialization succeeds, lwip_nosys_deinit() can be called to shutdown lwIP support
context | the async_context instance that provides the abstraction for handling asynchronous work. |