Raritan PX2/PX3 JSON-RPC API
|
86 constant
int ERR_NO_TEST_MODE = 1;
87 constant
int ERR_INVAL_PORT_NUM = 2;
88 constant
int ERR_TEST_FAILED = 3;
142 constant
int ERR_NO_TEST_MODE = 1;
143 constant
int ERR_INVAL_PORT_NUM = 2;
144 constant
int ERR_TEST_FAILED = 3;
201 in
boolean isAutoNeg);
test routines for Raritan Feature Serial interface (RS232 with some control lines and switched power)...
Definition: testrpc.idl:83
int getNumberOfPorts(out int numPorts)
returns number of ports
int code
Result code.
Definition: testrpc.idl:27
vector< string > getDeviceFiles()
returns list of valid device files for the test
int getNumberOfPorts(out int numPorts)
returns number of ports
boolean isTestMode()
returns actual state of test mode
test routines for Raritan Aux Serial interface (RS485 on pins 3 and 6 of RJ45) Require TestMode to be...
Definition: testrpc.idl:139
int testLoopTxRx(in int portNum, out string errstr)
Performs a loop test with special test adapter TX->RX.
string errtext
Descriptive error string.
Definition: testrpc.idl:28
@ SPD_10
10 Mbit/s
Definition: testrpc.idl:183
int testLoopDtrDcd(in int portNum, out string errstr)
Performs a loop test with special test adapter DTR->DCD.
Duplex
Ethernet Duplex Mode.
Definition: testrpc.idl:189
@ DPX_HALF
Half Duplex.
Definition: testrpc.idl:190
Speed
Ethernet Speed.
Definition: testrpc.idl:182
Test Interfaces.
Definition: TestDisplay.idl:12
void setTestMode(in boolean isTestModeOn)
sets the unit in test mode which pulls away services dealing with feature ports, aux ports,...
int setPower(in int portNum, in boolean hasPower)
Switches Power supplied to the port Observable with special test adapter Power->LED.
Result testLoop1(in string devfile)
loop test with adapter 1 DTR->DSR, RTS->CTS
int setParameters(in string device, in Speed speed, in Duplex duplex, in boolean isAutoNeg)
transiently sets the interface to the desired parameters
@ SPD_100
100 Mbit/s
Definition: testrpc.idl:184
int testLoop(in int portNum, out string errstr)
Performs a loop test with special test adapter.
test routines for RJ45 Ethernet port This is low level interface using ethtool that does not persist ...
Definition: testrpc.idl:174
Convenience structure to return test or operation results.
Definition: testrpc.idl:26
Test routines for full RS232 Serial Interface.
Definition: testrpc.idl:56
Interface to enter and exit special test modes.
Definition: testrpc.idl:37
vector< string > getDevices()
returns a a list of valid network interface devices
Result testLoop2(in string devfile)
loop test with adapter 2 DTR->DCD, RTS->RI