ISP_IMAGE

 

Description

Upload the ISP compact image file to the ISP.

The camera configurations will be saved to the camera flash when the ISP image upgrade is completed. The device will be rebooted automatically.
The file name of the ISP compact image file should be ISP-U-AANP-Vx.xx.xx.bin. The key ward ISP-U tells this file is the ISP compact file and AANP gives the ISP platform information.

Before encoder firmware upgrade the ISP file to ISP, three checks have be done first.

  1. The file name of ISP compact file must begin with ISP-U-
  2. The camera ISP platform must match the AANP term in the ISP compact file name
  3. The ISP platform information in ISP-Image.desc which it was extracted from ISP-U-AANP-Vx.xx.xx.bin must match camera ISP platform

Example

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

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

GET /cgi-bin/update?USER=admin&PWD=123456&ISP_IMAGE 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_IMAGE_SAVE">
Image File: <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_IMAGE_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_IMAGE
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="ISP-U-0300-V1.00.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 firmware 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.03 and later

Statue

Valid

See also

ISP_FIRMWARE, ISP_DEV, ISP_HARDWARE

Example

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

Back To

HOME, UPDATE CGI