IoTivity-Lite
|
resource structure More...
#include <oc_ri.h>
Data Fields | |
oc_ace_permissions_t | anon_permission_in_rfotm |
permissions for anonymous connection in RFOTM More... | |
oc_interface_mask_t | default_interface |
default interface More... | |
oc_request_handler_t | delete_handler |
callback for DELETE More... | |
size_t | device |
device index More... | |
uint64_t | etag |
entity tag (ETag) for the resource More... | |
oc_request_handler_t | get_handler |
callback for GET More... | |
oc_properties_cb_t | get_properties |
callback for get properties More... | |
oc_interface_mask_t | interfaces |
supported interfaces More... | |
oc_string_t | name |
name of the resource (e.g. "n") More... | |
struct oc_resource_s * | next |
next resource More... | |
uint8_t | num_links |
number of links in the collection More... | |
uint8_t | num_observers |
amount of observers More... | |
uint16_t | observe_period_seconds |
observe period in seconds More... | |
oc_payload_callback_t | payload_builder |
callback to build contents of PUSH Notification More... | |
oc_request_handler_t | post_handler |
callback for POST More... | |
oc_resource_properties_t | properties |
properties (as bit mask) More... | |
oc_request_handler_t | put_handler |
callback for PUT More... | |
oc_properties_cb_t | set_properties |
callback for set properties More... | |
oc_enum_t | tag_func_desc |
tag (value) for function description More... | |
oc_locn_t | tag_locn |
tag (value) for location description More... | |
oc_pos_description_t | tag_pos_desc |
tag (value) for position description More... | |
double | tag_pos_rel [3] |
tag relative position [x,y,z] More... | |
oc_string_array_t | types |
"rt" types of the resource More... | |
oc_string_t | uri |
uri of the resource More... | |
resource structure
oc_ace_permissions_t anon_permission_in_rfotm |
permissions for anonymous connection in RFOTM
oc_interface_mask_t default_interface |
default interface
oc_request_handler_t delete_handler |
callback for DELETE
size_t device |
device index
uint64_t etag |
entity tag (ETag) for the resource
oc_request_handler_t get_handler |
callback for GET
oc_properties_cb_t get_properties |
callback for get properties
oc_interface_mask_t interfaces |
supported interfaces
oc_string_t name |
name of the resource (e.g. "n")
struct oc_resource_s* next |
next resource
uint8_t num_links |
number of links in the collection
uint8_t num_observers |
amount of observers
uint16_t observe_period_seconds |
observe period in seconds
oc_payload_callback_t payload_builder |
callback to build contents of PUSH Notification
oc_request_handler_t post_handler |
callback for POST
oc_resource_properties_t properties |
properties (as bit mask)
oc_request_handler_t put_handler |
callback for PUT
oc_properties_cb_t set_properties |
callback for set properties
oc_enum_t tag_func_desc |
tag (value) for function description
oc_locn_t tag_locn |
tag (value) for location description
oc_pos_description_t tag_pos_desc |
tag (value) for position description
double tag_pos_rel[3] |
tag relative position [x,y,z]
oc_string_array_t types |
"rt" types of the resource
oc_string_t uri |
uri of the resource