API for LwIP interface.
More...
API for LwIP interface.
◆ coap_lwip_input_wait_handler_t
typedef int(* coap_lwip_input_wait_handler_t) (void *arg, uint32_t milli_secs) |
LwIP callback handler that can be used to wait / timeout for the next input packet.
- Parameters
-
- Returns
1
if packet received, 0
for timeout, else -1
on error.
Definition at line 783 of file coap_net.h.
◆ coap_lwip_dump_memory_pools()
void coap_lwip_dump_memory_pools |
( |
coap_log_t |
log_level | ) |
|
Dump the current state of the LwIP memory pools.
Requires both MEMP_STATS and LWIP_STATS_DISPLAY to be defined as 1 in lwipopts.h
- Parameters
-
log_level | The logging level to use. |
◆ coap_lwip_set_input_wait_handler()
Set up a wait / timeout callback handler for use when the application calls coap_io_process().
- Parameters
-
context | The coap context to associate this handler with. |
handler | The handler to call while waiting for input. |
input_arg | The argument to pass into handler(). |