Hi Anuj,

<Ext> are non-standard (usually proprietary) extensions to devInf. So I have no 
idea what this particular <Ext> means; you'd need to ask the maker of this 
SyncML implementation which sends it. And most probably, just putting that tag 
into the devInf is not enough (you could do that by modifying libsynthesis 
sources), as it relates to some proprietary functionality of that SyncML 
implementation.

Best Regards,

Lukas



On 27.01.2014, at 14:09, anuj chauhan <[email protected]> wrote:

> Hi Lukas,
> 
> Thanks for replying on my post.I have another question on EXT Field .I have a 
> dev-inf and am trying to
> produce an similar outgoing dev-inf from libsynthesis.but am not sure what 
> this EXT filed is for and what
> puprose does it serves .Could you help me on it's definition and 
> significance.Here is the source dev-inf which
> i am trying to reproduce.
> 
>  <DataStore>
>     <SourceRef>Contacts</SourceRef>
>     <MaxGUIDSize>16</MaxGUIDSize>
>     <Rx-Pref>
>       <CTType>text/x-vcard</CTType>
>       <VerCT>2.1</VerCT>
>     </Rx-Pref>
>     <Tx-Pref>
>       <CTType>text/x-vcard</CTType>
>       <VerCT>2.1</VerCT>
>     </Tx-Pref>
>     <CTCap>
>       <CTType>text/x-vcard</CTType>
>       <VerCT>2.1</VerCT>
>       <Property>
>         <PropName>BEGIN</PropName>
>         <ValEnum>VCARD</ValEnum>
>       </Property>
>       <Property>
>         <PropName>END</PropName>
>         <ValEnum>VCARD</ValEnum>
>       </Property>
>       <Property>
>         <PropName>VERSION</PropName>
>         <ValEnum>2.1</ValEnum>
>       </Property>
>       <Property>
>         <PropName>N</PropName>
>       </Property>
>       <Property>
>         <PropName>FN</PropName>
>       </Property>
>       <Property>
>         <PropName>TEL</PropName>
>         <MaxOccur>2</MaxOccur>
>         <PropParam>
>           <ParamName>TYPE</ParamName>
>           <ValEnum>CELL</ValEnum>
>           <ValEnum>VOICE</ValEnum>
>           <ValEnum>HOME</ValEnum>
>           <ValEnum>WORK</ValEnum>
>           <ValEnum>FAX</ValEnum>
>           <ValEnum>PAGER</ValEnum>
>           <ValEnum>CAR</ValEnum>
>           <ValEnum>COMPANY</ValEnum>
>           <ValEnum>PREF</ValEnum>
>         </PropParam>
>       </Property>
>       <Property>
>         <PropName>ADR</PropName>
>         <MaxOccur>1</MaxOccur>
>         <PropParam>
>           <ParamName>TYPE</ParamName>
>           <ValEnum>HOME</ValEnum>
>           <ValEnum>WORK</ValEnum>
>         </PropParam>
>       </Property>
>       <Property>
>         <PropName>UID</PropName>
>       </Property>
>       <Property>
>         <PropName>PHOTO</PropName>
>         <MaxSize>120000</MaxSize>
>         <MaxOccur>1</MaxOccur>
>         <DispayName>Photo</DispayName>
>         <PropParam>
>           <ParamName>ENCODING</ParamName>
>           <ValEnum>BASE64</ValEnum>
>         </PropParam>
>         <PropParam>
>           <ParamName>TYPE</ParamName>
>           <ValEnum>JPEG</ValEnum>
>         </PropParam>
>       </Property>
>       <Property>
>         <PropName>ORG</PropName>
>         <MaxSize>127</MaxSize>
>         <MaxOccur>1</MaxOccur>
>       </Property>
>       <Property>
>         <PropName>TITLE</PropName>
>         <MaxSize>63</MaxSize>
>         <MaxOccur>1</MaxOccur>
>       </Property>
>       <Property>
>         <PropName>URL</PropName>
>         <MaxOccur>1</MaxOccur>
>       </Property>
>       <Property>
>         <PropName>NOTE</PropName>
>         <MaxOccur>1</MaxOccur>
>       </Property>
>       <Property>
>         <PropName>EMAIL</PropName>
>         <MaxOccur>3</MaxOccur>
>         <PropParam>
>           <ParamName>TYPE</ParamName>
>           <ValEnum>INTERNET</ValEnum>
>           <ValEnum>PREF</ValEnum>
>         </PropParam>
>       </Property>
>       <Property>
>         <PropName>BDAY</PropName>
>         <MaxOccur>1</MaxOccur>
>       </Property>
>       <Property>
>         <PropName>X-IMPP</PropName>
>         <MaxOccur>1</MaxOccur>
>       </Property>
>       <Property>
>         <PropName>X-CT</PropName>
>         <PropParam>
>           <ParamName>TYPE</ParamName>
>           <ValEnum>PERSON</ValEnum>
>           <ValEnum>BUSINESS</ValEnum>
>           <ValEnum>GROUP</ValEnum>
>         </PropParam>
>       </Property>
>       <Property>
>         <PropName>X-ANNIVERSARY</PropName>
>       </Property>
>       <Property>
>         <PropName>X-GROUPNAME</PropName>
>       </Property>
>       <Property>
>         <PropName>X-GROUPTYPE</PropName>
>       </Property>
>       <Property>
>         <PropName>X-MEMID</PropName>
>       </Property>
>       <Property>
>         <PropName>REV</PropName>
>       </Property>
>     </CTCap>
>     <SyncCap>
>       <SyncType>1</SyncType>
>       <SyncType>2</SyncType>
>       <SyncType>3</SyncType>
>       <SyncType>4</SyncType>
>       <SyncType>5</SyncType>
>       <SyncType>6</SyncType>
>       <SyncType>7</SyncType>
>     </SyncCap>
>   </DataStore>
> 
>   <DataStore>
>     <SourceRef>Setting</SourceRef>
>     <MaxGUIDSize>16</MaxGUIDSize>
>     <Rx-Pref>
>       <CTType>text/xml</CTType>
>       <VerCT>1.0</VerCT>
>     </Rx-Pref>
>     <Tx-Pref>
>       <CTType>text/xml</CTType>
>       <VerCT>1.0</VerCT>
>     </Tx-Pref>
>     <CTCap>
>       <CTType>text/xml</CTType>
>       <VerCT>1.0</VerCT>
>       <Property>
>         <PropName>sync.type</PropName>
>         <ValEnum>DISABLED</ValEnum>
>         <ValEnum>AUTO</ValEnum>
>       </Property>
>     </CTCap>
> 
>     <SyncCap>
>       <SyncType>1</SyncType>
>       <SyncType>2</SyncType>
>       <SyncType>3</SyncType>
>       <SyncType>4</SyncType>
>       <SyncType>5</SyncType>
>       <SyncType>6</SyncType>
>       <SyncType>7</SyncType>
>     </SyncCap>
> 
>   </DataStore>
>   <Ext>
>     <XNam>SynchronizeGroup</XNam>
>     <XVal>X-CT</XVal>
>   </Ext>
> 
> 
> 
> Thanks & Regards
> Anuj Chauhan
> 
> 
> On Thu, Jan 23, 2014 at 9:34 AM, Lukas Zeller <[email protected]> wrote:
> Hi Anuj,
> 
> On 23.01.2014, at 13:34, anuj chauhan <[email protected]> wrote:
> 
> > I wanted to know how to add the Ext field/property so that it gets 
> > communicated to the Server via DevInf.
> >   <Ext>
> >     <XNam>SynchronizeGroup</XNam>
> >     <XVal>X-CT</XVal>
> >   </Ext>
> >
> > I was going through the reference documents and the sample xmls, but was 
> > not sure where to add this.
> > As per the SyncML, this needs to come outside the <DataStore> tag.
> 
> Adding something inside <Ext> would need changes to libsynthesis C++.
> There's no support for this so far doing this via XML config.
> 
> Lukas
> 
> 

Lukas Zeller, plan44.ch
[email protected] - www.plan44.ch

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

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

Reply via email to