otCoapOptionIteratorGetFirstOptionMatching() function
Returns a pointer to the first option matching the specified option number.
Arguments
aIterator
A pointer to the CoAP message option iterator.
aOption
The option number sought.
Return value
A pointer to the first matching option. If no matching option is present NULL pointer is returned.
otCoapOptionIteratorGetFirstOptionMatching() calls 4 functions:
![]()
otCoapOptionIteratorGetFirstOptionMatching()
otCoapOptionIteratorGetFirstOptionMatching():
![]()
otCoapOptionIteratorGetFirstOptionMatching()