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: mbed-TFT-example-NCS36510 mbed-Accelerometer-example-NCS36510 mbed-Accelerometer-example-NCS36510
sn_nsdl_resource_parameters_ Struct Reference
Resource registration parameters. More...
#include <sn_nsdl_lib.h>
Data Fields | |
| uint16_t | coap_content_type |
| CoAP content type. | |
| unsigned | access:4 |
| Allowed operation mode, GET, PUT, etc, TODO! This should be in static struct but current mbed-client implementation requires this to be changed at runtime. | |
| unsigned | registered:2 |
| Is resource registered or not. | |
| bool | publish_uri:1 |
| 1 if resource to be published to server | |
| bool | free_on_delete:1 |
| 1 if struct is dynamic allocted --> to be freed | |
| bool | observable:1 |
| Is resource observable or not. | |
Detailed Description
Resource registration parameters.
Defines dynamic parameters for the resource.
Definition at line 167 of file sn_nsdl_lib.h.
Field Documentation
| unsigned access |
Allowed operation mode, GET, PUT, etc, TODO! This should be in static struct but current mbed-client implementation requires this to be changed at runtime.
Definition at line 170 of file sn_nsdl_lib2.h.
| uint16_t coap_content_type |
CoAP content type.
Definition at line 174 of file sn_nsdl_lib.h.
| bool free_on_delete |
1 if struct is dynamic allocted --> to be freed
Definition at line 175 of file sn_nsdl_lib2.h.
| bool observable |
Is resource observable or not.
Definition at line 176 of file sn_nsdl_lib2.h.
| bool publish_uri |
1 if resource to be published to server
Definition at line 174 of file sn_nsdl_lib2.h.
| unsigned registered |
Is resource registered or not.
Definition at line 173 of file sn_nsdl_lib2.h.
Generated on Tue Jul 12 2022 11:03:19 by
1.7.2