riot_sys::bindgen

Function nanocoap_server_start

Source
pub unsafe extern "C" fn nanocoap_server_start(
    local: *const sock_udp_ep_t,
) -> kernel_pid_t
Expand description

@brief Create and start the nanoCoAP server thread

To automatically start the nanoCoAP server on startup, select the nanocoap_server_auto_init module.

@param[in] local UDP endpoint to bind to

@return pid of the server thread