pub unsafe extern "C" fn otCoapOptionIteratorInit(
aIterator: *mut otCoapOptionIterator,
aMessage: *const otMessage,
) -> otError
Expand description
Initialises an iterator for the options in the given message.
@param[in,out] aIterator A pointer to the CoAP message option iterator. @param[in] aMessage A pointer to the CoAP message.
@retval OT_ERROR_NONE Successfully initialised. @retval OT_ERROR_PARSE Message state is inconsistent.