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