PROFILER

PROFILE

Description

> Upload the camera profile image file to the device's flash.

> The format of this URL http://172.16.3.21/cgi-bin/update?USER=Admin&PWD=123456&PROFILE is listed below.

> Stage 1: Send this URL to the device for camera profile file upload

> > ASCII Format

> > GET /cgi-bin/update?USER=admin&PWD=123456&PROFILE 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.21
> > Connection: Keep-Alive

> > Hex Dump Format

> Stage 2 : Device reply the URL

> > ASCII Format

> > 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?PROFILE_SAVE">
> > Config File : <input type="FILE" name="URL_PROFILE_IMAGE" size="60"><br>
> > <input type="submit" value="Apply" name="URL_FIRMWARE_SUBMIT">
> > <input type="reset" value="Reset" name="URL_FIRMWARE_RESET"><br>
> > </form></body></html>

> > Hex Dump Format

> Stage 3: Upload the image file to device and get the return code

> > ASCII Format

> > POST /cgi-bin/update?PROFILE_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.21/cgi-bin/update?USER=admin&PWD=123456&PROFILE
> > Accept-Language: zh-tw
> > Content-Type: multipart/form-data; boundary=---------------------------7d8261316e0708
> > Accept-Encoding: gzip, deflate
> > User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
> > Host: 172.16.3.21
> > Content-Length: 1046
> > Connection: Keep-Alive
> > Cache-Control: no-cache
> > -----------------------------7d8261316e0708
> > Content-Disposition: form-data; name="URL_PROFILE_IMAGE"; filename="C:\Documents and Settings\MingYoung.You\My Documents\LinuxShare\AEC1100\release\220-V3.09.01\profile\ADV7180-RXX_V080313A.bin"
> > Content-Type: application/x-gzip-compressed

> > ......................................

> > -----------------------------7d8261316e0708
> > Content-Disposition: form-data; name="URL_FIRMWARE_SUBMIT"
> > Apply
> > -----------------------------7d8261316e0708--

> > Hex Dump Format

> Stage 4: device reply this URL

> > ASCII Format

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

> > Hex Dump Format

Input Argument

> None

Attribute

- Write Only

Return of Message

- Write Operation

> OK
> or
> ERROR: profile image

Applicability

- EPL Platform : All Encoder Devices
- PlatfotmT : All Encoder Devices
- Multi-Channel Encodeer: Only Router

Status

> Valid

See Also

> CONFIG_GET, CONFIG_SET, FIRMWARE, FIRMWARE_ALL

Example

- Write Operation

> http://ip:port/cgi-bin/update?USER=Admin&PWD=123456&PROFILE

Back to

> HOME, UPDATE CGI