pub unsafe extern "C" fn otCoapMessageWriteToken(
aMessage: *mut otMessage,
aToken: *const otCoapToken,
) -> otErrorExpand description
Writes the Token in the CoAP message.
@param[in,out] aMessage The CoAP message. @param[in] aToken The Token to write.
@retval OT_ERROR_NONE Successfully wrote the Token. @retval OT_ERROR_NO_BUFS Insufficient buffers to set the Token value.