ISP_HARDWARE

 

Description

Upload the ISP hardware image file to the camera

The camera configurations will be saved to the camera flash when the ISP hardware 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_HARDWARE is used an an example of this URL.

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

GET /cgi-bin/update?USER=admin&PWD=123456&ISP_HARDWARE 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_HARDWARE_SAVE">
HARDWARE : <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_HARDWARE_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_HARDWARE
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-H-300-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

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

See also

ISP_IMAGE, ISP_FIRMWARE, ISP_DEV

Example

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

Back To

HOME, UPDATE CGI