On Thursday 02 September 2004 06:26 pm, Rafael 'Dido' Sevilla wrote: <snip> > It's definitely doable, but the main problem > is it requires you to poll the phone at intervals to see whether there's > anything in the phone's memory for you to read. Gnokii doesn't have a > facility to automatically notify you when a new message has arrived, > it's not part of the Gnokii API, and I don't think it's even possible > given the limitations of the serial interface some Nokia phones have. > Polling the phone runs the battery down fairly quickly, and after this > demo period is over we will probably need to replace the battery for > that poor phone...
Maybe smsd (which comes with gnokii) can be used for this purpose, it regularly polls the phone's memory and automagically inserts all received messages into an 'inbox' table. But your script still has to regularly poll the 'inbox' to check for received messages. Or maybe you could use triggers on the database to be automatically fired by inserts into the said table. You are certainly correct about how quickly the battery runs down when a cellphone is connected to a PC via serial cable! Someone suggested connecting the cellphone to a DC adaptor, but I haven't tried this myself. I wonder if Sir Roger's bluetooth solution is more forgiving on the cellphone's battery. Just some ideas, -eric -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
