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

Lhings rule structure. More...

#include <tsmart_lhings.h>

Data Fields

uint8_t * name
 
uint32_t rule_id
 
uint8_t * target_device
 
uint8_t * source_app
 
uint8_t * target_app
 
uint8_t * source_event
 
uint8_t * target_action
 
uint8_t n_target_action_args
 
tsmart_lhings_action_arg_ttarget_action_args
 

Detailed Description

Lhings rule structure.

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

Field Documentation

uint8_t n_target_action_args

Number of arguments of the target action

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

Rule name

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

Rule identifier

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

Source app

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

Source event

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

Target action

Examples:
lhings_2g.c, lhings_eth.c, and lhings_wifi.c.
tsmart_lhings_action_arg_t* target_action_args

Target action arguments

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

Target app

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

Target UUID

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