Agile Modbus
1.1.4
Lightweight modbus protocol stack.
|
Agile Modbus structure. More...
#include <agile_modbus.h>
Data Fields | |
int | slave |
slave address More... | |
uint8_t * | send_buf |
Send buffer. More... | |
int | send_bufsz |
Send buffer size. More... | |
uint8_t * | read_buf |
Receive buffer. More... | |
int | read_bufsz |
Receive buffer size. More... | |
uint8_t(* | compute_meta_length_after_function )(agile_modbus_t *ctx, int function, agile_modbus_msg_type_t msg_type) |
Customized calculation data element length interface. More... | |
int(* | compute_data_length_after_meta )(agile_modbus_t *ctx, uint8_t *msg, int msg_length, agile_modbus_msg_type_t msg_type) |
Customized calculation data length interface. More... | |
const agile_modbus_backend_t * | backend |
Backend interface. More... | |
void * | backend_data |
Backend data, pointing to RTU or TCP structure. More... | |
Agile Modbus structure.
Definition at line 217 of file agile_modbus.h.
int agile_modbus::slave |
slave address
Definition at line 218 of file agile_modbus.h.
uint8_t* agile_modbus::send_buf |
Send buffer.
Definition at line 219 of file agile_modbus.h.
int agile_modbus::send_bufsz |
Send buffer size.
Definition at line 220 of file agile_modbus.h.
uint8_t* agile_modbus::read_buf |
Receive buffer.
Definition at line 221 of file agile_modbus.h.
int agile_modbus::read_bufsz |
Receive buffer size.
Definition at line 222 of file agile_modbus.h.
uint8_t(* agile_modbus::compute_meta_length_after_function) (agile_modbus_t *ctx, int function, agile_modbus_msg_type_t msg_type) |
Customized calculation data element length interface.
Definition at line 223 of file agile_modbus.h.
int(* agile_modbus::compute_data_length_after_meta) (agile_modbus_t *ctx, uint8_t *msg, int msg_length, agile_modbus_msg_type_t msg_type) |
Customized calculation data length interface.
Definition at line 225 of file agile_modbus.h.
const agile_modbus_backend_t* agile_modbus::backend |
Backend interface.
Definition at line 227 of file agile_modbus.h.
void* agile_modbus::backend_data |
Backend data, pointing to RTU or TCP structure.
Definition at line 228 of file agile_modbus.h.