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.
Dependents: blinky_max32630fthr
sn_coap_options_list_ Struct Reference
Structure for CoAP Options. More...
#include <sn_coap_header.h>
Data Fields | |
| uint8_t | etag_len |
| 1-8 bytes. | |
| uint16_t | proxy_uri_len |
| 1-1034 bytes. | |
| uint16_t | uri_host_len |
| 1-255 bytes. | |
| uint16_t | location_path_len |
| 0-255 bytes. | |
| uint16_t | location_query_len |
| 0-255 bytes. | |
| uint16_t | uri_query_len |
| 1-255 bytes. | |
| sn_coap_content_format_e | accept |
| Value 0-65535. | |
| uint32_t | max_age |
| Value in seconds (default is 60) | |
| uint32_t | size1 |
| 0-4 bytes. | |
| uint32_t | size2 |
| 0-4 bytes. | |
| int32_t | uri_port |
| Value 0-65535. | |
| int32_t | observe |
| Value 0-0xffffff. | |
| int32_t | block1 |
| Value 0-0xffffff. | |
| int32_t | block2 |
| Value 0-0xffffff. | |
| uint8_t * | proxy_uri_ptr |
| Must be set to NULL if not used. | |
| uint8_t * | etag_ptr |
| Must be set to NULL if not used. | |
| uint8_t * | uri_host_ptr |
| Must be set to NULL if not used. | |
| uint8_t * | location_path_ptr |
| Must be set to NULL if not used. | |
| uint8_t * | location_query_ptr |
| Must be set to NULL if not used. | |
| uint8_t * | uri_query_ptr |
| Must be set to NULL if not used. | |
Detailed Description
Structure for CoAP Options.
Definition at line 173 of file sn_coap_header.h.
Field Documentation
| int32_t block1 |
| int32_t block2 |
| uint8_t etag_len |
| uint8_t* etag_ptr |
Must be set to NULL if not used.
Definition at line 195 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 197 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 198 of file sn_coap_header.h.
| uint32_t max_age |
Value in seconds (default is 60)
Definition at line 186 of file sn_coap_header.h.
| int32_t observe |
| uint16_t proxy_uri_len |
1-1034 bytes.
Definition at line 178 of file sn_coap_header.h.
| uint8_t* proxy_uri_ptr |
Must be set to NULL if not used.
Definition at line 194 of file sn_coap_header.h.
| uint32_t size1 |
0-4 bytes.
Definition at line 187 of file sn_coap_header.h.
| uint32_t size2 |
0-4 bytes.
Definition at line 188 of file sn_coap_header.h.
| uint16_t uri_host_len |
1-255 bytes.
Definition at line 179 of file sn_coap_header.h.
| uint8_t* uri_host_ptr |
Must be set to NULL if not used.
Definition at line 196 of file sn_coap_header.h.
| int32_t uri_port |
| uint16_t uri_query_len |
| uint8_t* uri_query_ptr |
Must be set to NULL if not used.
Definition at line 199 of file sn_coap_header.h.
Generated on Tue Jul 12 2022 14:21:37 by
1.7.2