
Appendix E -
CGI Parameters
AXIS 2400/2401 Administration Manual
54
CGI Parameters for Preset Positions
For preset position requests, use this syntax:
It is also possible to use an index number instead of the preset position name:
CGI Parameters for Serial Port Control
For HTTP input/output operations on the Pan/Tilt port requires the
Generic d
river to be selected.
Use the following syntax:
This table lists the CGI parameters for input/output operations
http://<servername>/cgi-bin/control?presetposname=<position name>&camera=<n>
http://<servername>/cgi-bin/control?presetposno=<1-20>&camera=<n>
http://<servername>/cgi-bin/control?<parameter>=<value>[&<parameter>=<value>...]
Parameter/Syntax
Description
Values
dataout=<string>
Writes a specified data string to the
defined serial port (see port
parameter, below). Maximum string
length = 128 bytes.
Hexadecimal coded
bytes {0, 1, 2, 3, 4, 5, 6,
7, 8, 9, A, B, C, D, E, F,
a, b, c, d, e, f}
port = <n>
Selects the serial port as either
COM1 or COM2. This is mandatory
and must be submitted.
1 or 2
read=<n>
Reads the specified number of bytes
from the Pan/Tilt port. The returned
value will be hexadecimal coded
and placed between #’s, e.g. #3A#.
1 ... 128
wait=<n>
Waits the specified number of
seconds before reading from the
Pan/Tilt port. Used together with the
“read” parameter.
1 ... 9
flush=<value>
Empties the input buffer for the
Pan/Tilt port. Always performed first
when combined with other
parameters.
yes/no