Downloading OTA Firmware Update Package Content
6/2/2010
The following table shows supported mechanisms for downloading an update from an OMA DM server.
Mechanism | WM version 5.0 | WM 6 |
---|---|---|
OMA DM Alternate Download over HTTP/S |
X |
X |
OMA Download with Separate Delivery of Download Descriptor |
X |
To update a Windows Mobile Version 5.0 device over HTTP/S, the server must support the HTTP range header to allow checkpoint and restart of downloads as described in OMA standard OMA-AD-FUMO-V1_0-20060615-C from this OMA Web site.
Note
The range header is optional for Windows Mobile 6 AKU 0.2 and later.
The following steps describe the start of the download process after the download server alerts the DM client of a download:
- The DM client sends an HTTP HEAD method request to get the size of the file.
- The client expects the server to return the file length in the “Content-Length” response header.
- The DM client sends an HTTP range header on all download requests, passing the byte range the client expects to receive.
- The DM client requires the content type (MIME) of the download to be application/octet-stream.
The following table shows the exchange of messages that occur between the mobile device and the DM server at the start of downloading an update package:
Sending node | Message |
---|---|
Mobile device |
HEAD http://thephone-companyserver/update.pks HTTP/1.1 |
Server |
HTTP/1.1 200 OK Proxy-Connection: Keep-Alive Content-Length: 11649 Content-Type: application/octet-stream Accept-Ranges: bytes |
Mobile Device |
GET http://thephone-companyserver/update.pks HTTP/1.1 Range: bytes = 0-11648 |
Server |
HTTP/1.1 206 Partial Content Content-Length: 11649 Content-Range: bytes 0-11648/11649 Content-Type: application/octet-stream |
Applies to Windows Mobile 6
FUMO download descriptor files are supported as described in the OMA standard OMA-Download-OTA-V1_0-20040625-A from this OMA Web site.
The following table shows the Mandatory Download Descriptor attributes:
Attribute | Description |
---|---|
Type |
The MIME media type of the object to be executed. This attribute is used to verify that the media type in the download is supported by the device. The default type is application/octet-stream. |
Size |
The number of bytes to be downloaded from the Uniform Resource Identifier (URI). |
ObjectURI |
The URI, which is typically a URL, for the update file. The device must be able to use an HTTP GET to reference this URI and retrieve the update file. |