Sony SNCDH110W Security Camera User Manual


 
CGI Command Manual
20
7 Inquiry commands of camera parameters
These are to be used to inquire current status of the camera. The item which has an inquiry parameter in
the "11. CGI commands list" can be inquired such as its current status. As a response format, "standard
format" and "JS parameter format" which you can select arbitrarily are supported.
<Method>
GET/POST
(1) In the case of getting "standard format" response
<Syntax>
http://ip_adr/command/inquiry.cgi?inq=<Inquiry>[&inq=<Inquiry>&inq=<Inquiry>...]
The response of the inquiry is as follows in the case of "standard format".
HTTP/1.0 200 OK¥r¥n Content-Type: text/plain¥r¥n
Content-Length: <len>¥r¥n
¥r¥n
<parameter>=<value>[&<parameter>=<value>&<parameter>=<value>...]
(2) In the case of getting "JS parameter format" response
This type of response is suitable for Java Script processing.
<Syntax>
http://ip_adr/command/inquiry.cgi?inqjs=<Inquiry>[&inqjs=<Inquiry>&inqjs=<Inquiry>...]
The response of the inquiry is as follows in the case of "JS parameter format".
HTTP/1.0 200 OK¥r¥n
Content-Type: text/plain¥r¥n
Content-Length: <len>¥r¥n
¥r¥n
var <parameter>="<value>"
var <parameter>=" <value>"
var <parameter>="<value>"
.
.
.
The response of the inquiry is obtained by using the HTML below.
<SCRIPT LANGUAGE='JavaScript1.2'
SRC='/command/inquiry.cgi?inqjs=<Inquiry>
TYPE='text/javascript'></SCRIPT>