liblightmodbus 3.0
A lightweight, header-only, hardware-agnostic Modbus RTU/TCP library
|
Slave device status. More...
#include <slave.h>
Data Fields | |
ModbusRegisterCallback | registerCallback |
A pointer to register callback (required) | |
ModbusSlaveExceptionCallback | exceptionCallback |
A pointer to exception callback (optional) | |
const ModbusSlaveFunctionHandler * | functions |
A pointer to an array of function handlers (required) | |
uint8_t | functionCount |
Number of function handlers in the array (functions ) | |
ModbusBuffer | response |
Stores slave's response to master. | |
void * | context |
User's context pointer | |
Slave device status.
void* ModbusSlave::context |
User's context pointer
ModbusSlaveExceptionCallback ModbusSlave::exceptionCallback |
A pointer to exception callback (optional)
uint8_t ModbusSlave::functionCount |
Number of function handlers in the array (functions
)
const ModbusSlaveFunctionHandler* ModbusSlave::functions |
A pointer to an array of function handlers (required)
ModbusRegisterCallback ModbusSlave::registerCallback |
A pointer to register callback (required)
ModbusBuffer ModbusSlave::response |
Stores slave's response to master.