openthread_sys

Function otCoapMessageGenerateToken

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

Sets the Token length and randomizes its value.

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