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_platform_info Struct Reference

Structure containing all fields that are retrieved by sol_oic_client_get_platform_info() and sol_oic_client_get_platform_info_by_addr(). More...

#include <sol-oic.h>

Data Fields

uint16_t api_version
 API version. More...
 
struct sol_str_slice firmware_version
 Version of the firmware. More...
 
struct sol_str_slice hardware_version
 Version of the hardware. More...
 
struct sol_str_slice manufacture_date
 Manufacturing date. More...
 
struct sol_str_slice manufacturer_name
 Name of manufacturer. More...
 
struct sol_str_slice manufacturer_url
 URL to manufacturer. More...
 
struct sol_str_slice model_number
 Model number as designated by manufacturer. More...
 
struct sol_str_slice os_version
 Version of the operational system running on the device. More...
 
struct sol_str_slice platform_id
 Platform identifier. More...
 
struct sol_str_slice platform_version
 Version of the platform. More...
 
struct sol_str_slice support_url
 URL to manufacturer's support website. More...
 
struct sol_str_slice system_time
 Current system time in the device. More...
 

Detailed Description

Structure containing all fields that are retrieved by sol_oic_client_get_platform_info() and sol_oic_client_get_platform_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_platform_info::api_version

API version.

struct sol_str_slice sol_oic_platform_info::firmware_version

Version of the firmware.

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

Referenced by platform_info_cb().

struct sol_str_slice sol_oic_platform_info::hardware_version

Version of the hardware.

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

Referenced by platform_info_cb().

struct sol_str_slice sol_oic_platform_info::manufacture_date

Manufacturing date.

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

Referenced by platform_info_cb().

struct sol_str_slice sol_oic_platform_info::manufacturer_name

Name of manufacturer.

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

Referenced by platform_info_cb().

struct sol_str_slice sol_oic_platform_info::manufacturer_url

URL to manufacturer.

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

Referenced by platform_info_cb().

struct sol_str_slice sol_oic_platform_info::model_number

Model number as designated by manufacturer.

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

Referenced by platform_info_cb().

struct sol_str_slice sol_oic_platform_info::os_version

Version of the operational system running on the device.

struct sol_str_slice sol_oic_platform_info::platform_id

Platform identifier.

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

Referenced by platform_info_cb().

struct sol_str_slice sol_oic_platform_info::platform_version

Version of the platform.

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

Referenced by platform_info_cb().

struct sol_str_slice sol_oic_platform_info::support_url

URL to manufacturer's support website.

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

Referenced by platform_info_cb().

struct sol_str_slice sol_oic_platform_info::system_time

Current system time in the device.


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