NSDL C library

Dependents:   NSDL_HelloWorld_WiFi UbloxModemNanoServiceClient IOT-NSDL_HelloWorld LWM2M_NanoService_Ethernet ... more

Fork of nsdl_lib by Tero Heinonen

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.

Detailed Description

Structure for CoAP Options.

Definition at line 144 of file sn_coap_header.h.


Field Documentation

uint8_t accept_len

0-2 bytes.

Repeatable

Definition at line 172 of file sn_coap_header.h.

uint8_t* accept_ptr

Must be set to NULL if not used.

Definition at line 173 of file sn_coap_header.h.

uint8_t block1_len

0-3 bytes.

Definition at line 178 of file sn_coap_header.h.

uint8_t* block1_ptr

Not for User.

Definition at line 179 of file sn_coap_header.h.

uint8_t block2_len

0-3 bytes.

Definition at line 181 of file sn_coap_header.h.

uint8_t* block2_ptr

Not for User.

Definition at line 182 of file sn_coap_header.h.

uint8_t etag_len

1-8 bytes.

Repeatable

Definition at line 153 of file sn_coap_header.h.

uint8_t* etag_ptr

Must be set to NULL if not used.

Definition at line 154 of file sn_coap_header.h.

0-255 bytes.

Repeatable

Definition at line 159 of file sn_coap_header.h.

Must be set to NULL if not used.

Definition at line 160 of file sn_coap_header.h.

0-255 bytes.

Repeatable

Definition at line 165 of file sn_coap_header.h.

Must be set to NULL if not used.

Definition at line 166 of file sn_coap_header.h.

uint8_t max_age_len

0-4 bytes.

Definition at line 147 of file sn_coap_header.h.

uint8_t* max_age_ptr

Must be set to NULL if not used.

Definition at line 148 of file sn_coap_header.h.

uint8_t observe_len

0-2 bytes.

Definition at line 169 of file sn_coap_header.h.

uint8_t* observe_ptr

Must be set to NULL if not used.

Definition at line 170 of file sn_coap_header.h.

uint16_t proxy_uri_len

1-1034 bytes.

Definition at line 150 of file sn_coap_header.h.

uint8_t* proxy_uri_ptr

Must be set to NULL if not used.

Definition at line 151 of file sn_coap_header.h.

uint16_t uri_host_len

1-255 bytes.

Definition at line 156 of file sn_coap_header.h.

uint8_t* uri_host_ptr

Must be set to NULL if not used.

Definition at line 157 of file sn_coap_header.h.

uint8_t uri_port_len

0-2 bytes.

Definition at line 162 of file sn_coap_header.h.

uint8_t* uri_port_ptr

Must be set to NULL if not used.

Definition at line 163 of file sn_coap_header.h.

uint16_t uri_query_len

1-255 bytes.

Repeatable

Definition at line 175 of file sn_coap_header.h.

uint8_t* uri_query_ptr

Must be set to NULL if not used.

Definition at line 176 of file sn_coap_header.h.