Author Topic: How to check email automatically?  (Read 3191 times)

Ethereal

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
How to check email automatically?
« on: March 01, 2004, 11:16:21 am »
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...
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

derekp

  • Full Member
  • ***
  • Posts: 154
    • View Profile
How to check email automatically?
« Reply #1 on: March 01, 2004, 09:01:12 pm »
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

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
How to check email automatically?
« Reply #2 on: March 04, 2004, 01:56:25 pm »
derekp,

1.) Love the avatar.  

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

Thanks.
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

derekp

  • Full Member
  • ***
  • Posts: 154
    • View Profile
How to check email automatically?
« Reply #3 on: March 05, 2004, 12:33:35 pm »
Quote
derekp,

1.) Love the avatar.   
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

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
How to check email automatically?
« Reply #4 on: March 05, 2004, 08:48:33 pm »
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?
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

derekp

  • Full Member
  • ***
  • Posts: 154
    • View Profile
How to check email automatically?
« Reply #5 on: March 05, 2004, 09:01:44 pm »
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

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
How to check email automatically?
« Reply #6 on: March 05, 2004, 09:15:33 pm »
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?
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

Tehas

  • Full Member
  • ***
  • Posts: 157
    • View Profile
    • http://users.adelphia.net/~stonerrl/rick/
How to check email automatically?
« Reply #7 on: March 05, 2004, 10:36:21 pm »
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.
+SL-5600 v1.32 ROM (Special pre-emptive kernel with overclock)  +Viking 256CF  +SimpleTech 256CF  +Viking 128SD (as ext2)  +AmbiCom WL1100C +Micro Innovations KB  +Hawking Ethernet CF  
+SL6000L +Lexar 1GB SD (as ext2)  +Windows 98/Me/Nt/XP  +Mandrake 8.1 My Zaurus Page[img]http://users.adelphia.net/~stonerrl/rick/rls_userbar.gif\" border=\"0\" class=\"linked-sig-image\" /]

tamarian

  • Newbie
  • *
  • Posts: 45
    • View Profile
    • http://www.lowcarb.ca
How to check email automatically?
« Reply #8 on: March 06, 2004, 12:38:21 am »
Quote from: \"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?

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

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
    • View Profile
    • https://www.oesf.org
How to check email automatically?
« Reply #9 on: March 06, 2004, 12:55:07 am »
Resume Event doc here in the ZUG How-Tos area
Search the OESF Wiki
C1000 w/Cacko 1.23 beta (from Streamline) / 760 pdaxrom rc9 / 6000L (thanks Santa's elf!) / 5500 - OZ 3.3.5 / SIMpad SL4
1GB, 256mb SanDisk CF / 2x 1GB, 512mb, 256mb, 128mb SanDisk SD
Ambicom WL100C-CF wifi / Socket 56k CF modem / AmbiCom BT2000-CF (x2)
Pocketop keyboard, Piel Frama case (1000 & 5500), PDAir case (760 & 1000)
sip:536093@fwd.pulver.com
| OESF | ELSI | Zaurus User Group | ZaurusThemes |

Ethereal

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
How to check email automatically?
« Reply #10 on: March 06, 2004, 01:02:22 am »
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...
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

tamarian

  • Newbie
  • *
  • Posts: 45
    • View Profile
    • http://www.lowcarb.ca
How to check email automatically?
« Reply #11 on: March 06, 2004, 10:43:30 am »
Quote
The download link is broken, and the homepage has no download links...

I\'ll upload a copy to the ZUG downloads area.