joey shelton / LED_Demo2

Dependencies:   MAX44000 PWM_Tone_Library nexpaq_mdk

Fork of LED_Demo by joey shelton

Embed: (wiki syntax)

« Back to documentation index

sn_coap_options_list_ Struct Reference

sn_coap_options_list_ Struct Reference

Structure for CoAP Options. More...

#include <sn_coap_header.h>

Data Fields

uint8_t max_age_len
 0-4 bytes.
uint8_t * max_age_ptr
 Must be set to NULL if not used.
uint16_t proxy_uri_len
 1-1034 bytes.
uint8_t * proxy_uri_ptr
 Must be set to NULL if not used.
uint8_t etag_len
 1-8 bytes.
uint8_t * etag_ptr
 Must be set to NULL if not used.
uint16_t uri_host_len
 1-255 bytes.
uint8_t * uri_host_ptr
 Must be set to NULL if not used.
uint16_t location_path_len
 0-255 bytes.
uint8_t * location_path_ptr
 Must be set to NULL if not used.
uint8_t uri_port_len
 0-2 bytes.
uint8_t * uri_port_ptr
 Must be set to NULL if not used.
uint16_t location_query_len
 0-255 bytes.
uint8_t * location_query_ptr
 Must be set to NULL if not used.
uint8_t observe_len
 0-2 bytes.
uint8_t * observe_ptr
 Must be set to NULL if not used.
uint8_t accept_len
 0-2 bytes.
uint8_t * accept_ptr
 Must be set to NULL if not used.
uint16_t uri_query_len
 1-255 bytes.
uint8_t * uri_query_ptr
 Must be set to NULL if not used.
uint8_t block1_len
 0-3 bytes.
uint8_t * block1_ptr
 Not for User.
uint8_t block2_len
 0-3 bytes.
uint8_t * block2_ptr
 Not for User.
uint8_t size1_len
 0-4 bytes.
uint8_t * size1_ptr
 Not for User.
uint8_t size2_len
 0-4 bytes.
uint8_t * size2_ptr
 Not for User.

Detailed Description

Structure for CoAP Options.

Definition at line 156 of file sn_coap_header.h.


Field Documentation

uint8_t accept_len

0-2 bytes.

Repeatable

Definition at line 183 of file sn_coap_header.h.

uint8_t* accept_ptr

Must be set to NULL if not used.

Definition at line 184 of file sn_coap_header.h.

uint8_t block1_len

0-3 bytes.

Definition at line 189 of file sn_coap_header.h.

uint8_t* block1_ptr

Not for User.

Definition at line 190 of file sn_coap_header.h.

uint8_t block2_len

0-3 bytes.

Definition at line 192 of file sn_coap_header.h.

uint8_t* block2_ptr

Not for User.

Definition at line 193 of file sn_coap_header.h.

uint8_t etag_len

1-8 bytes.

Repeatable

Definition at line 164 of file sn_coap_header.h.

uint8_t* etag_ptr

Must be set to NULL if not used.

Definition at line 165 of file sn_coap_header.h.

0-255 bytes.

Repeatable

Definition at line 170 of file sn_coap_header.h.

Must be set to NULL if not used.

Definition at line 171 of file sn_coap_header.h.

0-255 bytes.

Repeatable

Definition at line 176 of file sn_coap_header.h.

Must be set to NULL if not used.

Definition at line 177 of file sn_coap_header.h.

uint8_t max_age_len

0-4 bytes.

Definition at line 158 of file sn_coap_header.h.

uint8_t* max_age_ptr

Must be set to NULL if not used.

Definition at line 159 of file sn_coap_header.h.

uint8_t observe_len

0-2 bytes.

Definition at line 180 of file sn_coap_header.h.

uint8_t* observe_ptr

Must be set to NULL if not used.

Definition at line 181 of file sn_coap_header.h.

uint16_t proxy_uri_len

1-1034 bytes.

Definition at line 161 of file sn_coap_header.h.

uint8_t* proxy_uri_ptr

Must be set to NULL if not used.

Definition at line 162 of file sn_coap_header.h.

uint8_t size1_len

0-4 bytes.

Definition at line 195 of file sn_coap_header.h.

uint8_t* size1_ptr

Not for User.

Definition at line 196 of file sn_coap_header.h.

uint8_t size2_len

0-4 bytes.

Definition at line 198 of file sn_coap_header.h.

uint8_t* size2_ptr

Not for User.

Definition at line 199 of file sn_coap_header.h.

uint16_t uri_host_len

1-255 bytes.

Definition at line 167 of file sn_coap_header.h.

uint8_t* uri_host_ptr

Must be set to NULL if not used.

Definition at line 168 of file sn_coap_header.h.

uint8_t uri_port_len

0-2 bytes.

Definition at line 173 of file sn_coap_header.h.

uint8_t* uri_port_ptr

Must be set to NULL if not used.

Definition at line 174 of file sn_coap_header.h.

uint16_t uri_query_len

1-255 bytes.

Repeatable

Definition at line 186 of file sn_coap_header.h.

uint8_t* uri_query_ptr

Must be set to NULL if not used.

Definition at line 187 of file sn_coap_header.h.