44
Setting/Inquiring by CGI
Commands
Setting by Commands
Set the camera by describing the CGI commands
following the syntax below. It is possible to
transmit several parameters at one time if the
parameter is the same CGI name (part of <cgi> of
Syntax). In this case, it is necessary to insert "&"
between each <parameter>=<value>.
Method
GET/POST
Syntax
Parameters
Refer to “CGI Commands” for details.
Note that angle brackets in the table “CGI
Comma
nds,” “<” and “>,” mean that a string
b
etween one pair of angle brackets is just a
symbol for numbers, not the parameter name
i
tself. For example, if a parameter name is
described as SampleParam<n>, for actual usage,
SampleParam1, SampleParam2, ... are valid
expressions.
Inquiring by Commands
The following Inquiry command is used current
status of the camera. The item which has an
inquiry parameter in “CGI Commands” can be
inquired as its current settings.
Method
GET/POST
Syntax
The response is as follows.
http://<camera_address>/command/
<cgi>?<parameter>=
<value>[&<parameter>=<value>...]
or
http://<camera_address>/command/
<
cgi>?<parameter>=
<value1,value2,...,valueN>
http://<camera_address>/command/inquiry.cgi?inq=
<Inquiry>[&inq=<Inquiry>...]
HTTP/1.0 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length: <len>\r\n
\r\n
var <parameter>=“<value>”\r\n
var <parameter>=“<value>”\r\n
var <parameter>=“<value>”\r\n
:
: