|
liblightmodbus 3.0
A lightweight, header-only, hardware-agnostic Modbus RTU/TCP library
|
Arguments for the data callback. More...
#include <master.h>
Data Fields | |
| ModbusDataType | type |
| Type of Modbus register. | |
| uint16_t | index |
| Index of the register. | |
| uint16_t | value |
| Value of the register. | |
| uint8_t | function |
| Function that reported this value. | |
| uint8_t | address |
| Address of the slave. | |
Arguments for the data callback.
| uint8_t ModbusDataCallbackArgs::address |
Address of the slave.
| uint8_t ModbusDataCallbackArgs::function |
Function that reported this value.
| uint16_t ModbusDataCallbackArgs::index |
Index of the register.
| ModbusDataType ModbusDataCallbackArgs::type |
Type of Modbus register.
| uint16_t ModbusDataCallbackArgs::value |
Value of the register.