ot::Coap::Message::SetToken() method
Sets the Token value and length.
Arguments
aToken
A pointer to the Token value.
aTokenLength
The Length of @p aToken.
Return value
kErrorNone Successfully set the token value. kErrorNoBufs Insufficient message buffers available to set the token value.
ot::Coap::Message::SetToken() is called by 4 functions and calls 4 functions:
![]()
ot::Coap::Message::SetToken()
ot::Coap::Message::SetToken() reads 3 variables and writes 1 variable:
![]()
ot::Coap::Message::SetToken()