CMPLANNER Configuration Service Provider Example for OMA DM

4/8/2010

The following illustrates a CMPLANNER object defined as part of the proprietary extension of OMA DM.

To provision devices using the OMA Client Provisioning (formerly WAP Client Provisioning) protocol, use the CM_Planner Configuration Service Provider instead.

Code Example

<atomic>
<CmdID>8000</CmdID>
  <add>
    <CmdID>8001</CmdID>
    <Item>
      <Target>
        <LocURI>./Vendor/MSFT/CMPLANNER/CacheTime</LocURI>
      </Target>
      <Meta>
        <Format xmlns='syncml:metinf'>int</Format>
      </Meta>
      <Data>60</Data>
    </Item>
  </add>
  <add>
    <CmdID>8002</CmdID>
    <Item>
      <Target>
        <LocURI>./Vendor/MSFT/CMPLANNER/RetryCount</LocURI>
      </Target>
      <Meta>
        <Format xmlns='syncml:metinf'>int</Format>
      </Meta>
      <Data>2</Data>
    </Item>
  </add>
  <add>
    <CmdID>8003</CmdID>
    <Item>
      <Target>
        <LocURI>./Vendor/MSFT/CMPLANNER/PreferredConnections/Internet</LocURI>
      </Target>
      <Meta>
        <Format xmlns='syncml:metinf'>chr</Format>
      </Meta>
      <Data>GPRS1</Data>
    </Item>
  </add>
  <add>
    <CmdID>8004</CmdID>
    <Item>
      <Target>
        <LocURI>./Vendor/MSFT/CMPLANNER/PreferredConnections/Work</LocURI>
      </Target>
      <Meta>
        <Format xmlns='syncml:metinf'>chr</Format>
      </Meta>
      <Data>MSCorpNet1</Data>
    </Item>
  </add>
  <add>
    <CmdID>8005</CmdID>
    <Item>
      <Target>
        <LocURI>./Vendor/MSFT/CMPLANNER/PreferredConnections/WAP</LocURI>
      </Target>
      <Meta>
        <Format xmlns='syncml:metinf'>chr</Format>
      </Meta>
      <Data>WAPRAS1</Data>
    </Item>
  </add>
  <add>
    <CmdID>8006</CmdID>
    <Item>
      <Target>
        <LocURI>./Vendor/MSFT/CMPLANNER/PreferredConnections/SecureWAP</LocURI>
      </Target>
      <Meta>
        <Format xmlns='syncml:metinf'>chr</Format>
      </Meta>
      <Data>WAPRAS2</Data>
    </Item>
  </add>
</atomic>

Remarks

One provisioning XML file typically contains configuration information for multiple Configuration Service Providers. To use this example, you must replace the values as appropriate, and add the node as a child of the SyncBody node in an OMA DM provisioning file. For more information about the syntax of the provisioning file, see OMA DM Provisioning Files.

See Also

Reference

CMPLANNER Configuration Service Provider
CM_Planner Configuration Service Provider