Summarization of the CGI scripts in ICA-500  ====================================================== 1. GET still image    GetStatus.cgi   Description Get run-time status of IP Camera. (no privilege required)   Grammar /GetStatus.cgi[?JsVar=variable[&OnJs=function]]   Remark "GetStauts.cgi" returns a text whose length is 73,   Byte 24, 25, .., 29 picture index(6) (999999 - invalid picture)     * To be get still image with changing image size and resolution. Please change image size and resolution firstly, then get still image    2. GET / start http image push stream GetData.cgi Description Get images/status with "multipart/x-mixed-replace" mime-type. (no privilege required)  Grammar /GetData.cgi[?Status=]   Remark GetData.cgi is designed for "server-push". "Server-push" means that user need not always detect camera's state, and the camera server transfer the camera data on its own.  GetData.cgi[?Status=false] returns: HTTP/1.0 200 OK Date: Wed, 24 Nov 2004 13:40:16 GMT Server: WYM/1.0 Connection: close Content-Type: ultipart/x-mixed-replace;boundary=WINBONDBOUDARY Last-Modified: Wed, 24 Nov 2004 13:40:16 GMT Pragma: no-cache Cache-Control: no-cache Expires: 01 Jan 1970 00:00:00 GMT   --WINBONDBOUDARY Content-Type: image/jpeg   --WINBONDBOUDARY Content-Type: image/jpeg   --WINBONDBOUDARY ...   GetData.cgi?Status=true returns:   HTTP/1.0 200 OK Date: Wed, 24 Nov 2004 13:40:16 GMT Server: WYM/1.0 Connection: close Content-Type: multipart/x-mixed-replace;boundary=WINBONDBOUDARY Last-Modified: Wed, 24 Nov 2004 13:40:16 GMT Pragma: no-cache Cache-Control: no-cache Expires: 01 Jan 1970 00:00:00 GMT   --WINBONDBOUDARY Content-Type: image/jpeg   --WINBONDBOUDARY Content-Type: text/plain   --WINBONDBOUDARY Content-Type: image/jpeg   --WINBONDBOUDARY Content-Type: text/plain   --WINBONDBOUDARY ………   Camera Pan Tile 1.     Move Up /Camera_Move.cgi?CameraMoveType=1 2.     Move Left /Camera_Move.cgi?CameraMoveType=2 3.     Move Home /Camera_Move.cgi?CameraMoveType=3 4.     Move Right /Camera_Move.cgi?CameraMoveType=4 5.     Move Down /Camera_Move.cgi?CameraMoveType=5   Camera Zoom 1.     Zoom Out /Camera_Zoom.cgi?CameraZoomType=1 2.     Zoom In /Camera_Zoom.cgi?CameraZoomType=2   Resolution 1.     176 x 144 /Change_Resolution.cgi?ResType=0 2.     352 x 288 /Change_Resolution.cgi?ResType=1 3.     320 x 240 /Change_Resolution.cgi?ResType=2 4.     640 x 480 /Change_Resolution.cgi?ResType=3   IP Setting 1.     DHCP /Set_Network_Setting.cgi?IPWay=dhcp&DNS0=168.95.0.1&DNS1=168.95.0.2&Port0=80&Port1=81 2.     Manually /Set_Network_Setting.cgi?IPWay=manually&IP=192.168.0.20&Netmask=255.255.255.0&Gateway=192.168.0.254&DNS0=168.95.0.1&DNS1=168.95.0.2&Port0=80&Port1=81   Alarm 1 Setting 1.     Manual /Set_Alarm_Out.cgi?Alarm_Out_1=0 2.     Event /Set_Alarm_Out.cgi?Alarm_Out_1=1   Alarm 2 Setting 1.     Manual /Set_Alarm_Out.cgi?Alarm_Out_2=0 2.     Event /Set_Alarm_Out.cgi?Alarm_Out_2=1   FTP Setting Format: /Set_Ftp_Data.cgi?FtpServer=&User=&Pass=&UploadPath=&FTP_Image_File_Name=&FTP_Suffix=&FTP_Sequence_No_Clear=&FTP_Mode=&FTP_Date_Time&Enable=   Parameter description: 1.     FTP_Suffix = 0 : None 1 : Date / Time 2 : Sequence number 2.     FTP_Sequence_No_Clear = 0 : No 1 : Yes 3.     FTP_Mode = 1 : Event Sending 2 : Periodical sending 0 : Off 4.     FTP_Date_Time = 1, 3, 5, 10, 15, 20, 30, 60 1 : send picture to FTP server per minute 5.  Enable = true : FTP_Mode =1 false : FTP_Mode =2 or 0   SMTP setting Format: /Set_SMTP_Data.cgi?MailServer=&User=&CheckFlag=&PassWord=&Sender=&Receiver=& Subject=&SMTP_Mode=&SMTP_Date_Time=&Enable=   Parameter description : 1.     CheckFlag = CHECK : the mail server need check passwd 2.     Enable = true : SMTP_Mode =1 false : SMTP_Mode =2 or 0 3.     SMTP_Mode = 0 : Off 1 : Event Sending 2 : Periodical sending 4.     FTP_Date_Time =1, 3, 5, 10, 15, 20, 30, 60 1 : send picture to FTP server per minute   Still Image Format: /GetStatus.cgi?JsVar=camerastatu Camerastatu = a text whose length is 73, Byte 24, 25, .., 29 picture index(6) (999999 - invalid picture)   GET / start http image push stream Format: /GetData.cgi[?Status=] Remark GetData.cgi is designed for "server-push". "Server-push" means that user need not always detect camera's state, and the camera server transfer the camera data on its own. GetData.cgi[?Status=false] returns:   HTTP/1.0 200 OK Date: Wed, 24 Nov 2004 13:40:16 GMT  Server: WYM/1.0 Connection: close Content-Type: ultipart/x-mixed-replace;boundary=WINBONDBOUDARY Last-Modified: Wed, 24 Nov 2004 13:40:16 GMT  Pragma: no-cache Cache-Control: no-cache Expires: 01 Jan 1970 00:00:00 GMT   --WINBONDBOUDARY Content-Type: image/jpeg   --WINBONDBOUDARY Content-Type: image/jpeg   --WINBONDBOUDARY ...   GetData.cgi?Status=true returns:   HTTP/1.0 200 OK Date: Wed, 24 Nov 2004 13:40:16 GMT  Server: WYM/1.0 Connection: close Content-Type: multipart/x-mixed-replace;boundary=WINBONDBOUDARY Last-Modified: Wed, 24 Nov 2004 13:40:16 GMT  Pragma: no-cache Cache-Control: no-cache Expires: 01 Jan 1970 00:00:00 GMT   --WINBONDBOUDARY Content-Type: image/jpeg   --WINBONDBOUDARY Content-Type: text/plain   --WINBONDBOUDARY Content-Type: image/jpeg   --WINBONDBOUDARY Content-Type: text/plain   --WINBONDBOUDARY ……… ======================================================