Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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 | 
| 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 | 
| uint8_t* etag_ptr | 
Must be set to NULL if not used.
Definition at line 165 of file sn_coap_header.h.
| uint16_t location_path_len | 
| uint8_t* location_path_ptr | 
Must be set to NULL if not used.
Definition at line 171 of file sn_coap_header.h.
| uint16_t location_query_len | 
| uint8_t* location_query_ptr | 
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 | 
| uint8_t* uri_query_ptr | 
Must be set to NULL if not used.
Definition at line 187 of file sn_coap_header.h.
Generated on Tue Jul 12 2022 13:06:11 by
 1.7.2
 1.7.2