Soletta™ Framework
|
Structure defining an OIC resource. More...
#include <sol-oic-client.h>
Data Fields | |
const struct sol_network_link_addr | addr |
The resource address. More... | |
uint16_t | api_version |
API version. More... | |
const struct sol_str_slice | device_id |
The Device ID as a UUID 16-byte array. More... | |
const struct sol_vector | interfaces |
List of interfaces implemented by this resource. More... | |
const bool | observable |
True if server supports observe mode for this resource. More... | |
const struct sol_str_slice | path |
The path pointing at this resource. More... | |
const bool | secure |
True if the connection established with this resource's server is secure. More... | |
const struct sol_vector | types |
List of resource types (sol_str_slice entries) from this resource. More... | |
Structure defining an OIC resource.
It's open to the API user to bypass the need for getters for everything, but all fields are marked as const to emphasize that the user must not alter any of them.
const struct sol_network_link_addr sol_oic_resource::addr |
The resource address.
Referenced by found_resource(), and found_resource_print().
uint16_t sol_oic_resource::api_version |
API version.
const struct sol_str_slice sol_oic_resource::device_id |
The Device ID as a UUID 16-byte array.
Referenced by found_resource(), and found_resource_print().
const struct sol_vector sol_oic_resource::interfaces |
List of interfaces implemented by this resource.
Referenced by found_resource(), and found_resource_print().
const bool sol_oic_resource::observable |
True if server supports observe mode for this resource.
Referenced by found_resource(), and found_resource_print().
const struct sol_str_slice sol_oic_resource::path |
The path pointing at this resource.
Referenced by found_resource(), and found_resource_print().
const bool sol_oic_resource::secure |
True if the connection established with this resource's server is secure.
Referenced by found_resource(), and found_resource_print().
const struct sol_vector sol_oic_resource::types |
List of resource types (sol_str_slice entries) from this resource.
Referenced by found_resource(), and found_resource_print().