SMS read

Sudharshan S sudharsh at gmail.com
Tue Oct 6 22:01:38 CEST 2009


On Tue, Oct 6, 2009 at 11:03 PM, RANJAN <infibit at gmail.com> wrote:
> Hi,
>
> Is it possible to write a python script which sort of reads an SMS when it
> arrives?(how has been SMS reception on the free runner using SHR?)Is it
> possible to write Python scripts for sending SMS or even making and
> receiving calls.
>

Yes,
With python + DBus you can listen for DBus signals and attach
callbacks for them.
Check the docs for FSO pertaining to the SMS API. Particularly this
http://git.freesmartphone.org/?p=specs.git;a=blob_plain;f=html/org.freesmartphone.GSM.SMS.html;hb=HEAD#IncomingMessage
for handling incoming messages

There are lots of docs/tutorials available for the python + dbus
combo. For starters,
http://techbase.kde.org/Development/Languages/Python/PyKDE_DBus_Tutorial

Although KDE specific, you should be able to map the docs to FSO.

Regards
Sudharshan S
Blog : http://sudharsh.wordpress.com
IRC  : Sup3rkiddo @ Freenode, Gimpnet



More information about the devel mailing list