[][src]Function openthread_sys::otCoapOptionIteratorGetOptionValue

pub unsafe extern "C" fn otCoapOptionIteratorGetOptionValue(
    aIterator: *mut otCoapOptionIterator,
    aValue: *mut c_void
) -> otError

This function fills current option value into @p aValue.

@param[inout] aIterator A pointer to the CoAP message option iterator. @param[out] aValue A pointer to a buffer to receive the option value.

@retval OT_ERROR_NONE Successfully filled value. @retval OT_ERROR_NOT_FOUND No current option.