pub unsafe extern "C" fn otCoapMessageAppendUintOption(
aMessage: *mut otMessage,
aNumber: u16,
aValue: u32,
) -> otError
Expand description
Appends an unsigned integer CoAP option as specified in https://tools.ietf.org/html/rfc7252#section-3.2
@param[in,out] aMessage A pointer to the CoAP message. @param[in] aNumber The CoAP Option number. @param[in] aValue The CoAP Option unsigned integer value.
@retval OT_ERROR_NONE Successfully appended the option. @retval OT_ERROR_INVALID_ARGS The option type is not equal or greater than the last option type. @retval OT_ERROR_NO_BUFS The option length exceeds the buffer size.
@see otCoapMessageGetOptionUintValue