<?xml version="1.0"?>
<config version="1.0">
  <AdvancedOptions>
   <AdvancedOption>
     <DisplayName>WBXML compression</DisplayName>
     <Name>WBXML</Name>
     <Type>bool</Type>
     <Value>1</Value>
   </AdvancedOption>
   <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>
    <!-- 
        Some devices use a non-standard compliant AT command.
        This special AT command contains for example the datastores
        which should be synchronized. If you don't know what to
        do then leave this empy or contact us via the user mailing
        list.
  
        Some devices are supported by default. If yours is not
        supported then please open a ticket.
  
        Examples for AT commands:
            Samsung: http://www.traud.de/gsm/samsung.htm
     -->
     <DisplayName>AT Command</DisplayName>
     <Name>ATCommand</Name>
     <Type>string</Type>
     <Value></Value>
   </AdvancedOption>
   <AdvancedOption>
     <!-- Some mobiles need special identifiers.          -->
     <!-- Mobile                     | Identifier         -->
     <!-- ...........................|................... -->
     <!-- Nokia                      | PC Suite           -->
     <!-- Nokia Series40 3rd Edition | PC Suite Data Sync -->
     <DisplayName>Identifier</DisplayName>
     <Name>Identifier</Name>
     <Type>string</Type>
     <Value></Value>
   </AdvancedOption>
    <!-- If your phone needs a special AT command but you don't
         know it and it is not supported but you know a similar
         phone which is supported then you can try to use this
         potentially working profile by adding this phone's
         identity here.
   
         at_manufacturer is the answer to AT+CGMI.
         at_model        is the answer to AT+CGMM.
   
         Example: mobile          Samsung SGH-Z400
                  at_manufacturer Samsung
                  at_model        SGH-Z400
      --> 
   <AdvancedOption>
     <DisplayName>AT Manufacturer</DisplayName>
     <Name>ATManufacturer</Name>
     <Type>string</Type>
     <Value></Value>
   </AdvancedOption>
   <AdvancedOption>
     <DisplayName>AT Model</DisplayName>
     <Name>ATModel</Name>
     <Type>string</Type>
     <Value></Value>
   </AdvancedOption>
   <!-- FIXME: OnlyReplace seems to be DEAD option - drop? -->
   <AdvancedOption>
     <!-- Never send ADD command, but send REPLACE (not needed normally) -->
     <DisplayName>Only Replace (never send ADD command)</DisplayName>
     <Name>OnlyReplace</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>
     <!-- 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>
     <!-- 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>
  </AdvancedOptions>
  <Authentication>
    <Username></Username>
    <Password></Password>
  </Authentication>
  <Connection>
   <ActiveConnection>Bluetooth</ActiveConnection>
   <Bluetooth>
     <!-- hcitool scan -->
     <MAC></MAC>
     <!-- sdptool search \-\-bdaddr=$MAC SYNCML --> 
     <RFCommChannel>11</RFCommChannel>
     <!-- SyncML UUID -->
     <SDPUUID>00000002-0000-1000-8000-0002ee000002</SDPUUID>
   </Bluetooth>
   <USB>
      <!-- Please use lsusb to get the according IDs for the interfaces. -->
      <VendorID>1234</VendorID>
      <ProductID>5678</ProductID>
      <Interface>2</Interface>
    </USB>
  </Connection>

  <!-- this is an example ressource section, so users have it in their default config -->
  <Resources>
    <Resource>
     <Enabled>1</Enabled>
     <Formats>
       <Format>
         <Name>vcard21</Name>
       </Format>
     </Formats>
     <Name>Contacts</Name>
     <ObjType>contact</ObjType>
    </Resource>
  </Resources>

</config>
