Function openthread_sys::otCoapMessageSetCode

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

Sets the Code value.

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