Reply
Thread Tools
Posts: 26 | Thanked: 25 times | Joined on Jan 2010 @ USA, Maine
#31
Originally Posted by 3quid View Post
the plugins that myselfand scudderfish have posted will do that for you. the only thing it wont do is correctly work with all calendar events with alarms (it will do soon when we work it out). download either and you can use isync just fine
Thanks. As much as I am itching to try it, I figured I would give you both a bit longer to work through this. I downloaded all the mac dev tools today and realize how much I don't know. Personally I don't really care about the calendar as that is synced with google so my wife's mac is also updated but with contacts I have my own.
 
Posts: 33 | Thanked: 10 times | Joined on Jan 2010
#32
Well you can always load the plugin and just choose to synchronise a single group of contacts from the address book (maybe make a test group) to try it out. I have synchronised all of my contacts using my plugin and it works perfect

If not, stay tuned to this thread and hopefully we will have it all sorted soon.
 
Posts: 33 | Thanked: 10 times | Joined on Jan 2010
#33
Syncing events with alarms from iCal to N900 now definitely works as expected but when they are created in iCal they must have the alarm type set to "Message with Sound". From what I can tell any other alarm type doesn't work.

Basically all that is missing now is, events created on the N900 with alarms, being imported from N900 to iCal.
 
Posts: 356 | Thanked: 172 times | Joined on Jan 2010 @ Canada
#34
Originally Posted by 3quid View Post
Syncing events with alarms from iCal to N900 now definitely works as expected but when they are created in iCal they must have the alarm type set to "Message with Sound". From what I can tell any other alarm type doesn't work.

Basically all that is missing now is, events created on the N900 with alarms, being imported from N900 to iCal.
Interesting. And that's actually in keeping with what I've seen on my phone. I have an alarm that occurs bi-weekly that's just a pop-up message in iCal with no sound, and the N900 lists it as a "complex alarm - cannot be edited".

It also didn't display any kind of notification today, which it should have.
 
Posts: 52 | Thanked: 11 times | Joined on Nov 2009 @ UK
#35
Originally Posted by 3quid View Post
i just think butterfly should go to an iphone forum or at least a thread discussing iphone vs n900. there's plenty of them!
I don't really want to go back to using my iPhone. The N900 is way better - that's why I got it! I'm just really mad that right now I can't listen to music or watch videos anymore coz of some stupid firmware.

I have been reading this thread with interest, as I never thought it would be possible to sync my iCal
__________________
I love my N900
 
Posts: 61 | Thanked: 36 times | Joined on Feb 2006 @ Harpenden
#36
The only real difference I can see between our plugins is that you explicitly name the device SyncML Databases, but I use "No target database names in Server Alert" (whatever that means!) It doesn't seem to make any operation difference though.

I switched on debug in iSync (launch it whilst holding down Shift and Option). It generates reams of data in a log file (2Mb per sync), but searching it for any details of the N900 created event turned up nothing. It may be a problem on the N900 where it isn't exposing the event over SyncML for whatever reason, rather than a fault of the plugin or iSync.

Last edited by scudderfish; 2010-01-17 at 11:35. Reason: typo
 
Posts: 33 | Thanked: 10 times | Joined on Jan 2010
#37
Originally Posted by scudderfish View Post
I switched on debug in iSync (launch it whilst holding down Shift and Option).
Great tip Scud, I had been trying to find out how to view the actual transmission!

I set up an event on the N900 without an alarm then synced, then repeated it with an event that had an alarm. There is as you say a lot of info in that log file but the following snippets I think is where the issue is.

Event without alarm log

Code:
vCal to parse:
BEGIN:VCALENDAR
VERSION:1.0
TZ:+00
DAYLIGHT:TRUE;+01;20100328T020000;20101024T010000;GMT;BST
BEGIN:VEVENT
SUMMARY;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:=
Test=20event
UID:511
DTSTART:20100129T125000Z
DTEND:20100129T135000Z
ATTACH:
SEQUENCE:0
LAST-MODIFIED:20100117T123018Z
DCREATED:20100117T123006Z
END:VEVENT
END:VCALENDAR
and then a few lines below that we get a success message and the event has been parsed successfully

Code:
vCal parsed:
{
    RawProperties =     (
                {
            Name = UID;
            Value = <353131>;
        },
                {
            Name = SEQUENCE;
            Value = <30>;
        },
                {
            Name = "LAST-MODIFIED";
            Value = <32303130 30313137 54313233 3031385a>;
        },
                {
            Name = DCREATED;
            Value = <32303130 30313137 54313233 3030365a>;
        }
    );
    "all day" = 0;
    "com.apple.syncservices.RecordEntityName" = "com.apple.calendars.Event";
    "end date" = "2010-01-29 13:50:00 +0000";
    "start date" = "2010-01-29 12:50:00 +0000";
    summary = "Test event";
}
whereas with the event that does have an alarm we have the following

Code:
vCal to parse:
BEGIN:VCALENDAR
VERSION:1.0
TZ:+00
DAYLIGHT:TRUE;+01;20100328T020000;20101024T010000;GMT;BST
BEGIN:VEVENT
SUMMARY;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:=
Testing=20alarms=20w/log
UID:513
DTSTART:20100129T132000Z
DTEND:20100129T142000Z
ATTACH:
SEQUENCE:0
LAST-MODIFIED:20100117T130040Z
DCREATED:20100117T130040Z
AALARM:20100129T130500
;PT3M
;
END:VEVENT
END:VCALENDAR
and just below we get an error instead of a "vcal parsed" result

Code:
Failed to parse vCal (1) near index 97: BEGIN:VEVENT
SUMMARY;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:=
Testing=20alarms=20w/log
UID:513
DTSTART:20100129T132000Z
DTEND:20100129T142000Z
ATTACH:
SEQUENCE:0
LAST-MODIFIED:20100117T130040Z
DCREATED:20100117T130040Z
AALARM:20100129T130500
;PT3M
;
END:VEVENT
END:VCALENDAR

So... I guess we have to work out exactly what "Failed to parse vCal (1) near index 97" means? Well.. I know what it means, it failed! but where that problem is coming from.. iCal or N900? The formatting of the AALARM property? on different lines like that? Any ideas?

Last edited by 3quid; 2010-01-17 at 13:32.
 
Posts: 33 | Thanked: 10 times | Joined on Jan 2010
#38
Originally Posted by 3quid View Post
So... I guess we have to work out exactly what "Failed to parse vCal (1) near index 97" means? Well.. I know what it means, it failed! but where that problem is coming from.. iCal or N900? The formatting of the AALARM property? on different lines like that? Any ideas?
Just did another test. I created an event in iCal with an alarm "Message with sound" which we know syncs correctly with the N900. This is a snippet from that log file.

Code:
vCal generated:
BEGIN:VCALENDAR
VERSION:1.0
BEGIN:VEVENT
DTSTART:20100130T140000Z
DTEND:20100130T150000Z
CLASS:PUBLIC
AALARM:20100129T140000Z
SUMMARY:Testing from iCal
END:VEVENT
END:VCALENDAR
 
Posts: 33 | Thanked: 10 times | Joined on Jan 2010
#39
[QUOTE=3quid;478038]

The way I see it is that we dont need the ;PT3M; part of the AALARM that is coming from the N900.

iCal, when sending, formats the AALARMS like this:

AALARM:20100129T140000Z

Broken down into

AALARM - Alarm with message and sound
Year - 2010
Month - 01
Day - 29
T - is to say the following is a time entry
Time of alarm - 1400 00 (2pm and zero seconds)
Z - I dont know what this Z means yet


In the alarm event coming from the N900 it states

AALARM:20100129T130500
;PT3M
;

So again it is broken into

AALARM - Alarm with message and sound
Year - 2010
Month - 01
Day - 29
T - is to say the following is a time entry
Time of alarm - 1305 00 (1.50pm and zero seconds) [The alarm was set for 15 mins before the event which was at 13:20 so thats correct]
;PT3M - This according to here should mean that the alarm has a P (Snooze value) but that is blank. Then a T (Time) which is 3M (3 Minutes... why!?)

So it is possible that if we could somehow swap the ;PT3M; for a Z it would work?

Last edited by 3quid; 2010-01-17 at 14:04.
 
Posts: 61 | Thanked: 36 times | Joined on Feb 2006 @ Harpenden
#40
Z is the timezone indicator.

I need to read the vCard spec I think.
 
Reply


 
Forum Jump


All times are GMT. The time now is 18:33.