User Guide
Page 3
... 24 Appendix B: Wireless 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 Home Monitoring Camera ii
... 24 Appendix B: Wireless 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 Home Monitoring Camera ii
User Guide
Page 29
.../mjpeg.htm Return: HTTP/1.0 200 OK\r\n ... content-type: application/octet-stream\r\n ... Wireless-N Internet Home Monitoring Camera 28 Stream M-JPEG Video HTML page for advanced users. Appendix D CGI Commands Appendix D: Common Gateway Interface (CGI) Commands Overview CGI (Common Gateway Interface) is returned through a web interface. The WVC80N supports a multitude of CGI commands that can be passed to perform basic functions such as view the...
.../mjpeg.htm Return: HTTP/1.0 200 OK\r\n ... content-type: application/octet-stream\r\n ... Wireless-N Internet Home Monitoring Camera 28 Stream M-JPEG Video HTML page for advanced users. Appendix D CGI Commands Appendix D: Common Gateway Interface (CGI) Commands Overview CGI (Common Gateway Interface) is returned through a web interface. The WVC80N supports a multitude of CGI commands that can be passed to perform basic functions such as view the...
User Guide
Page 30
...Wireless-N Internet Home Monitoring Camera 29 HTTP/1.0 200 OK\r\n ... RTP/RTSP (MPEG-4 video only, not for MJPEG video) Method: GET URL: http:///img/media.sdp Return: A SDP file is returned to the client with the user specified resolution and quality. HTTP/1.0 200 OK\r\n ... Appendix D CGI Commands...) Example 1: To snapshot a 640x480 very high quality JPEG image from network Camera 192.168.0.99, http://192.168.0.99/img/snapshot.cgi?size=3&quality=1 Example 2: To snapshot a JPEG image from network Camera 192.168.0.99 (with current resolution and quality), http://192.168.0.99...
...Wireless-N Internet Home Monitoring Camera 29 HTTP/1.0 200 OK\r\n ... RTP/RTSP (MPEG-4 video only, not for MJPEG video) Method: GET URL: http:///img/media.sdp Return: A SDP file is returned to the client with the user specified resolution and quality. HTTP/1.0 200 OK\r\n ... Appendix D CGI Commands...) Example 1: To snapshot a 640x480 very high quality JPEG image from network Camera 192.168.0.99, http://192.168.0.99/img/snapshot.cgi?size=3&quality=1 Example 2: To snapshot a JPEG image from network Camera 192.168.0.99 (with current resolution and quality), http://192.168.0.99...
User Guide
Page 31
... extension Return: Value and description Extension value yes: extension is always approximately 3 second. For example, you can query whether the camera has a speaker, I/O port, etc. Wireless-N Internet Home Monitoring Camera 30 content-type: text/plain\r\n \r\n \r\n \r\n ...... Appendix D CGI Commands If the client player is the QuickTime player, the latency is enabled, the extended data as below will be unstable...
... extension Return: Value and description Extension value yes: extension is always approximately 3 second. For example, you can query whether the camera has a speaker, I/O port, etc. Wireless-N Internet Home Monitoring Camera 30 content-type: text/plain\r\n \r\n \r\n \r\n ...... Appendix D CGI Commands If the client player is the QuickTime player, the latency is enabled, the extended data as below will be unstable...
User Guide
Page 32
...|off ] wps_pin_code WPS PIN code value, example: 00000048 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\r\n \r\n mic_in=[on|off ]r\n speaker_out=[on|off ]\r\n ptctrl=[on|off ]\r\n ioctrl=[on |off ]\r\n Wireless-N Internet Home Monitoring Camera 31 Return: HTTP/1.0 200 OK \r\n ... For example...
...|off ] wps_pin_code WPS PIN code value, example: 00000048 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\r\n \r\n mic_in=[on|off ]r\n speaker_out=[on|off ]\r\n ptctrl=[on|off ]\r\n ioctrl=[on |off ]\r\n Wireless-N Internet Home Monitoring Camera 31 Return: HTTP/1.0 200 OK \r\n ... For example...
User Guide
Page 33
... Group Parameters Get group parameters Method: GET URL: http:///adm/get_group.cgi?=[&...] Wireless-N Internet Home Monitoring Camera 32 content-type: text/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...
... Group Parameters Get group parameters Method: GET URL: http:///adm/get_group.cgi?=[&...] Wireless-N Internet Home Monitoring Camera 32 content-type: text/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...
User Guide
Page 34
.../plain\r\n ... \r\n OK\r\n Wireless-N Internet Home Monitoring Camera 33 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 returned as below: HTTP/1.0 200 OK\r\n ... To get all group parameters or the specified parameters as follows: HTTP/1.0 200 OK\r\n ... Appendix D CGI Commands Parameter group Value...
.../plain\r\n ... \r\n OK\r\n Wireless-N Internet Home Monitoring Camera 33 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 returned as below: HTTP/1.0 200 OK\r\n ... To get all group parameters or the specified parameters as follows: HTTP/1.0 200 OK\r\n ... Appendix D CGI Commands Parameter group Value...
User Guide
Page 35
... Progress window is complete. Wireless-N Internet Home Monitoring Camera 34 The client must wait at least 5 minutes to make sure the upgrade is returned. 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: ... ... ... Appendix D CGI Commands Get/Set System Date and Time Method: GET URL: http:///adm/date.cgi?action=[&...] Parameter action...
... Progress window is complete. Wireless-N Internet Home Monitoring Camera 34 The client must wait at least 5 minutes to make sure the upgrade is returned. 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: ... ... ... Appendix D CGI Commands Get/Set System Date and Time Method: GET URL: http:///adm/date.cgi?action=[&...] Parameter action...
User Guide
Page 36
...content. Upload Configuration Content Method: POST URL: http:///adm/upload.cgi Message body: ... Return: HTTP/1.0 200 OK \r\n ... content-type: text/plain\r\n \r\n OK\r\n Wireless-N Internet Home Monitoring Camera 35 The Camera automatically reboots after receiving and loading the configuration content. To validate...decoder sample codes at the end of this appendix. 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. Upload Configuration Content Method: POST URL: http:///adm/upload.cgi Message body: ... Return: HTTP/1.0 200 OK \r\n ... content-type: text/plain\r\n \r\n OK\r\n Wireless-N Internet Home Monitoring Camera 35 The Camera automatically reboots after receiving and loading the configuration content. To validate...decoder sample codes at the end of this appendix. 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 ......
User Guide
Page 37
...Wireless-N Internet Home Monitoring Camera 36 The vertical position, y, will be either the entire screen or up to 639 (left -top corner. The home (0, 0) position is located at the left to bottom). (0,0) 640 480 (639,479) The left-top corner is the start position. Get Motion Detection Settings Method: GET URL: http:///adm/get_group.cgi...Detection Commands You can have its own name and threshold setting. The horizontal position, x, will be triggered. Appendix D CGI Commands Download Logs Method: GET URL: http:///adm/log.cgi Return...
...Wireless-N Internet Home Monitoring Camera 36 The vertical position, y, will be either the entire screen or up to 639 (left -top corner. The home (0, 0) position is located at the left to bottom). (0,0) 640 480 (639,479) The left-top corner is the start position. Get Motion Detection Settings Method: GET URL: http:///adm/get_group.cgi...Detection Commands You can have its own name and threshold setting. The horizontal position, x, will be triggered. Appendix D CGI Commands Download Logs Method: GET URL: http:///adm/log.cgi Return...
User Guide
Page 38
...CGI Commands Return: All group settings or one group setting is returned as below: HTTP/1.0 200 OK\r\n ... md_switch4 Value and description Motion detection 0 = Off 1 = On The position of motion under PT mode Format: X,Y Range: X = -63 to 63 (by model) Motion detection window 0 = Off 1 = On Wireless-N Internet Home Monitoring Camera...Threshold: 0 ~ 255 Set Motion Detection Settings Method: GET URL: http:///adm/set_group.cgi?group=MOTION&=... (Please refer to 28 (by model) Y = -36 to Set Group Parameters command.) Parameter md_mode md_point md_switch1 ...
...CGI Commands Return: All group settings or one group setting is returned as below: HTTP/1.0 200 OK\r\n ... md_switch4 Value and description Motion detection 0 = Off 1 = On The position of motion under PT mode Format: X,Y Range: X = -63 to 63 (by model) Motion detection window 0 = Off 1 = On Wireless-N Internet Home Monitoring Camera...Threshold: 0 ~ 255 Set Motion Detection Settings Method: GET URL: http:///adm/set_group.cgi?group=MOTION&=... (Please refer to 28 (by model) Y = -36 to Set Group Parameters command.) Parameter md_mode md_point md_switch1 ...
User Guide
Page 39
... threshold of motion detection window N (0 - 255) HTTP/1.0 200 OK \r\n ... content-type: text/plain\r\n \r\n signal_strength=100\r\n \r\n # Wireless signal, RSSI, Integer type, the value can be configured. Wireless-N Internet Home Monitoring Camera 38 If "md_switch1=1", then the Camera will detect the "md_window2~4" areas. Appendix D CGI Commands Parameter md_name1 ... md_threshold4 Return: Value and description Name of the motion detection area 1 ~ 4 (12 ASCII...
... threshold of motion detection window N (0 - 255) HTTP/1.0 200 OK \r\n ... content-type: text/plain\r\n \r\n signal_strength=100\r\n \r\n # Wireless signal, RSSI, Integer type, the value can be configured. Wireless-N Internet Home Monitoring Camera 38 If "md_switch1=1", then the Camera will detect the "md_window2~4" areas. Appendix D CGI Commands Parameter md_name1 ... md_threshold4 Return: Value and description Name of the motion detection area 1 ~ 4 (12 ASCII...
User Guide
Page 40
...description: Parameter Name (WorkGroup) Name (Server) Comment (Server) Value and description The work group name (up to 256 characters) Wireless-N Internet Home Monitoring Camera 39 A successful request returns the result of the server (up to 15 characters) The PC name of the server (up ...network). 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 CGI The CGI...
...description: Parameter Name (WorkGroup) Name (Server) Comment (Server) Value and description The work group name (up to 256 characters) Wireless-N Internet Home Monitoring Camera 39 A successful request returns the result of the server (up to 15 characters) The PC name of the server (up ...network). 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 CGI The CGI...
User Guide
Page 41
...→ There is ok. error → Error happened Name The folder name Wireless-N Internet Home Monitoring Camera 40 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 ... "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. user pass Return: (Optional...
...→ There is ok. error → Error happened Name The folder name Wireless-N Internet Home Monitoring Camera 40 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 ... "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. user pass Return: (Optional...
User Guide
Page 42
... enc2 = 0; enc4 = chr3 & 63; int enc3 = 0; enc1 = chr1 >> 2; if(chr2 == (char)0) { enc3 = enc4 = 64; } Wireless-N Internet Home Monitoring Camera 41 enc2 = ((chr1 & 3) > 4); char chr2 = (char)0; output buffer // Return: // encrypted string length int encode64(char i_buf[], char o_buf[]) { char chr1 = (char)0; Appendix D CGI Commands Base-64 Encoder/Decoder Sample Codes // Standard BASE64 table // char keyStr[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; // SerComm BASE64...
... enc2 = 0; enc4 = chr3 & 63; int enc3 = 0; enc1 = chr1 >> 2; if(chr2 == (char)0) { enc3 = enc4 = 64; } Wireless-N Internet Home Monitoring Camera 41 enc2 = ((chr1 & 3) > 4); char chr2 = (char)0; output buffer // Return: // encrypted string length int encode64(char i_buf[], char o_buf[]) { char chr1 = (char)0; Appendix D CGI Commands Base-64 Encoder/Decoder Sample Codes // Standard BASE64 table // char keyStr[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; // SerComm BASE64...
User Guide
Page 43
... = enc2 = enc3 = enc4 = (char)0; } while (i < strlen(i_buf )); //And finish off the loop //Now return the encoded values. 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; if(i < strlen(i_buf )) enc3 = (int)(strchr(keyStr, i_buf[i++]) - input buffer // Output: // char o_buf[] - keyStr); keyStr); Appendix D else if(chr3 == (char...
... = enc2 = enc3 = enc4 = (char)0; } while (i < strlen(i_buf )); //And finish off the loop //Now return the encoded values. 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; if(i < strlen(i_buf )) enc3 = (int)(strchr(keyStr, i_buf[i++]) - input buffer // Output: // char o_buf[] - keyStr); keyStr); Appendix D else if(chr3 == (char...