This doesn't wake the device, it just keeps it from entering sleep mode (power off). Alarms are the only way I know of to wake a sleeping unit. Why can't you use them anymore?
----- Original Message ----- From: "Matt Revenaugh" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Friday, September 05, 2003 7:02 PM Subject: Re: Waking up device > > Try and add this to your AppEventLoop. It will make the device not go to > sleep. > > > static void AppEventLoop(void) > { > .... > .... > > do { > .... > .... > > EvtResetAutoOffTimer(); > } > } > > > Matt Revenaugh > > > - - - - - - - - > > > > On 9/5/03 6:15 AM, in article [EMAIL PROTECTED], "Chris Percival" > <[EMAIL PROTECTED]> wrote: > > > > > Is there a way to wake the device up from sleep at a given point in code? I > > have always just used: > > > > LocalID id = DmFindDatabase(0, AppName); > > AlmSetAlarm(0, id, 0, TimGetSeconds(), 0); > > > > ie. set an alarm to go off immediately. This has always worked great for me > > in the past, but now I cannot use that mechanism. There must be another > > way. I have searched the archives to no avail. It seams to me like quite a > > common thing to want to do.. > > > > Chris > > > > > > > > > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/