[][src]Function openthread_sys::otCoapStart

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

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.