Function otCoapMessageGenerateToken

Source
pub unsafe extern "C" fn otCoapMessageGenerateToken(
    aMessage: *mut otMessage,
    aTokenLength: u8,
)
Expand description

This function sets the Token length and randomizes its value.

@param[inout] aMessage A pointer to the CoAP message. @param[in] aTokenLength The Length of a Token to set.