otCoapOptionIteratorGetOptionUintValue() function
Fills current option value into @p aValue assuming the current value is an unsigned integer encoded according to https://tools.ietf.org/html/rfc7252#section-3.2 @see otCoapMessageAppendUintOption
Arguments
aIterator
A pointer to the CoAP message option iterator.
aValue
A pointer to an unsigned integer to receive the option value.
Return value
OT_ERROR_NONE Successfully filled value. OT_ERROR_NOT_FOUND No current option. OT_ERROR_NO_BUFS Value is too long to fit in a uint64_t.
otCoapOptionIteratorGetOptionUintValue():
![]()
otCoapOptionIteratorGetOptionUintValue()