Sony SNT-V304 Home Theater System User Manual


 
101
x Generic Driver
The HTTP Generic driver is enabled by selecting the
Generic checkbox in Serial Port 1 (or 2) settings.
To enable TCP Generic driver a TCP port number
must be selected in the Generic Driver settings.
z HTTP Generic driver
Method: GET/POST
Syntax: control serial port
http://<
servername
>/cgi-bin/
control?<
parameter
>=<
value
>[&<
parameter
>=
<
value
>... ]
with the following parameter and values
z TCP Generic driver
Set a TCP port number in the Generic driver settings
(0 disabled)
It is now possible for clients to connect to the specified
TCP port number. The data sent from the connected
client is forwarded to the serial port on the video
network station and the data received at the video
network station serial port is forwarded to the client. It
is possible for more than one client to connect at the
same time.
<parameter>=<value>
port=<int>
write=<string>
dataout=<string>
writestring=<string>
read=<int>
timeout=<int>
wait=<int>
Values
1 or 2
<
bytestring
>
<url
encoded
string>
1, ...
1 - 9000
1 - 9
Description
The COM port is selected with this
parameter.
<bytestring>: hex coded bytes with
values of {0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
A, B, C, D, E, F, a, b, c, d, e, f}
Writes the specified data string to
the selected serial port. Max string
length: 254 bytes.
Writes the url encoded string to the
selected serial port.
Max string length: 255 bytes.
Reads n bytes from the selected
serial port.
The returned data will be
hexadecimal coded and placed
between #s (e.g. #3A#)
Specified in milliseconds. Used
together with the “read” parameter.
A read is terminated when the
specified number of bytes is read or
when the wait period has ended.
Specified in seconds. Used together
with the “read” parameter. A read is
terminated when the specified
number of bytes is read or the
timeout has expired.