Function openthread_sys::otCoapMessageInit

source ยท
pub unsafe extern "C" fn otCoapMessageInit(
    aMessage: *mut otMessage,
    aType: otCoapType,
    aCode: otCoapCode,
)
Expand description

Initializes the CoAP header.

@param[in,out] aMessage A pointer to the CoAP message to initialize. @param[in] aType CoAP message type. @param[in] aCode CoAP message code.