Soletta™ Framework
Framework for making IoT devices

Full online documentation | C API Index
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
sol_oic_device_info Struct Reference

Structure containing all fields that are retrieved by sol_oic_client_get_server_info() and sol_oic_client_get_server_info_by_addr(). More...

#include <sol-oic.h>

Data Fields

uint16_t api_version
 API version. More...
 
struct sol_str_slice data_model_version
 Spec version of data model. More...
 
struct sol_str_slice device_id
 Unique device identifier. More...
 
struct sol_str_slice device_name
 Device name. More...
 
struct sol_str_slice spec_version
 Spec version of the core specification implemented by this device. More...
 

Detailed Description

Structure containing all fields that are retrieved by sol_oic_client_get_server_info() and sol_oic_client_get_server_info_by_addr().

It's open to the API user to bypass the need for getters for everything, but all callbacks returning an instance do so with a const modifier. The user must never change these fields, ever.

Examples:
/src/samples/coap/iotivity-test-client.c.

Field Documentation

uint16_t sol_oic_device_info::api_version

API version.

struct sol_str_slice sol_oic_device_info::data_model_version

Spec version of data model.

Examples:
/src/samples/coap/iotivity-test-client.c.

Referenced by server_info_cb().

struct sol_str_slice sol_oic_device_info::device_id

Unique device identifier.

Examples:
/src/samples/coap/iotivity-test-client.c.

Referenced by server_info_cb().

struct sol_str_slice sol_oic_device_info::device_name

Device name.

Examples:
/src/samples/coap/iotivity-test-client.c.

Referenced by server_info_cb().

struct sol_str_slice sol_oic_device_info::spec_version

Spec version of the core specification implemented by this device.

Examples:
/src/samples/coap/iotivity-test-client.c.

Referenced by server_info_cb().


The documentation for this struct was generated from the following file: