Hello!

When Congwu tested direct synchronization with the Nokia N7120c, he
found that certain workarounds were needed (see patch below). 

Congwu, I'm not entirely sure why the "TZ" property is needed when we
force using UTC. Is it for events coming from the device? In that case,
how is the DTEND value handled? What was the advantage of forcing UTC
when it supports TZ? Too limited range of recognized TZ values?

Suppose we have multiple devices which all need this special "TZ"
property. Lukas, is there a way to do this without adding one <property>
entry per device? I think we discussed this before, but did we come to a
conclusion?

Bye, Patrick

commit ecfc190c15d822e96cbeda14827fc41e67589f72
Author: Chen Congwu <[email protected]>
Date:   Fri Dec 11 14:47:58 2009 +0800

    Synthesis Configuration: add remote rule for Nokia 7210c
    
    It handles UTC time but does not claim in the devInfo.
    Some fileld has limited lengh but does not claim.

diff --git a/src/syncclient_sample_config.xml b/src/syncclient_sample_config.xml
index 58e18af..cdbc003 100644
--- a/src/syncclient_sample_config.xml
+++ b/src/syncclient_sample_config.xml
@@ -941,6 +941,10 @@
         <!-- sub-profile for event -->
         <subprofile name="VEVENT" nummandatory="1" showifselectedonly="yes" 
field="ISEVENT" value="1">
 
+            <property rule='N7210c' name="TZ" filter="false" 
suppressempty="yes">
+                <value field="DTSTART" conversion="tz"/>
+            </property>
+
             <property name="STATUS"  suppressempty="yes" onlyformode="old">
                 <value field="STATUS" conversion="emptyonly">
                     <enum name="COMPLETED"      value="0"/>
@@ -1371,6 +1375,15 @@
   </datatypes>
 
   <clientorserver/>
+  <server type="plugin">
+      <remoterule name="N7210c">
+          <manufacturer>NOKIA</manufacturer>
+          <model>Nokia 7210c</model>
+          <descriptivename>Nokia 7210c</descriptivename>
+          <forceutc>yes</forceutc>
+          <limitedfieldlengths>yes</limitedfieldlengths>
+      </remoterule>
+  </server>
 
   <client type="plugin">
       <remoterule name="ZYB">




_______________________________________________
os-libsynthesis mailing list
[email protected]
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis

Reply via email to