Appendix D
CGI Commands
Here are the details of the parameter pairs:
Parameter
Value and description
hostname | Camera name, example: MyCamera |
|
|
description | Camera description, example: Hello camera |
|
|
defname | Camrea default name, example: default name |
|
|
mac | Camera’s MAC address, example: 00C002123456 |
|
|
company_name | Camera’s comany name, example: Cisco |
|
|
model_number | Camera’s model number, example: WVC80N |
|
|
resolutions | The resolutions camera support, valid values: [640*480,320*240,160*120] |
|
|
mpeg4_resolution | Current |
|
|
mjpeg_resolution | Current JPEG resolution setting, valid values: [640320160] |
|
|
mic_in | Current MIC in setting, valid values: [onoff] |
|
|
speaker_out | Current Speaker out setting, valid values: [onoff] |
|
|
ptctrl | PT HW capability, valid values: [onoff] |
|
|
ioctrl | IO HW capability, valid values: [onoff] |
|
|
serial | RS485 capability, valid values: [pelcooff] |
|
|
privacy_button | Privacy button HW capability, valid values: [onoff] |
|
|
pir_sensor | PIR sensor HW capability, valid values: [onoff] |
|
|
wlled | White light LED HW capability, valid values: [onoff] |
|
|
irled | IR LED HW capability, valid values: [onoff] |
|
|
wps_pin_code | WPS PIN code value, example: 00000048 |
|
|
wireless | Wireless HW capability, example: [onoff] |
|
|
URL: http://<ip>/img/query.cgi
This command retrieves the accessed user’s privilege with some hardware features. For example, the user may be able to use Speaker Out, but can’t control the I/O ports.
Return:
HTTP/1.0 200 OK \r\n
…
\r\n
mic_in=[onoff]r\n
speaker_out=[onoff]\r\n
ptctrl=[onoff]\r\n
ioctrl=[onoff]\r\n
31 |