API  2.2
TSmarT Software Library
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
tsmart_lhings_device_descriptor_t Struct Reference

Device descriptor structure. More...

#include <tsmart_lhings.h>

Data Fields

uint32_t version
 
uint8_t * device_type
 
uint8_t * friendly_name
 
uint8_t * manufacturer
 
uint8_t * model_name
 
uint8_t * serial_number
 
tsmart_lhings_event_tevents
 
uint8_t n_events
 
tsmart_lhings_action_tactions
 
uint8_t n_actions
 
tsmart_lhings_state_variable_tstate_variables
 
uint8_t n_state_variables
 

Detailed Description

Device descriptor structure.

Examples:
lhings_2g.c, lhings_eth.c, and lhings_wifi.c.

Field Documentation

Actions to be registered

Examples:
lhings_2g.c, lhings_eth.c, and lhings_wifi.c.
uint8_t* device_type

Device type

Examples:
lhings_2g.c, lhings_eth.c, and lhings_wifi.c.

Events to be registered

Examples:
lhings_2g.c, lhings_eth.c, and lhings_wifi.c.
uint8_t* friendly_name

friendly name

Examples:
lhings_2g.c, lhings_eth.c, and lhings_wifi.c.
uint8_t* manufacturer

Manufacturer

Examples:
lhings_2g.c, lhings_eth.c, and lhings_wifi.c.
uint8_t* model_name

Model name

Examples:
lhings_2g.c, lhings_eth.c, and lhings_wifi.c.
uint8_t n_actions

Number of actions to be registered

Examples:
lhings_2g.c, lhings_eth.c, and lhings_wifi.c.
uint8_t n_events

Number of events to be registered

Examples:
lhings_2g.c, lhings_eth.c, and lhings_wifi.c.
uint8_t n_state_variables

Number of state variables to be registered

Examples:
lhings_2g.c, lhings_eth.c, and lhings_wifi.c.
uint8_t* serial_number

Serial number

Examples:
lhings_2g.c, lhings_eth.c, and lhings_wifi.c.

State Varibales to be registered

Examples:
lhings_2g.c, lhings_eth.c, and lhings_wifi.c.
uint32_t version

Firmware/Hardware version

Examples:
lhings_2g.c, lhings_eth.c, and lhings_wifi.c.