Pelco Developer Network (PDN)

Upgrading Sarix Firmware

Description

This operation initiates a firmware upgrade using the HTTP POST mechanism. The response to the command includes an HTTP URL to which the upgrade file may be uploaded. The actual upgrade takes place as soon as the HTTP POST operation has completed. The device should support firmware upgrade through the StartFirmwareUpgrade command. The exact format of the firmware data is outside the scope of this specification. Firmware upgrade over HTTP is achieved using the following steps:

  1. Client calls StartFirmwareUpgrade.
  2. Server responds with upload URI and optional delay value.
  3. Client waits for delay duration if specified by server.
  4. Client transmits the firmware image to the upload URI using HTTP POST.
  5. Server reprograms itself using the uploaded image, then reboots.

If the firmware upgrade fails because the upgrade file was invalid, the HTTP POST response is 415 Unsupported Media Type. If the firmware upgrade fails due to an error at the device, the HTTP POST response is 500 Internal Server Error.

The value of the Content-Type header in the HTTP POST request shall be “application/octetstream”.

SOAP action

http://www.onvif.org/onvif/ver10/device/wsdl/devicemgmt.wsdl#op.StartFir...

Input

[StartFirmwareUpgrade]

Output

[StartFirmwareUpgradeResponse]

  • UploadUri [anyURI]
  • UploadDelay [duration]
  • ExpectedDownTime [duration]