openthread_sys

Function otCoapSecureSendResponse

Source
pub unsafe extern "C" fn otCoapSecureSendResponse(
    aInstance: *mut otInstance,
    aMessage: *mut otMessage,
    aMessageInfo: *const otMessageInfo,
) -> otError
Expand description

Sends a CoAP response from the CoAP Secure server.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aMessage A pointer to the CoAP response to send. @param[in] aMessageInfo A pointer to the message info associated with @p aMessage.

@retval OT_ERROR_NONE Successfully enqueued the CoAP response message. @retval OT_ERROR_NO_BUFS Insufficient buffers available to send the CoAP response.