Raritan PX2/PX3 JSON-RPC API
ModbusGatewayMgr.idl
1 #ifndef __MODBUS_GATEWAY_MGR_IDL__
2 #define __MODBUS_GATEWAY_MGR_IDL__
3 
4 module modbus {
5  interface GatewayMgr {
6  constant int NO_ERROR = 0;
7  constant int ERR_INVALID_PARAMS = 1;
8 
10  structure RtuSettings {
11  byte defaultAddr;
12  int speed;
13  byte parity;
14  };
15 
17  structure Settings {
19  };
20 
26  Settings getSettings();
27 
36  int setSettings(in Settings settings);
37  };
38 }
39 
40 #endif /* !__MODBUS_GATEWAY_MGR_IDL__ */
byte parity
Modbus serial line parity (N/E/O)
Definition: ModbusGatewayMgr.idl:13
byte defaultAddr
Modbus serial device default address.
Definition: ModbusGatewayMgr.idl:11
RtuSettings rtu
Modbus RTU settings.
Definition: ModbusGatewayMgr.idl:18
Definition: ModbusDevice.idl:4
Modbus gateway settings (extending modb PortMux service)
Definition: ModbusGatewayMgr.idl:17
int speed
Modbus serial line speed.
Definition: ModbusGatewayMgr.idl:12
Definition: ModbusGatewayMgr.idl:5
Modbus RTU settings.
Definition: ModbusGatewayMgr.idl:10