[sync] More P990 status and examples

Karsten Fourmont fourmont at gmx.de
Mon Oct 16 05:12:20 PDT 2006


if the log is written to log.txt rather than data.txt you're still  
having an outdated version.

> I've updated everything from CVS today, before testing this again. (I've
> just run "cvs up -dP" in the horde root direcory, is this sufficient?)

No, you need to update the horde framework PEAR packages. Two choices  
for doing so:

1) run install-packages.php from the framework directory. This will  
install the framework into your php pear directory. You have to run  
this script after every cvs up.
2) (preferred for development) run framework/devtools/make-fw-symlinks  
to create symlinks in horde/libs/. You need to include libs/ in your  
php search path and make sure the horde packages are removed from your  
php pear directory.

Cheers,
  Karsten

Quoting Håvard Wigtil <havardw at pvv.org>:

> Karsten Fourmont wrote:
>> Hi Håvard,
>>
>> thanks for the feedback.
>> Most parts of the implementation were done against my old P900 phone so
>> syncing with P800/900/990 should work best of all ;-)
>>
>> Anyhow, I don't have that phone any more so I'm happy if somebody can
>> provide testing with this product line: it's the only one with
>> SyncML1.0. I don't want to introduce changes that break it for these.
>
> The P990 uses SyncML 1.2. I still have my old P900 though, so I can use it
> to test from time to time when there is something specific that needs
> testing.
>
>> Regarding the vcard issues: I made some changes and hope that horde can
>> now automatically distinguish between text/vcard (VCARD3.0, rfc2426) and
>> text/x-vcard (VCARD2.1, imc.org). Please give it a try.
>> You need a current (cvs) version of turba (or at least its api.php).
>>
>> Horde should now send VCARD2.1 to your phone. If not, please send me the
>> /tmp/sync/devinf.txt and /tmp/sync/*log*.txt
>
> I see no changes, Horde still uses VCARD 3.0 style phone numbers when
> sending data to the phone. Also, it doesn't seem like there is anything
> done to convert the data recieved from the phone to 3.0 format. The log
> files are attached.
>
> I've updated everything from CVS today, before testing this again. (I've
> just run "cvs up -dP" in the horde root direcory, is this sufficient?)
> turba/lib/api.php claims to be version 1.195.
> Where in the source is the conversion taking place?
>
>   Håvard
>
>
>> Håvard Wigtil wrote:
>>> I've now synced with calendar, tasks, and notes without any problems.
>>> The
>>> only bug(let) I've found so far is that meeting attendees in calendar
>>> doesn't seem to be set from the phone.
>>>
>>> I'm still having problems accessing wiki.horde.org and bugs.horde.org.
>>> (I've notified my ISP also, but no response so far, as is to be expected
>>>>> from NextGenTel.)
>>>
>>> I've tried som web (based) proxies, they let med read the wiki, but
>>> editing doesn't  work with the ones I've tried yet.
>>> So could someone who doesn't have a messed-up connection add the
>>> contents
>>> of the attached file to http://wiki.horde.org/SyncMLDevicesFileFormats ?
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> ++ Sony Ericsson P990
>>>
>>> +++ P990 Contact Example
>>> <code>BEGIN:VCARD
>>> VERSION:2.1
>>> REV:20061004T182204Z
>>> UID:b2229084c1b63051-00e0fcb3600dd5a3-515
>>> N:Contact;Test;;Ph.d.;
>>> ADR;HOME:;;Home street;Homeville;Homeprovince;1234;Homia
>>> ADR;WORK:;;Corp street;Jobtown;Working state;5678;Usania
>>> TEL;WORK;VOICE;CELL:11111111
>>> TEL;WORK;VOICE:22222222
>>> TEL;FAX:77777777
>>> EMAIL;INTERNET;X-SYNCMLREF1:test at example.com
>>> URL:http://www.example.com
>>> TEL;HOME;VOICE:33333333
>>> EMAIL;INTERNET;HOME;X-SYNCMLREF2:private at example.com
>>> ORG:Example Inc;
>>> TITLE:Cto
>>> BDAY:19571004
>>> NOTE:Noteworthy for contact
>>> PHOTO;TYPE=JPEG;ENCODING=BASE64:
>>>     /9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkS
>>>     Ew8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDIBCQkJDAsM
>>> <snip photo data, default size seem to be 320x240>
>>>     V7czRFBWzUckav1pp21FYxNFsTB1FbtMVFQcCnUN3dxpWIpoRL1psdsqKQe9T0lJ
>>>     sCmbBN+4AUPYxuOlW80lK47H/9k=
>>>
>>> END:VCARD
>>> </code>
>>>
>>> +++ P990 Calendar example
>>> <code>BEGIN:VCALENDAR
>>> VERSION:1.0
>>> TZ:+0124
>>> DAYLIGHT:TRUE;+02;20060326T010000Z;20061029T010000Z;;
>>> DAYLIGHT:TRUE;+02;20070325T010000Z;20071028T010000Z;;
>>> DAYLIGHT:TRUE;+02;20080330T010000Z;20081026T010000Z;;
>>> DAYLIGHT:TRUE;+02;20090329T010000Z;20091025T010000Z;;
>>> DAYLIGHT:TRUE;+02;20100328T010000Z;20101031T010000Z;;
>>> BEGIN:VEVENT
>>> UID:20061004T174515Z-619750-H2_Board
>>> SUMMARY:Test appointment
>>> DESCRIPTION:Notes for test
>>> DTSTART:20061005T080000Z
>>> DTEND:20061005T090000Z
>>> X-EPOCAGENDAENTRYTYPE:APPOINTMENT
>>> CLASS:PUBLIC
>>> LOCATION:Ortopedisk poliklinikk
>>> SEQUENCE:-1
>>> X-METHOD:NONE
>>> ATTENDEE;ROLE=ORGANIZER;STATUS=NEEDS
>>> ACTION;RSVP=NO;EXPECT=FYI;X-PHONEOWNER:havardw (a) wigtil.net
>>> ATTENDEE;ROLE=ATTENDEE;STATUS=NEEDS
>>> ACTION;RSVP=YES;EXPECT=FYI;X-ROLE=REQ-PARTICIPANT;X-STATUS=NEEDS-ACTION:test at example.com
>>> RRULE:MP1 1+ TH 21001231T000000
>>> AALARM;TYPE=X-EPOCSOUND:20061005T075000Z;;0;0x100048ac0x00000205
>>> LAST-MODIFIED:20061004T174546Z
>>> CATEGORIES:X-Test
>>> PRIORITY:0
>>> STATUS:CONFIRMED
>>> X-SYMBIAN-LUID:13
>>> END:VEVENT
>>> END:VCALENDAR
>>> </code>
>>>
>>> +++ P990 Task example
>>> <code>BEGIN:VCALENDAR
>>> VERSION:1.0
>>> BEGIN:VTODO
>>> UID:20061004174658601750
>>> SUMMARY:Test task
>>> DESCRIPTION:Notes for task
>>> DTSTART:20061005T215959
>>> DUE:20061006T235959
>>> X-EPOCTODOLIST:TODO
>>> STATUS:NEEDS ACTION
>>> X-EPOCAGENDAENTRYTYPE:TODO
>>> CLASS:PUBLIC
>>> SEQUENCE:-1
>>> X-METHOD:NONE
>>> AALARM;TYPE=X-EPOCSOUND:20061004T204700;;0;0x100048ac0x00000205
>>> LAST-MODIFIED:20061004T174658Z
>>> CATEGORIES:X-Test
>>> PRIORITY:3
>>> X-SYMBIAN-LUID:14
>>> END:VTODO
>>> END:VCALENDAR
>>> </code>
>>>
>>> +++ P990 Notes example
>>> <code>BEGIN:VNOTE
>>> VERSION:1.1
>>> DCREATED:20060927T202756Z
>>> LAST-MODIFIED:20061004T180306Z
>>> BODY;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:=
>>> Teolog=0D=0ADager=20og=20blir=20ute=20til=20i=20kassa=20tar=20v=C3=A5r=20=
>>> teolog=20dager=20og=20=20
>>> END:VNOTE
>>> </code>
>>>
>>
>>
>>
>>
>>
>
>
> --
> Håvard Wigtil || http://wigtil.net





More information about the sync mailing list