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.