Iterator to run through PDU options.  
 More...
#include <option.h>
Iterator to run through PDU options. 
This object must be initialized with coap_option_iterator_init(). Call coap_option_next() to walk through the list of options until coap_option_next() returns NULL.
  ... do something with option ...
}
Definition at line 253 of file option.h.
§ bad
      
        
          | unsigned int coap_opt_iterator_t::bad | 
      
 
iterator object is ok if not set 
Definition at line 256 of file option.h.
 
 
§ filter
§ filtered
      
        
          | unsigned int coap_opt_iterator_t::filtered | 
      
 
denotes whether or not filter is used 
Definition at line 257 of file option.h.
 
 
§ length
      
        
          | size_t coap_opt_iterator_t::length | 
      
 
remaining length of PDU 
Definition at line 254 of file option.h.
 
 
§ next_option
pointer to the unparsed next option 
Definition at line 258 of file option.h.
 
 
§ type
      
        
          | unsigned short coap_opt_iterator_t::type | 
      
 
decoded option type 
Definition at line 255 of file option.h.
 
 
The documentation for this struct was generated from the following file: