Chapter 2. API Reference
Public Members
int opt1
Parameter option1
int opt2
Parameter option2
int opt3
Parameter option3
struct mb_parameter_opt_t::[anonymous] [anonymous]
int min
Parameter minimum value
int max
Parameter maximum value
int step
Step of parameter change tracking
struct mb_parameter_opt_t::[anonymous] [anonymous]
Structures
struct mb_parameter_descriptor_t
Characteristics descriptor type is used to describe characteristic and link it with Modbus parameters that reflect
its data.
Public Members
uint16_t cid
Characteristic cid
const char *param_key
The key (name) of the parameter
const char *param_units
The physical units of the parameter
uint8_t mb_slave_addr
Slave address of device in the Modbus segment
mb_param_type_t mb_param_type
Type of modbus parameter
uint16_t mb_reg_start
This is the Modbus register address. This is the 0 based value.
uint16_t mb_size
Size of mb parameter in registers
uint16_t param_offset
Parameter name (OFFSET in the parameter structure)
mb_descr_type_t param_type
Float, U8, U16, U32, ASCII, etc.
mb_descr_size_t param_size
Number of bytes in the parameter.
mb_parameter_opt_t param_opts
Parameter options used to check limits and etc.
mb_param_perms_t access
Access permissions based on mode
Espressif Systems 638
Submit Document Feedback
Release v4.4