Partager via


Configure Cellular Roaming Awareness for Sessions Scheduled by the Scheduler Configuration Service Provider

4/8/2010

This example turns on cellular roaming awareness and sets the connection frequency for OMA DM client sessions that are scheduled by the Scheduler configuration service provider.

Code Example

<Add>
   <CmdID>1</CmdID>
   <Item>
      <Target><LocURI>./SyncML/DMS/<x>/Ext/Microsoft/RoamingAware</LocURI></Target>
      <Meta>
         <Format xmlns="syncml:metinf">bool</Format>
         <Type xmlns="syncml:metinf">text/plain</Type>
      </Meta>
      <Data>true</Data>
   </Item>
</Add>
<Replace>
   <CmdID>2</CmdID>
   <Item>
      <Target><LocURI>./SyncML/DMS/<x>/Ext/Microsoft/RoamingConnectFrequency</LocURI></Target>
      <Meta>
         <Format xmlns="syncml:metinf">int</Format>
      </Meta>
      <Data>3</Data>
   </Item>
</Replace>

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

Other Resources

DMS Configuration Service Provider Examples for OMA DM