<?xml version="1.0"?>
<config version="1.0">
  <AdvancedOptions>
   <AdvancedOption>
     <!-- The url that you want the server to listen on. 
          This has to be set on the mobile as well. example: "/" -->
     <DisplayName>URL of the remote server</DisplayName>
     <Name>URL</Name>
     <Type>string</Type>
     <Value></Value>
   </AdvancedOption>
   <AdvancedOption>
     <!-- If wbxml is enabled, defines wether the wbxml should use string 
          tables -->
     <DisplayName>Use String Tables</DisplayName>
     <Name>UseStringTable</Name>
     <Type>bool</Type>
     <Value>0</Value>
   </AdvancedOption>
   <AdvancedOption>
     <!-- Workaround around for mobile phones which only use local timestamps 
          and _no_ UTC timestamps! -->
     <DisplayName>Use local time</DisplayName>
     <Name>UseLocaltime</Name>
     <Type>bool</Type>
     <Value>0</Value>
   </AdvancedOption>
   <AdvancedOption>
     <!-- Sets the maximum allowed size in bytes of incoming messages (some 
          device need this option set). Example: 10000 -->
     <DisplayName>Max Message Size (SyncML: MaxMsgSize)</DisplayName>
     <Name>MaxMsgSize</Name>
     <Type>uint</Type>
     <Value>0</Value>
   </AdvancedOption>
   <AdvancedOption>
     <!-- Sets the maximum allowed size in bytes of incoming messages (some 
          device need this option set). Example: 10000 -->
     <DisplayName>Max Object Size (SyncML: MaxObjSize)</DisplayName>
     <Name>MaxObjSize</Name>
     <Type>uint</Type>
     <Value>0</Value>
   </AdvancedOption>
   <AdvancedOption>
     <!-- The old default behavior of OpenSync was to use the same      -->
     <!-- format like the connecting client. Some clients which were    -->
     <!-- connected with another software expect always the anchor      -->
     <!-- format of this software. Therefore it is possible to          -->
     <!-- configure the behaviour of OpenSync's SyncML plugin.          -->
     <!--                                                               -->
     <!--     0 ==> number format beginning with 1                      -->
     <!--     1 ==> timestamp format                                    -->
     <!--                                                               -->
     <!-- If it is not a SLOW-SYNC then this option is ignored and the  -->
     <!-- behavior is determined from the cached Last anchor.           -->
     <DisplayName>Use Timestamp Anchor</DisplayName>
     <Name>UseTimeAnchor</Name>
     <Type>bool</Type>
     <Value>1</Value>
   </AdvancedOption>
  
   <AdvancedOption>
     <DisplayName>Authentication Type (e.g. syncml:auth-md5)</DisplayName>
     <Name>AuthType</Name>
     <Type>string</Type>
     <ValEnum>AUTH_MD5</ValEnum>
     <ValEnum>AUTH_BASIC</ValEnum>
     <ValEnum>AUTH_NONE</ValEnum>
     <Value>AUTH_NONE</Value>
   </AdvancedOption>
  </AdvancedOptions>
  <Authentication>
    <Username></Username>
    <Password></Password>
  </Authentication>
  <Connection>
   <ActiveConnection>Network</ActiveConnection>
   <Network>
     <!-- The port where to listen. This has to be set on the mobile as well. -->
     <Port>8080</Port>
   </Network>
  </Connection>

  <!-- To be filed by UI or hand:
  <Resources>
    <Resource>
     <Enabled>1</Enabled>
     <Formats>
       <Format>
         <Name>vcard21</Name>
       </Format>
     </Formats>
     <Name>Contacts</Name>
     <ObjType>contact</ObjType>
    </Resource>
  </Resources>

    -->

  <Resources>
    <Resource>
      <Enabled>1</Enabled>
      <Formats>
        <Format>
          <Name>vcard21</Name>
        </Format>
      </Formats>
      <Name>Contacts</Name>
      <ObjType>contact</ObjType>
    </Resource>
    <Resource>
      <Enabled>1</Enabled>
      <Formats>
        <Format>
          <Name>vevent20</Name>
        </Format>
      </Formats>
      <Name>Calendar</Name>
      <ObjType>event</ObjType>
    </Resource>
    <Resource>
      <Enabled>1</Enabled>
      <Formats>
        <Format>
          <Name>vnote11</Name>
        </Format>
      </Formats>
      <Name>Notes</Name>
      <ObjType>note</ObjType>
    </Resource>
  </Resources>

</config>
