otCoapOptionIteratorGetNextOptionMatching() function
Returns a pointer to the next 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 next matching option. If no further matching option is present NULL pointer is returned.
otCoapOptionIteratorGetNextOptionMatching() calls 3 functions:
![]()
otCoapOptionIteratorGetNextOptionMatching()
otCoapOptionIteratorGetNextOptionMatching():
![]()
otCoapOptionIteratorGetNextOptionMatching()