[−][src]Function openthread_sys::otCoapMessageGenerateToken
pub unsafe extern "C" fn otCoapMessageGenerateToken(
aMessage: *mut otMessage,
aTokenLength: u8
)
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.