Sending information to the PDA, Push style

  • Thread starter Thread starter Tristan Leonard
  • Start date Start date
T

Tristan Leonard

The problem I'm facing is that occasionally I have need to send
information or commands to a PDA. So far I've been doing this with
sockets and a daemon process that runs in the background politely
waiting for the server to divvy out a command. The problem is: having
a program constantly wait on the wireless radio is killing the battery
life. The PDA runs maybe half a day or less with my daemon running,
when optimally we'd love the effects on the battery to be minimal (of
course).

So the question is: Is there any creative way I can send a command to
receive a file or run an application without another application
constantly hanging onto the radio?
 
The only thing I can think is to have the device daemon fire up the radio
periodically, check in with the server, then go back to sleep.
 
I'd agree with Chris. The polling mechanism is more appropriate in the
scenario of dynamically (not always connected) clients.
 
Back
Top