Raritan PX2/PX3 JSON-RPC API
LhxConfig.idl
1 #ifndef __LHXMODEL_CONFIG_IDL__
2 #define __LHXMODEL_CONFIG_IDL__
3 
4 #include <UserEvent.idl>
5 
7 module lhxmodel {
8 
10  interface Config_1_0_1 {
11 
12  constant int NO_ERROR = 0;
13  constant int ERR_INVALID_PARAMS = 1;
14 
16  structure ComSettings {
17  byte devAddr;
18  byte lhxAddr;
19  };
20 
22  valueobject ComSettingsChangedEvent extends event.UserEvent {
23  ComSettings oldSettings;
25  };
26 
28  valueobject PortNameChangedEvent extends event.UserEvent {
29  string oldName;
30  string newName;
31  };
32 
38  ComSettings getComSettings();
39 
48  int setComSettings(in ComSettings settings);
49 
55  string getName();
56 
65  int setName(in string name);
66  };
67 
68 }
69 
70 #endif /* !__LHXMODEL_CONFIG_IDL__ */
71 
byte lhxAddr
LHX STBus address.
Definition: LhxConfig.idl:18
string newName
Name after change.
Definition: LhxConfig.idl:30
LHX port communication settings.
Definition: LhxConfig.idl:16
LHX Model.
Definition: Lhx.idl:9
ComSettings newSettings
Settings after change.
Definition: LhxConfig.idl:24
LHX Configuration Interface.
Definition: LhxConfig.idl:10
byte devAddr
EMX/PX STBus address.
Definition: LhxConfig.idl:17