openthread_sys

Function 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.