Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

In this example, a device is configured to synchronize the calendar, contacts, and mail with a server (testserver) using the default settings. For example, the default settings might synchronize the last three days worth of e-mail, the last two weeks of appointments and all future appointments, and all contacts. The default frequency of updates while online during peak hours is set manually, with peak days set to Monday through Friday, peak times as 8 A.M. to 6 P.M., The default settings requires Secure Sockets Layer (SSL) when connecting to the server but allows users to change the setting to allow the use of a non-SSL server address when connecting to a Microsoft ActiveSync server.

Code Example

Copy Code
<characteristic type="Sync">
   <characteristic type="Connection">
	<parm name="Server" value="testserver"/>
	<parm name="User" value="testuser"/>
	<parm name="Domain" value="thephone-company"/>
	<parm name="AllowSSLOption" value="1"/>
   </characteristic>
   <characteristic type="Settings">
	<parm name="PeakStartTime" value="0800"/>
	<parm name="PeakEndTime" value="1800"/>
	<parm name="PeakFrequency" value="0"/>
	<parm name="BodyTruncation" value="5120"/>
	<characteristic type="PeakDays">
		 <parm name="Sun" value="0"/>
		 <parm name="Mon" value="1"/>
		 <parm name="Tue" value="1"/>
		 <parm name="Wed" value="1"/>
		 <parm name="Thr" value="1"/>
		 <parm name="Fri" value="1"/>
		 <parm name="Sat" value="0"/>
	</characteristic>
   </characteristic>
   <characteristic type="Calendar">
	<parm name="Enabled" value="1"/>
   </characteristic>
   <characteristic type="Contacts">
	<parm name="Enabled" value="1"/>
   </characteristic>
   <characteristic type="Mail">
	<parm name="Enabled" value="1"/>
   </characteristic>
</characteristic>

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 OMA Client Provisioning file. For information about the syntax of this file, see OMA Client Provisioning Files. For examples, see OMA Client Provisioning XML File Examples.

See Also