|  | 
|  | Modbus () | 
|  | Default constructor. 
 | 
|  | 
| void | addHreg (word offset, word value=0) | 
|  | Add a holding register to the list.  More... 
 | 
|  | 
| bool | setHreg (word offset, word value) | 
|  | Change the value of a holding register This value will be returned when bus read, the master can also modify it.  More... 
 | 
|  | 
| word | hreg (word offset) | 
|  | Return the value of a holding register.  More... 
 | 
|  | 
| bool | setHregBounds (word offset, word min, word max) | 
|  | Sets the bounds of a holding register.  More... 
 | 
|  | 
| bool | hregOutOfBounds (word offset, word value) | 
|  | Checks if the value is outside the bounds of a holging register.  More... 
 | 
|  | 
| bool | Hreg (word offset, word value) | 
|  | Change the value of a holding register This value will be returned when bus read, the master can also modify it.  More... 
 | 
|  | 
| word | Hreg (word offset) | 
|  | Return the value of a holding register.  More... 
 | 
|  | 
| void | setDebug (Print &print) | 
|  | Enable debug mode. 
 | 
|  | 
| bool | isDebug () | 
|  | Returns true if debug mode is enabled. 
 | 
|  | 
| void | debug (const char *msg) | 
|  | Print a debug message, only if debug mode is enabled.  More... 
 | 
|  | 
| void | addCoil (word offset, bool value=false) | 
|  | Add a coil.  More... 
 | 
|  | 
| void | addIsts (word offset, bool value=false) | 
|  | Add a discrete input.  More... 
 | 
|  | 
| void | addIreg (word offset, word value=0) | 
|  | Add a input register.  More... 
 | 
|  | 
| bool | setCoil (word offset, bool value) | 
|  | Change the value of a coil This value will be returned when bus read, the master can also modify it.  More... 
 | 
|  | 
| bool | setIsts (word offset, bool value) | 
|  | Change the value of a discrete input This value will be returned when bus read,.  More... 
 | 
|  | 
| bool | setIreg (word offset, word value) | 
|  | Change the value of an input register This value will be returned when bus read.  More... 
 | 
|  | 
| bool | coil (word offset) | 
|  | Return the value of a coil.  More... 
 | 
|  | 
| bool | ists (word offset) | 
|  | Return the value of a discrete input.  More... 
 | 
|  | 
| word | ireg (word offset) | 
|  | Return the value of an input register.  More... 
 | 
|  | 
| bool | Coil (word offset, bool value) | 
|  | Change the value of a coil This value will be returned when bus read, the master can also modify it.  More... 
 | 
|  | 
| bool | Ists (word offset, bool value) | 
|  | Change the value of a discrete input This value will be returned when bus read,.  More... 
 | 
|  | 
| bool | Ireg (word offset, word value) | 
|  | Change the value of an input register This value will be returned when bus read.  More... 
 | 
|  | 
| bool | Coil (word offset) | 
|  | Return the value of a coil.  More... 
 | 
|  | 
| bool | Ists (word offset) | 
|  | Return the value of a discrete input.  More... 
 | 
|  | 
| word | Ireg (word offset) | 
|  | Return the value of an input register.  More... 
 | 
|  | 
| int | setAdditionalServerData (const char data[]) | 
|  | Sets additional Data for Report Server ID function.  More... 
 | 
|  | 
Modbus base class. 
Definition at line 65 of file Modbus.h.