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 Structures | Data Fields
sol_lwm2m_resource Struct Reference

Struct that represents a LWM2M resource. More...

#include <sol-lwm2m.h>

Data Structures

struct  sol_lwm2m_resource_data
 The resource data array. More...
 

Data Fields

uint16_t api_version
 API version. More...
 
struct
sol_lwm2m_resource::sol_lwm2m_resource_data
data
 
uint16_t data_len
 The resource data array len. More...
 
enum sol_lwm2m_resource_data_type data_type
 The resource data type. More...
 
uint16_t id
 The resource id. More...
 
enum sol_lwm2m_resource_type type
 The resource type. More...
 

Detailed Description

Struct that represents a LWM2M resource.

See Also
sol_lwm2m_resource_init()
Examples:
/src/samples/coap/lwm2m-bs-server.c, /src/samples/coap/lwm2m-client.c, and /src/samples/coap/lwm2m-server.c.

Field Documentation

uint16_t sol_lwm2m_resource::api_version

API version.

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

Referenced by read_access_control_obj().

struct sol_lwm2m_resource::sol_lwm2m_resource_data * sol_lwm2m_resource::data
uint16_t sol_lwm2m_resource::data_len

The resource data array len.

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

Referenced by write_access_control_res().

enum sol_lwm2m_resource_data_type sol_lwm2m_resource::data_type

The resource data type.

uint16_t sol_lwm2m_resource::id
enum sol_lwm2m_resource_type sol_lwm2m_resource::type

The resource type.

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

Referenced by write_access_control_res().


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