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_lwm2m_resource::sol_lwm2m_resource_data Struct Reference

The resource data array. More...

#include <sol-lwm2m.h>

Data Fields

union {
   bool   b
 The resource is a bool value. More...
 
   struct sol_blob *   blob
 The resource is opaque or an string. More...
 
   double   fp
 The resource is a float value. More...
 
   int64_t   integer
 The resource is a integer value. More...
 
content
 
uint16_t id
 

Detailed Description

The resource data array.

Field Documentation

bool sol_lwm2m_resource::sol_lwm2m_resource_data::b

The resource is a bool value.

Examples:
/src/samples/coap/lwm2m-client.c.

Referenced by write_security_res().

struct sol_blob* sol_lwm2m_resource::sol_lwm2m_resource_data::blob

The resource is opaque or an string.

Examples:
/src/samples/coap/lwm2m-client.c.

Referenced by write_security_res(), and write_server_res().

union { ... } sol_lwm2m_resource::sol_lwm2m_resource_data::content
double sol_lwm2m_resource::sol_lwm2m_resource_data::fp

The resource is a float value.

uint16_t sol_lwm2m_resource::sol_lwm2m_resource_data::id
int64_t sol_lwm2m_resource::sol_lwm2m_resource_data::integer

The resource is a integer value.

Examples:
/src/samples/coap/lwm2m-client.c.

Referenced by write_access_control_res(), write_security_res(), and write_server_res().


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