CTCaps not in devinfo.txt

View: New views
6 Messages — Rating Filter:   Alert me  

CTCaps not in devinfo.txt

by lst_hoe02 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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?

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: sync-unsubscribe@...

Re: CTCaps not in devinfo.txt

by Jan Schneider :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Zitat von lst_hoe02@...:

> 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: sync-unsubscribe@...
>



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: sync-unsubscribe@...

Re: CTCaps not in devinfo.txt

by lst_hoe02 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Zitat von Jan Schneider <jan@...>:

> Zitat von lst_hoe02@...:
>
>> 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

Much better, thanxs...

Will now move on with bug #6658

Regards

Andreas




--
sync mailing list - Join the hunt: http://horde.org/bounties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: sync-unsubscribe@...

Re: CTCaps not in devinfo.txt

by lst_hoe02 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Zitat von Jan Schneider <jan@...>:

> Zitat von lst_hoe02@...:
>
>> 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
>

Umm. Not perfect. Now the Rx-Pref and Tx-Pref are missing. I have not  
fully understand the stacking with _stack but it seams the inner loop  
for "Datastore" is missing now.

Regards

Andreas


--
sync mailing list - Join the hunt: http://horde.org/bounties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: sync-unsubscribe@...

Re: CTCaps not in devinfo.txt

by Jan Schneider :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Zitat von lst_hoe02@...:

> Zitat von Jan Schneider <jan@...>:
>
>> Zitat von lst_hoe02@...:
>>
>>> 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
>>
>
> Umm. Not perfect. Now the Rx-Pref and Tx-Pref are missing. I have  
> not fully understand the stacking with _stack but it seams the inner  
> loop for "Datastore" is missing now.

http://cvs.horde.org/diff.php/framework/SyncML/SyncML/Command/Put.php?rt=horde&r1=1.12.10.14&r2=1.12.10.15&ty=u should fix  
this.

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: sync-unsubscribe@...

Re: CTCaps not in devinfo.txt

by lst_hoe02 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Zitat von Jan Schneider <jan@...>:

> Zitat von lst_hoe02@...:
>
>> Zitat von Jan Schneider <jan@...>:
>>
>>> Zitat von lst_hoe02@...:
>>>
>>>> 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
>>>
>>
>> Umm. Not perfect. Now the Rx-Pref and Tx-Pref are missing. I have  
>> not fully understand the stacking with _stack but it seams the  
>> inner loop for "Datastore" is missing now.
>
> http://cvs.horde.org/diff.php/framework/SyncML/SyncML/Command/Put.php?rt=horde&r1=1.12.10.14&r2=1.12.10.15&ty=u should fix  
> this.

Thanks, the Prefs are here again. I will try to create a patch for the  
Funambol (Outlook) devices to respect the Rx-Pref if send and do not  
send sic-x unconditionally if Funambol is detected.

Regards

Andreas


--
sync mailing list - Join the hunt: http://horde.org/bounties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: sync-unsubscribe@...