ISP_DEV

 

Description

Upload the ISP Device Resource image file to the camera

The camera configurations will be saved to the camera flash when the ISP Device Resource upgrade is completed. The device will be rebooted automatically, then.

The format of this URL http://172.16.3.14/cgi-bin/update?USER=admin&PWD=123456&ISP_DEV is used an an example of this URL.

Stage 1: Remote Host sends this URL to the camera for ISP Device Resource image file upload

GET /cgi-bin/update?USER=admin&PWD=123456&ISP_DEV HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Accept-Language: zh-tw
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Host: 172.16.3.14
Connection: Keep-Alive

Stage 2 : Camera sends the reply to remote host

HTTP/1.0 200 OK
Content-type: text/html

<html><head><title>UPLOAD FILES</title></head>
<meta http-equiv="PRAGMA" content="NO-CACHE"><body>
<form name="UPLOAD_FORM" method="POST" enctype="multipart/form-data" action="update?ISP_DEV_SAVE">
ISP Dev Resource : <input type="FILE" name="URL_FIRMWARE_IMAGE" value="" size="40">
<br>
<input type="submit" value="Apply" name="URL_FIRMWARE_SUBMIT">
<input type="reset" value="Reset" name="URL_FIRMWARE_RESET">
<br>
</form></body></html>

Stage 3 : Remote host uploads the image file to camera and get the return code

POST /cgi-bin/update?ISP_DEV_SAVE HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Referer: http://172.16.3.14/cgi-bin/update?USER=admin&PWD=123456&ISP_DEV
Accept-Language: zh-tw
Content-Type: multipart/form-data; boundary=---------------------------7d834b76e0708
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Host: 172.16.3.14
Content-Length: 2503864
Connection: Keep-Alive
Cache-Control: no-cache

-----------------------------7d834b76e0708
Content-Disposition: form-data; name="URL_FIRMWARE_IMAGE";filename="C1_V1.00.bin"
Content-Type: application/x-gzip-compressed

......................................

-----------------------------7d834b76e0708
Content-Disposition: form-data; name="URL_FIRMWARE_SUBMIT"

Apply
-----------------------------7d834b76e0708--

Stage 4: camera replies the status of ISP Device Resource image

HTTP/1.0 200 OK
Content-type: text/plain
Content-Length: 3

OK

Input Argument

None

Attribute

Return of Message

OK
or
ERROR: description of error

Applicability

Platform Devices Supported Firmware Version
PlatformK Camera A1D-311-V5.00 and later

Statue

This URL is not used in future. It will be replaced with ISP_IMAGE URL.

See also

ISP_IMAGE, ISP_FIRMWARE, ISP_HARDWARE

Example

http://ip:port/cgi-bin/update?USER=admin&PWD=123456&ISP_DEV

Back To

HOME, UPDATE CGI