Function otCoapStart

Source
pub unsafe extern "C" fn otCoapStart(
    aInstance: *mut otInstance,
    aPort: u16,
) -> otError
Expand description

This function starts the CoAP server.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aPort The local UDP port to bind to.

@retval OT_ERROR_NONE Successfully started the CoAP server.