18
User Guide
TCP/RPC Command Usage
Sample Usage
Send the serial command “PowerOn<0D>” out the RX serial port:
method=Serial_Send¶m1=2¶m2=PowerOn%0D¶m3=100
Send the ‘Play’ command to a DVD player on the DXE-CAT-S2L TX side:
method=IR_SendCommand¶m1=1¶m2=DVD¶m3=Play
Retrieve a list of all IR file names:
method=GetIRFileNames
Response Tokens
status
- 0 for Failure, 1 for Success
faultCode
- If status
is 0 (failure), faultCode
will be an integer representing a specific error. This token is
NOT returned if status is 1 (success).
response
[
i
] - Returned value #
i
, where
i
is an integer. If status
is 0 (fail), the value for
response1
will be a string describing the failure, and the value for
b
will be a debug
string giving more information about the failure.
Example using the call for the Net_GetSubnetMask method:
method=Net_GetSubnetMask
Sample response:
status=1&response1=255.255.255.0