Re: CTCaps not in devinfo.txt

Jan Schneider <[email protected]>
Newsgroups gmane.comp.horde.sync
Message-ID <[email protected]>
Zitat von [email protected]:

> Hello
>
> i try to use the capabilities sent by a SyncML client (Funambol  
> Mozilla Client Ver. 0.9.1) but get no entries in  
> /tmp/sync/devinfo.txt despite some values are sent by the client.  
> Has anyone ever tried if capabilities are working?

Please try if this is fixed with the following patch:
http://cvs.horde.org/diff.php/framework/SyncML/SyncML/Command/Put.php?rt=horde&r1=1.12.10.13&r2=1.12.10.14&ty=u

> devinfo.txt :
> SyncML_DeviceInfo::__set_state(array(
>    'VerDTD' => '1.2',
>    'Man' => 'Funambol',
>    'Mod' => NULL,
>    'OEM' => NULL,
>    'FwV' => NULL,
>    'SwV' => '0.9.1',
>    'HwV' => NULL,
>    'DevID' => 'fmz-2Mz2DForvBTcU7HrqvcM2w==',
>    'DevTyp' => 'workstation',
>    'DataStores' =>
>   array (
>     0 =>
>     SyncML_DataStore::__set_state(array(
>        'SourceRef' => 'contact',
>        'DisplayName' => NULL,
>        'MaxGUIDSize' => NULL,
>        'Rx_Pref' =>
>       array (
>         'text/x-vcard' => '2.1',
>       ),
>        'Rx' =>
>       array (
>       ),
>        'Tx_Pref' =>
>       array (
>         'text/x-vcard' => '2.1',
>       ),
>        'Tx' =>
>       array (
>       ),
>        'DSMem' => NULL,
>        'SyncCap' =>
>       array (
>         2 => true,
>         1 => true,
>         6 => true,
>         4 => true,
>       ),
>     )),
>     1 =>
>     SyncML_DataStore::__set_state(array(
>        'SourceRef' => 'event',
>        'DisplayName' => NULL,
>        'MaxGUIDSize' => NULL,
>        'Rx_Pref' =>
>       array (
>         'text/calendar' => '2.0',
>       ),
>        'Rx' =>
>       array (
>       ),
>        'Tx_Pref' =>
>       array (
>         'text/calendar' => '2.0',
>       ),
>        'Tx' =>
>       array (
>       ),
>        'DSMem' => NULL,
>        'SyncCap' =>
>       array (
>         2 => true,
>         1 => true,
>         6 => true,
>         4 => true,
>       ),
>     )),
>     2 =>
>     SyncML_DataStore::__set_state(array(
>        'SourceRef' => 'task',
>        'DisplayName' => NULL,
>        'MaxGUIDSize' => NULL,
>        'Rx_Pref' =>
>       array (
>         'text/calendar' => '2.0',
>       ),
>        'Rx' =>
>       array (
>       ),
>        'Tx_Pref' =>
>       array (
>         'text/calendar' => '2.0',
>       ),
>        'Tx' =>
>       array (
>       ),
>        'DSMem' => NULL,
>        'SyncCap' =>
>       array (
>         2 => true,
>         1 => true,
>         6 => true,
>         4 => true,
>       ),
>     )),
>   ),
>    'CTCaps' => NULL,
>    'Exts' => NULL,
>    'UTC' => true,
>    'SupportLargeObjs' => NULL,
>    'SupportNumberOfChanges' => NULL,
> ))
>
>
>
>
> client_11.xml :
> <Meta><Type xmlns="syncml:metinf">application/vnd.syncml-devinf+xml</Type>
> </Meta>
> <Item><Source><LocURI>./devinf12</LocURI>
> </Source>
> <Data><DevInf xmlns="syncml:devinf"><VerDTD>1.2</VerDTD>
> <Man>Funambol</Man>
> <SwV>0.9.1</SwV>
> <DevID>fmz-3WY0cMxIgfrH4p8N2d5Bbw==</DevID>
> <DevTyp>workstation</DevTyp>
> <UTC/><DataStore><SourceRef>contact</SourceRef>
> <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>
> <PropParam><ParamName>VCARD</ParamName>
> </PropParam>
> </Property>
> <Property><PropName>VERSION</PropName>
> <PropParam><ParamName>2.1</ParamName>
> </PropParam>
> </Property>
> <Property><PropName>N</PropName>
> </Property>
> <Property><PropName>FN</PropName>
> </Property>
> <Property><PropName>NICKNAME</PropName>
> </Property>
> <Property><PropName>END</PropName>
> <PropParam><ParamName>VCARD</ParamName>
> </PropParam>
> </Property>
> </CTCap>
>
> -- 
> sync mailing list - Join the hunt: http://horde.org/bounties/#sync
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: [email protected]
>



Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

-- 
sync mailing list - Join the hunt: http://horde.org/bounties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.