User Guide
Page 3
... Security Checklist 26 General Network Security Guidelines 26 Additional Security Tips 26 Appendix C: Specifications 27 Appendix D: Common Gateway Interface (CGI) Commands 28 Overview 28 User-Level CGI Commands (User level privilege 28 Admin-Level CGI Commands (Administrator level privilege 32 Base-64 Encoder/Decoder Sample Codes 41 Appendix E: Warranty Information 44 Limited Warranty 44 Wireless-N Internet...
... Security Checklist 26 General Network Security Guidelines 26 Additional Security Tips 26 Appendix C: Specifications 27 Appendix D: Common Gateway Interface (CGI) Commands 28 Overview 28 User-Level CGI Commands (User level privilege 28 Admin-Level CGI Commands (Administrator level privilege 32 Base-64 Encoder/Decoder Sample Codes 41 Appendix E: Warranty Information 44 Limited Warranty 44 Wireless-N Internet...
User Guide
Page 29
...WVC80N supports a multitude of CGI commands that can be passed to it via HTTP from a program or application through the HTTP protocol. content-type: text/html\r\n ... NOTE: Using CGI commands is only recommended for the end user Method: GET URL: http:///img/mjpeg.htm Return: HTTP/1.0 200 OK\r\n ... HTTP/1.0 200 OK\r\n ... User-Level CGI Commands...JPEG Video HTML page for advanced users. http:///img/video.mjpeg ... This appendix details all the supported CGI commands for this camera. This will allow you to send or receive data from your client PC or ...
...WVC80N supports a multitude of CGI commands that can be passed to it via HTTP from a program or application through the HTTP protocol. content-type: text/html\r\n ... NOTE: Using CGI commands is only recommended for the end user Method: GET URL: http:///img/mjpeg.htm Return: HTTP/1.0 200 OK\r\n ... HTTP/1.0 200 OK\r\n ... User-Level CGI Commands...JPEG Video HTML page for advanced users. http:///img/video.mjpeg ... This appendix details all the supported CGI commands for this camera. This will allow you to send or receive data from your client PC or ...
User Guide
Page 30
... only: rtsp:///img/media.sav rtsp:///img/video.sav Audio only: rtsp:///img/audio.sav Wireless-N Internet Home Monitoring Camera 29 Appendix D CGI Commands Snapshot Method: URL: GET http:///img/snapshot.cgi?[size=][&quality=] Parameter size quality Image resolution 1: 160x120 2: 320x240 3: 640x480 Quality level 1: Very high 2: High 3: Normal 4: Low 5: Very low Value and...
... only: rtsp:///img/media.sav rtsp:///img/video.sav Audio only: rtsp:///img/audio.sav Wireless-N Internet Home Monitoring Camera 29 Appendix D CGI Commands Snapshot Method: URL: GET http:///img/snapshot.cgi?[size=][&quality=] Parameter size quality Image resolution 1: 160x120 2: 320x240 3: 640x480 Quality level 1: Very high 2: High 3: Normal 4: Low 5: Very low Value and...
User Guide
Page 31
... the hardware capability, component setting or current status. For example, you can use the extension parameter "[?|&]latency=no Note that the camera is returned. Appendix D CGI Commands If the client player is the QuickTime player, the latency is enabled, the extended data as below will be unstable. Example: rtsp:///img/video.sav...
... the hardware capability, component setting or current status. For example, you can use the extension parameter "[?|&]latency=no Note that the camera is returned. Appendix D CGI Commands If the client player is the QuickTime player, the latency is enabled, the extended data as below will be unstable. Example: rtsp:///img/video.sav...
User Guide
Page 32
...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...wireless Wireless HW capability, example: [on |off ] URL: http:///img/query.cgi This command retrieves the accessed user's privilege with some hardware features. content-type: text/plain...
...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...wireless Wireless HW capability, example: [on |off ] URL: http:///img/query.cgi This command retrieves the accessed user's privilege with some hardware features. content-type: text/plain...
User Guide
Page 33
.../plain\r\n \r\n Firmware Version: v1.0.00 build 01 \r\n Serial Number: SQJ00G100001\r\n Reboot Method: URL: Return: GET http:///adm/reboot.cgi HTTP/1.0 200 OK \r\n ... Appendix D CGI Commands Admin-Level CGI Commands (Administrator level privilege) Query FW Version Method: GET URL: http:///adm/sysinfo.cgi Return: The Camera returns a Web page that contains the following messages: HTTP/1.0 200 OK \r\n ...
.../plain\r\n \r\n Firmware Version: v1.0.00 build 01 \r\n Serial Number: SQJ00G100001\r\n Reboot Method: URL: Return: GET http:///adm/reboot.cgi HTTP/1.0 200 OK \r\n ... Appendix D CGI Commands Admin-Level CGI Commands (Administrator level privilege) Query FW Version Method: GET URL: http:///adm/sysinfo.cgi Return: The Camera returns a Web page that contains the following messages: HTTP/1.0 200 OK \r\n ...
User Guide
Page 34
... To get the settings from a group group_name.parameter_name 3. To get a specific setting from multiple groups group_name&group_name... Appendix D CGI Commands Parameter group Value and description 1. Set Group Parameters Method: URL: GET http:///adm/set_group.cgi?=[&...] Parameter Value and description group Group name is specified here. (The group name is not case sensitive.) Return...
... To get the settings from a group group_name.parameter_name 3. To get a specific setting from multiple groups group_name&group_name... Appendix D CGI Commands Parameter group Value and description 1. Set Group Parameters Method: URL: GET http:///adm/set_group.cgi?=[&...] Parameter Value and description group Group name is specified here. (The group name is not case sensitive.) Return...
User Guide
Page 35
Return: A Firmware Upgrade Progress window is complete. Appendix D CGI Commands Get/Set System Date and Time Method: GET URL: http:///adm/date.cgi?action=[&...] Parameter action time_zone year month day hour minute second Return: Value and description Get/Set.../1.0 200 OK\r\n ... content-type: text/plain\r\n ... \r\n OK\r\n \r\n \r\n ...\r\n Upgrade Firmware Method: POST URL: http:///adm/upgrade.cgi Message body: ... ... ... The client must wait at least 5 minutes to make sure the upgrade is returned. Wireless-N Internet Home Monitoring Camera 34
Return: A Firmware Upgrade Progress window is complete. Appendix D CGI Commands Get/Set System Date and Time Method: GET URL: http:///adm/date.cgi?action=[&...] Parameter action time_zone year month day hour minute second Return: Value and description Get/Set.../1.0 200 OK\r\n ... content-type: text/plain\r\n ... \r\n OK\r\n \r\n \r\n ...\r\n Upgrade Firmware Method: POST URL: http:///adm/upgrade.cgi Message body: ... ... ... The client must wait at least 5 minutes to make sure the upgrade is returned. Wireless-N Internet Home Monitoring Camera 34
User Guide
Page 36
...: HTTP/1.0 200 OK \r\n ... The Camera automatically reboots after receiving and loading the configuration content. All data in the configuration is encoded in a Base64 format. Appendix D CGI Commands Upload/Download Configuration Download Configuration Content Method: GET URL: http:///adm/admcfg.cfg Return: HTTP/1.0 200 OK \r\n ... content-type: application/configuration\r\n \r\n All data in the...
...: HTTP/1.0 200 OK \r\n ... The Camera automatically reboots after receiving and loading the configuration content. All data in the configuration is encoded in a Base64 format. Appendix D CGI Commands Upload/Download Configuration Download Configuration Content Method: GET URL: http:///adm/admcfg.cfg Return: HTTP/1.0 200 OK \r\n ... content-type: application/configuration\r\n \r\n All data in the...
User Guide
Page 37
... 639 (left -top corner is , the replied coordinate always maps to Get Group Parameters command.) Parameter Value and description group Motion (Required) This notifies the CGI that the request is located at the left-top corner. Get Motion Detection Settings Method: GET...text/plain\r\n\r\n ... The vertical position, y, will be either the entire screen or up to right). Appendix D CGI Commands Download Logs Method: GET URL: http:///adm/log.cgi Return: HTTP/1.0 200 OK \r\n ... This is the definition of the sensitivity area coordinates on a 640x480 resolution image...
... 639 (left -top corner is , the replied coordinate always maps to Get Group Parameters command.) Parameter Value and description group Motion (Required) This notifies the CGI that the request is located at the left-top corner. Get Motion Detection Settings Method: GET...text/plain\r\n\r\n ... The vertical position, y, will be either the entire screen or up to right). Appendix D CGI Commands Download Logs Method: GET URL: http:///adm/log.cgi Return: HTTP/1.0 200 OK \r\n ... This is the definition of the sensitivity area coordinates on a 640x480 resolution image...
User Guide
Page 38
... ASCII characters ← Relative to 640x480 resolution ← Threshold: 0 ~ 255 Set Motion Detection Settings Method: GET URL: http:///adm/set_group.cgi?group=MOTION&=... (Please refer to 28 (by model) Motion detection window 0 = Off 1 = On Wireless-N Internet Home Monitoring Camera 37 ...motion under PT mode Format: X,Y Range: X = -63 to 63 (by model) Y = -36 to Set Group Parameters command.) Parameter md_mode md_point md_switch1 ... Appendix D CGI Commands Return: All group settings or one group setting is returned as below: HTTP/1.0 200 OK\r\n ...
... ASCII characters ← Relative to 640x480 resolution ← Threshold: 0 ~ 255 Set Motion Detection Settings Method: GET URL: http:///adm/set_group.cgi?group=MOTION&=... (Please refer to 28 (by model) Motion detection window 0 = Off 1 = On Wireless-N Internet Home Monitoring Camera 37 ...motion under PT mode Format: X,Y Range: X = -63 to 63 (by model) Y = -36 to Set Group Parameters command.) Parameter md_mode md_point md_switch1 ... Appendix D CGI Commands Return: All group settings or one group setting is returned as below: HTTP/1.0 200 OK\r\n ...
User Guide
Page 39
... ASCII characters) The coordinates of motion detection window N (relative to 640x480 resolution. Wireless-N Internet Home Monitoring Camera 38 Appendix D CGI Commands Parameter md_name1 ... Wireless Commands Wireless status query Method: GET URL: http:///adm/wireless_status.cgi Return: The Camera returns a Web page that contains the following messages: HTTP/1.0 200 OK \r\n ... If "md_switch1=1", then the Camera...
... ASCII characters) The coordinates of motion detection window N (relative to 640x480 resolution. Wireless-N Internet Home Monitoring Camera 38 Appendix D CGI Commands Parameter md_name1 ... Wireless Commands Wireless status query Method: GET URL: http:///adm/wireless_status.cgi Return: The Camera returns a Web page that contains the following messages: HTTP/1.0 200 OK \r\n ... If "md_switch1=1", then the Camera...
User Guide
Page 40
... terminate survey action. stop Return: The result will stop surveying and return the result if it times out. Appendix D CGI Commands SMB/CIFS Server/SharedFolder Commands SMB/CIFS Server Survey Method: GET URL: http:///adm/smb_survey.cgi[?parameter=value[¶meter=value...]] Parameter timeout action Value and description (Optional) The timeout in seconds of the...
... terminate survey action. stop Return: The result will stop surveying and return the result if it times out. Appendix D CGI Commands SMB/CIFS Server/SharedFolder Commands SMB/CIFS Server Survey Method: GET URL: http:///adm/smb_survey.cgi[?parameter=value[¶meter=value...]] Parameter timeout action Value and description (Optional) The timeout in seconds of the...
User Guide
Page 41
... tag description: Parameter Status Value and description Value as following case sensitive result. Appendix D CGI Commands SMB/CIFS SharedFolder Command Method: GET URL: http:///adm/smb_dirctrl.cgi?server=value[¶meter=value...] Parameter server path Value and description Server address (up to 64 ... given by the "path" parameter cmd rmdir: delete a folder, given by the "path" parameter If this parameter is omitted, the CGI will survey the shared folder list in lower case): ok → Create the folder successfully. Content-type: text/xml\r\n ... \r\n \r\n...
... tag description: Parameter Status Value and description Value as following case sensitive result. Appendix D CGI Commands SMB/CIFS SharedFolder Command Method: GET URL: http:///adm/smb_dirctrl.cgi?server=value[¶meter=value...] Parameter server path Value and description Server address (up to 64 ... given by the "path" parameter cmd rmdir: delete a folder, given by the "path" parameter If this parameter is omitted, the CGI will survey the shared folder list in lower case): ok → Create the folder successfully. Content-type: text/xml\r\n ... \r\n \r\n...
User Guide
Page 42
... 4 encoded bytes int i = 0, j = 0; //Position counter do it. output buffer // Return: // encrypted string length int encode64(char i_buf[], char o_buf[]) { char chr1 = (char)0; int enc3 = 0; Appendix D CGI Commands Base-64 Encoder/Decoder Sample Codes // Standard BASE64 table // char keyStr[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; // SerComm BASE64 table char keyStr[] = "ACEGIKMOQSUWYBDFHJLNPRTVXZacegikmoqsuwybdfhjlnprtvxz0246813579=+/"; // Description: Encrypt the input data with the...
... 4 encoded bytes int i = 0, j = 0; //Position counter do it. output buffer // Return: // encrypted string length int encode64(char i_buf[], char o_buf[]) { char chr1 = (char)0; int enc3 = 0; Appendix D CGI Commands Base-64 Encoder/Decoder Sample Codes // Standard BASE64 table // char keyStr[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; // SerComm BASE64 table char keyStr[] = "ACEGIKMOQSUWYBDFHJLNPRTVXZacegikmoqsuwybdfhjlnprtvxz0246813579=+/"; // Description: Encrypt the input data with the...
User Guide
Page 43
... decode64(char i_buf[], char o_buf[]) { //These are the 4 encoded bytes int enc1 = 0; if(i < strlen(i_buf )) enc2 = (int)(strchr(keyStr, i_buf[i++]) - Wireless-N Internet Home Monitoring Camera CGI Commands 42 chr1 = chr2 = chr3 = (char)0; enc1 = enc2 = enc3 = enc4 = (char)0; } while (i < strlen(i_buf )); //And finish off the loop //Now return the encoded values. int enc4...
... decode64(char i_buf[], char o_buf[]) { //These are the 4 encoded bytes int enc1 = 0; if(i < strlen(i_buf )) enc2 = (int)(strchr(keyStr, i_buf[i++]) - Wireless-N Internet Home Monitoring Camera CGI Commands 42 chr1 = chr2 = chr3 = (char)0; enc1 = enc2 = enc3 = enc4 = (char)0; } while (i < strlen(i_buf )); //And finish off the loop //Now return the encoded values. int enc4...