liblightmodbus 3.0
A lightweight, header-only, hardware-agnostic Modbus RTU/TCP library
|
Richer error represenation - source and type of error. More...
#include <base.h>
Data Fields | |
unsigned int | source: 2 |
Source of the error (e.g. MODBUS_ERROR_SOURCE_REQUEST) | |
unsigned int | error: 6 |
Contains ModbusError. | |
Richer error represenation - source and type of error.
source
and error
directly. The internal implementation of this struct may change in future releases. For this reason, please use modbusGetGeneralError(), modbusGetRequestError(), modbusGetResponseError(), modbusGetErrorSource() and modbusIsOk() instead. unsigned int ModbusErrorInfo::error |
Contains ModbusError.
unsigned int ModbusErrorInfo::source |
Source of the error (e.g. MODBUS_ERROR_SOURCE_REQUEST)