<?xml version="1.0"?>
<config version="1.0">
  <AdvancedOptions>
   <AdvancedOption>
     <DisplayName>SyncML Version</DisplayName>
     <Name>SANVersion</Name>
     <Type>string</Type>
     <ValEnum>1.2</ValEnum>
     <ValEnum>1.1</ValEnum>
     <ValEnum>1.0</ValEnum>
     <Value>1.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>
   <AdvancedOption>
     <DisplayName>Path for the remote server</DisplayName>
     <Name>Path</Name>
     <Type>string</Type>
     <Value></Value>
   </AdvancedOption>
   <AdvancedOption>
     <!-- if you have a proxy (e.g. from a firewall) then you can enter it here -->
     <DisplayName>Proxy</DisplayName>
     <Name>Proxy</Name>
     <Type>string</Type>
     <Value></Value>
   </AdvancedOption>
   <AdvancedOption>
     <!-- if you use https then it is strongly recommend to use a -->
     <!-- file with all trusted certification authorities inside  -->
     <!-- libsoup is the http library behind libsyncml            -->
     <!-- libsoup actually only supports a cafile and no explicit -->
     <!-- peer certificates                                       -->
     <DisplayName>CA file</DisplayName>
     <Name>CaFile</Name>
     <Type>string</Type>
     <Value></Value>
     <!-- <Value>/etc/calist.pem</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>
 
   <!-- Faking devices is necessary for some servers                         -->
   <!--  because they work with profiles                                     -->
   <!-- Oracle Collaboration Suite does such things                          -->
   <!-- so if somebody denies your client (e.g. uncertifiedclients=disallow) -->
   <!-- then simply fake such a superious client ;-D                         -->

   <!-- ========================== -->
   <!-- Examples for faking phones -->
   <!-- ========================== -->

   <!--
        Nokia Series 40
            SyncML Version:   1.1
            Manufacturer:     NOKIA
            Model:            6800
            Software Version: 1.0
        Nokia Series 60
            SyncML Version:   1.1
            Manufacturer:     NOKIA
            Model:            6600
            Software Version: 1.0
        Nokia Series 80
            SyncML Version:   1.1
            Manufacturer:     NOKIA
            Model:            9300
            Software Version: 1.0
        Nokia E-Series
            SyncML Version:   1.1 or 1.2
            Manufacturer:     NOKIA
            Model:            E60
            Software Version: 1.0
     -->

   <AdvancedOption>
     <DisplayName>Fake Device</DisplayName>
     <Name>FakeDevice</Name>
     <Type>bool</Type>
     <Value>1</Value>
   </AdvancedOption>
   <AdvancedOption>
     <DisplayName>Fake Manufacturer</DisplayName>
     <Name>FakeManufacturer</Name>
     <Type>string</Type>
     <Value>NOKIA</Value>
   </AdvancedOption>
   <AdvancedOption>
     <DisplayName>Fake Model</DisplayName>
     <Name>FakeModel</Name>
     <Type>string</Type>
     <Value>E60</Value>
   </AdvancedOption>
   <AdvancedOption>
     <DisplayName>Fake Software Version</DisplayName>
     <Name>FakeSoftwareVersion</Name>
     <Type>string</Type>
     <Value>1.0</Value>
   </AdvancedOption>
  </AdvancedOptions>
  <Authentication>
    <Username></Username>
    <Password></Password>
  </Authentication>
  <Connection>
    <ActiveConnection>Network</ActiveConnection>
    <Network>
      <Address>127.0.0.1</Address>
      <Port>8080</Port>
      <Protocol>http</Protocol>
    </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>
      <Name>Contacts</Name>
      <ObjType>contact</ObjType>
      <Formats>
        <Format>
          <Name>vcard30</Name>
        </Format>
      </Formats>
      <Enabled>1</Enabled>
    </Resource>
    <Resource>
      <Name>Calendar</Name>
      <ObjType>event</ObjType>
      <Formats>
        <Format>
          <Name>vevent20</Name>
        </Format>
      </Formats>
      <Enabled>1</Enabled>
    </Resource>
    <Resource>
      <Name>Notes</Name>
      <ObjType>note</ObjType>
      <Formats>
        <Format>
          <Name>vnote11</Name>
        </Format>
      </Formats>
      <Enabled>1</Enabled>
    </Resource>

    <!-- Example: Oracle Collaboration Suite SyncML component -->
    <!--
    <Resource>
      <Name>./Contacts</Name>
      <ObjType>contact</ObjType>
      <Formats>
        <Format>
          <Name>vcard30</Name>
        </Format>
      </Formats>
      <Enabled>1</Enabled>
    </Resource>
    <Resource>
      <Name>./Calendar/Events</Name>
      <ObjType>event</ObjType>
      <Formats>
        <Format>
          <Name>vevent20</Name>
        </Format>
      </Formats>
      <Enabled>1</Enabled>
    </Resource>
    <Resource>
      <Name>./Calendar/Tasks</Name>
      <ObjType>todo</ObjType>
      <Formats>
        <Format>
          <Name>vevent20</Name>
        </Format>
      </Formats>
      <Enabled>1</Enabled>
    </Resource>

    -->

    <!-- This is the global calendar object of Oracle -->
    <!-- I think we can ignore it. -->
    <!--
    <Resource>
      <Name>./Calendar</Name>
      <ObjType>event</ObjType>
      <Formats>
        <Format>
          <Name>vevent20</Name>
        </Format>
      </Formats>
      <Enabled>1</Enabled>
    </Resource>
   -->

  </Resources>

</config>
