1#ifndef LIGHTMODBUS_DEBUG_H
2#define LIGHTMODBUS_DEBUG_H
Common types and functions (header)
ModbusExceptionCode
Represents a Modbus exception code.
Definition base.h:230
ModbusDataType
Represents different Modbus data types.
Definition base.h:244
ModbusError
Represtents different kinds of errors.
Definition base.h:137
const char * modbusRegisterQueryStr(ModbusRegisterQuery query)
Returns a string containing the name of the ModbusRegisterQuery enum value.
Definition debug.impl.h:102
const char * modbusErrorStr(ModbusError err)
Returns a string containing the name of the ModbusError value.
Definition debug.impl.h:26
const char * modbusErrorSourceStr(uint8_t src)
Returns a string containing the name error source.
Definition debug.impl.h:51
const char * modbusDataTypeStr(ModbusDataType type)
Returns a string containing the name of the ModbusDataType enum value.
Definition debug.impl.h:86
const char * modbusExceptionCodeStr(ModbusExceptionCode code)
Returns a string containing the name of the ModbusExceptionCode enum value.
Definition debug.impl.h:67
Slave's types and basic functions (header)
ModbusRegisterQuery
Determines type of request made to the register callback function.
Definition slave.h:37