Help - Search - Members - Calendar
Full Version: How to check email automatically?
OESF Forums > General Forums > General Support and Discussion > General Discussion
Ethereal
I've searched through the forums here and the config menus of the SL-5600 email client, but I can't find any info on this:

Is there a way to set up email (preferably, but not necessarily, with the stock client app) so that it will check for new messages periodically (via WiFi or Bluetooth/cell phone) while the device is "off" (suspended), and sound some sort of audible "message waiting" alarm sound?

I had this functionality with my Treo 600, and (sort of) with my iPaq 4350 (boo, hiss...), so I'm sure it exists in the world of the Zaurus, but I can't seem to find it...
derekp
There's a couple ways I can think of to get this to work. The zaurus has a built in wakeup/event timer, so I imagine it could be programmed to wake up every 15 minutes or so, check to see if there's a network connection, then check mail and go back to sleep if there is no new mail. The other way I can see it working is if the wifi card has a wake-on-lan function, but even if that does exist for CF wifi cards, I don't think the Linux driver supports it.
I'll have to play around with the event timer, and see if I can get this working (i've been looking for a new programming project).
Ethereal
derekp,

1.) Love the avatar. smile.gif

2.) Can you point me to any documentation for the event timer?

Thanks.
derekp
QUOTE
derekp,

1.) Love the avatar. smile.gif  

That's Boomhauer, from King of the Hill. It's kind of scarry that I identify with that character, and he happens to look like me :-)

QUOTE
2.) Can you point me to any documentation for the event timer?

Thanks.

I thought there was something in the development docs at docs.zaurus.com. Unfortunately, sharp pulled the plug on the devnet sites. Most of the docs should be copied in the docs wiki on this forum, but I couldn't find the one that talked about the event timer (if it ever existed, my memory is like swiss cheese at the moment). Could look at the source code for the calander application (either from Opie, or the source for KO/pi), as they both support wakeup events.
Ethereal
QUOTE
Could look at the source code for the calander application (either from Opie, or the source for KO/pi), as they both support wakeup events.


Uhh, I could "look at" those, but I doubt I could do much else. It's been a long time since I wrote anything in C, and even then, little beyond "Hello world!"

Is there anything like cron (which I've never used, but I understand it is for scheduling automated events) for the Z, and could it be used to trigger a mail check once or twice an hour?
derekp
Actually, I meant that I (or someone) could take a look at it :-) I've done mostly C programming, but know enough c++ to get by.
I think that ko/pi uses a seperate alarm application, so it might be easier to modify that to do a mail check on a schedule. I'll add that to my projects list. Right now, I'm busy working on putting together a howto & supporting ipk's for setting up a 5500 for dual-boot (i.e., running the standard Sharp rom image from internal flash, and booting OpenZaurus from an SD card)...
Ethereal
QUOTE
Right now, I'm busy working on putting together a howto & supporting ipk's for setting up a 5500 for dual-boot (i.e., running the standard Sharp rom image from internal flash, and booting OpenZaurus from an SD card)...


Very cool! Any chance of doing the same on a 5600?
Tehas
There was someting created about a year ago that would check for mail and then would flash the LEDs. I remember someone talking about it on the DevNet or it's predicesor. It ran in the background as a daemon. Don't remember what it was called. A quick check on the software index came up empty.
tamarian
[quote="Ethereal"][quote]
Is there anything like cron (which I've never used, but I understand it is for scheduling automated events) for the Z, and could it be used to trigger a mail check once or twice an hour?[/quote]

There is a port of cron for zaurus:

http://killefiz.de/zaurus/showdetail.php?app=524

It works great as a cron, but I never tried to use it for email.
offroadgeek
Resume Event doc here in the ZUG How-Tos area
Ethereal
QUOTE
There is a port of cron for zaurus:

http://killefiz.de/zaurus/showdetail.php?app=524

It works great as a cron, but I never tried to use it for email.


The download link is broken, and the homepage has no download links...
tamarian
QUOTE
The download link is broken, and the homepage has no download links...


I'll upload a copy to the ZUG downloads area.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.