17
APPENDIX 4 RS-232/LAN Control Protocol
RS232 Control
LAN Control
(RPC calls via HTTP Post)
TRS (Tip, Ring, Sleeve) connector
Tip - TX
Ring - RX
Sleeve - Ground
Baud Rate - 9600, 8, N, 1, N
Examples:
!VOL024<CR>
Will set the volume on the V-Tune Pro
HD to 24
?VOL<CR>
Will query the current volume on the
V-Tune Pro HD
~VOL024<CR>
Will be the response from the VTune
Pro HD
If a command in the RS-232 protocol is !<CR> then the RPC will
use just the . ! and <cr> is not used in LAN commands.
Note
: Certain Characters like “+” may need encoding and sent as “%2b”
due to the way post commands work. Password default is 0000 and reflects
the password in parental VCHIP controls. Commands are case sensitive.
Examples:
Here is a sample RPC command, where the tuner IP is 192.168.1.200
URL:
http://192.168.1.200/rpc
RPC Command:
method=Send_Command&cmd=KEY_VOL%2b&password=0000
Will increase the volume on the V-Tune Pro HD
RPC Command:
method=Send_Command&cmd=VOL024&password=0000
Will set the volume on the V-Tune Pro HD to 24
RPC Command:
method=Get_Status&cmd=VOL&password=0000
Will query the current volume on the V-Tune Pro HD
query=VOL&status=24
Will be the response from the VTune Pro HD
cmd=PWRON&status=0&error=Power%20already%20on
Will be the response from the VTune Pro HD if there is an error
NOTES:
! IS A COMMAND (Does not have to be case sensitive)
? IS A QUERY COMMAND (Does not have to be case sensitive)
~ IS A RESPONSE (All responses are capitals)
“<CR>” Represents a carriage return (Hexadecimal character ‘0D’)
Command
Description
!KEY_LEFT<CR>
Left arrow key
!KEY_RIGHT<CR>
Right arrow key
!KEY_UP<CR>
Up arrow key
!KEY_DOWN<CR>
Down arrow key
!KEY_OK<CR>
Menu select
!KEY_CH-<CR>
Channel down
!<CR>
Channel up
!KEY_LAST<CR>
Toggles between the current channel and last channel
!KEY_ENTER<CR>
Enter button for channel selection
!KEY_0<CR>
0
!KEY_1<CR>
1
!KEY_2<CR>
2
!KEY_3<CR>
3
!KEY_4<CR>
4
!KEY_5<CR>
5
!KEY_6<CR>
6
!KEY_7<CR>
7
!KEY_8<CR>
8
!KEY_9<CR>
9
!KEY_.<CR>
.
!<CR>
Volume up
Summary of Contents for V-Tune Pro VPH-100
Page 1: ...Manual Number 120223...
Page 26: ...23...