Discussion:
[Bitpim-devel] Patch for VX4500 calendar
Peter Dufault
2004-05-14 20:41:56 UTC
Permalink
I've attached a patch that let's you at least read back the calendar
from your phone. You can't write them back yet, for at least two
reasons:

1. I haven't added support for the new fields;
2. I haven't started reading/writing the voice memo files.

Given my great abilities in python I might not add them that soon,
either.

A few questions:

1. What are the "changeserial" and "snoozedelay" fields for the vx4400?
2. I've attached some logs I got from the phone. Do the additional
fields that replace the end of the description make sense in terms of
known file setups for cell phones? At first glance it seems as if
there is a two-byte boolean followed by a two-byte - 0x0f index, which
seems weird. In looking at the log look at the last few entries where
I start adding additional events.

Peter
Roger Binns
2004-05-16 20:19:44 UTC
Permalink
Post by Peter Dufault
I've attached a patch that let's you at least read back the calendar
from your phone.
Comitted.
Post by Peter Dufault
Given my great abilities in python I might not add them that soon,
either.
My intention for the 0.8 releases is to concentrate on the calendar.
For 0.7 it is to get the phonebook and phonebook importing working
well.
Post by Peter Dufault
1. What are the "changeserial" and "snoozedelay" fields for the vx4400?
Changeserial is wrong. The field is something else, I think the UI
for repeat events or something similar. I never quite got around
to fixing it.

snoozedelay is an internal detail on the phone. As far as I can tell,
the phone runs a task that reads the calendar at the beginning of every
minute.

So say the event is set for 1pm, and the alarm is set for 1 hour.
The alarm will go off at 1pm - 1 hour = midday. If the user then
presses snooze while the alarm is going off, snoozedelay becomes
non-zero. I forget how long the snooze is, but lets assume 5 minutes.
So the alarm then goes off at 1pm - 1 hour + snoozedelay = 12:05.
If you press snooze again, then snoozedelay is set to 10 minutes.
It is all nice and simple, and works correctly even if the
phone is rebooted (assuming the reboot isn't at the top of a
minute :-)
Post by Peter Dufault
2. I've attached some logs I got from the phone.
After my commit, the log should now should your protocol decoding which
makes it a lot easier to look at.

Roger

Loading...