On Tue, 2009-03-24 at 17:59 +0100, Joerg Reisenweber wrote:
> Am Do  19. März 2009 schrieb Michael 'Mickey' Lauer:
> > On Thursday 19 March 2009 14:39:19 Sven Klomp wrote:
> > > On Thursday 19 March 2009 14:05:05 Michael 'Mickey' Lauer wrote:
> > > > I wonder why it takes a string as opposed to a double.
> > > >
> > > > If you think double is more appropriate, feel free to open a bug report
> > > > (trac.fso)
> > >
> > > Done.
> > >
> > > Maybe it is the wrong mailinglist.
> > 
> > [email protected] would fit most.
> > 
> > > However, I wonder if an API for the RTC
> > > is planed that takes care of multiple wake up times? Until now, I have to
> > > take care if another application set the time already...
> > 
> > RTC is probably going to stay like that, since it's a low level interface. 
> The 
> > big picture is that the (higher level) PIM service would handle this, e.g. 
> > once it knows about all your appointments, it can always compute the next 
> > alarm that is due and program the RTC accordingly.
> 
> Nope, has to be done by some middleware. There might be RTC-alarms from other 
> sources than just PIM. (e.g. GPS, bat management etc pp)
> I suggest patching cron & at, as it seems the most natural interface for 
> RTC-alarm.

The handling of multiple alarms is already implemented as:
org.freesmartphone.Time.Alarm

(http://git.freesmartphone.org/?p=specs.git;a=blob_plain;f=html/org.freesmartphone.Time.Alarm.html;hb=HEAD)

I don't know of anything using that interface, though :/

Jan


_______________________________________________
devel mailing list
[email protected]
https://lists.openmoko.org/mailman/listinfo/devel

Reply via email to