pub unsafe extern "C" fn otCoapOptionIteratorGetFirstOptionMatching(
aIterator: *mut otCoapOptionIterator,
aOption: u16,
) -> *const otCoapOption
Expand description
Returns a pointer to the first option matching the specified option number.
@param[in] aIterator A pointer to the CoAP message option iterator. @param[in] aOption The option number sought.
@returns A pointer to the first matching option. If no matching option is present NULL pointer is returned.