Compartilhar via


SyncHdr

4/8/2010

SyncHdr includes the following information:

  • Document Type Definition (DTD) and protocol version numbers
  • Session and message identifiers
  • Message source and destination Universal Resource Identifiers (URIs).
  • Credentials for authentication

This information is used to by the client device to properly manage the DM session.

Code Example

The following example shows the header component of a DM message. In this case, OMA DM version 1.2 is used as an example only:

Note

The <LocURI> node value for <Source> element in the SyncHdr of the device generated DM package should be the same as value of ./DevInfo/DevID. For more information about DevID, see DevInfo Configuration Service Provider.

<SyncHdr>
    <VerDTD>1.2</VerDTD>
    <VerProto>DM/1.2</VerProto>
    <SessionID>1</SessionID>
    <MsgID>1</MsgID>
    <Target>
        <LocURI>{unique device ID}</LocURI>
    </Target>
    <Source>
        <LocURI>https://www.thephone-company.com/mgmt-server</LocURI>
    </Source>
</SyncHdr>

See Also

Concepts

OMA DM Provisioning Files
SyncBody