|
libcoap 4.3.5
|
API for LwIP interface. More...
Typedefs | |
| 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. | |
Functions | |
| void | coap_lwip_dump_memory_pools (coap_log_t log_level) |
| Dump the current state of the LwIP memory pools. | |
| void | coap_lwip_set_input_wait_handler (coap_context_t *context, coap_lwip_input_wait_handler_t handler, void *input_arg) |
| Set up a wait / timeout callback handler for use when the application calls coap_io_process(). | |
API for LwIP interface.
| 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.
| arg | The argument passed to the coap_lwip_set_input_wait_handler() function. |
| milli_secs | Suggested number of milli secs to wait before returning if no input. |
1 if packet received, 0 for timeout, else -1 on error. Definition at line 836 of file coap_net.h.
| 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
| log_level | The logging level to use. |
| void coap_lwip_set_input_wait_handler | ( | coap_context_t * | context, |
| coap_lwip_input_wait_handler_t | handler, | ||
| void * | input_arg ) |
Set up a wait / timeout callback handler for use when the application calls coap_io_process().
| 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(). |