Siglaunchd , dbus and scan the content of incomming SMS

kimaidou kimaidou at gmail.com
Mon Mar 16 15:23:33 CET 2009


Hi all

I resend my last email about siglaunchd. Could anyone please help me ? The
best would be to contact the author directly (Tom Haconen), but I have not
found his email.
Thanks in advance

Kimaidou

2009/3/12 kimaidou <kimaidou at gmail.com>

> Hi lists,
>
> I am using *siglaunchd* tool ( 1) . It is a great tool. I already set up
> some actions (2) wich improve a lot my openmoko usability (nb: the code is
> in italic in this email)
>
> I need your help to trigger the following actions :
>
> * Do an action when receiving a sms containing e.G "mypasswd". For now, I
> tried
> *#on incomming SMS
> "DISPLAY=:0.0 echo "test" >
> /home/root/Scripts/message.txt"=org.freesmartphone.GSM.SMS;org.freesmartphone.ogsmd;/org/freesmartphone/GSM/Device;IncomingMessage;
> *
>
> --> It does not react (no file created) + it lacks content reading
>
> * Store each phonenumber for each incomming call (just for testing). For
> now, I can do
> *#on incomming call from 0000000000
> "DISPLAY=:0.0 echo $(date +%Y-%m-%d_%H-%M-%S) >
> /home/root/Scripts/call.txt"=org.freesmartphone.GSM.Call;org.freesmartphone.ogsmd;/org/freesmartphone/GSM/Device;CallStatus;arg[1]=incoming
> *
>
> --> pbm here : I do not know how to put the phone number in my "echo"
> command.
>
> * Change profile from "default" to "silent" when the phone is for example
> face down on a table
> --> anyway to do this with dbus ?
>
> Well, I think this capacity of dbus is a huge space to conquer (for me). We
> are only limited by our imagination :D  Openmoko is great !
> Anyway, thanks in advance
>
> Kimaidou
>
> (1) http://wiki.openmoko.org/wiki/Siglaunchd
>
> (2) Here is my /home/root/.siglaunchd.conf  (Caution, I am running SHR,
> last testing )
>
> *#AUX moyen --> dialer
> "DISPLAY=:0.0
> /usr/bin/openmoko-dialer"=org.freesmartphone.Device.Input;org.freesmartphone.oeventsd;/org/freesmartphone/Device/Input;Event;arg[0]=AUX,arg[1]=released,arg[2]>0,
> arg[2]<2
>
> #AUX long --> terminal
> "DISPLAY=:0.0
> /usr/bin/vala-terminal"=org.freesmartphone.Device.Input;org.freesmartphone.oeventsd;/org/freesmartphone/Device/Input;Event;arg[0]=AUX,arg[1]=released,arg[2]>1
>
> #POWER moyen --> shortom
> "DISPLAY=:0.0 PYTHONPATH=/usr/lib/python2.5/site-packages/shortom
> shortom-bin"=org.freesmartphone.Device.Input;org.freesmartphone.oeventsd;/org/freesmartphone/Device/Input;Event;arg[0]=POWER,
> arg[1]=released, arg[2]>0, arg[2]<2
>
> #POWER long --> shr-settings
> "DISPLAY=:0.0
> /usr/bin/shr-settings"=org.freesmartphone.Device.Input;org.freesmartphone.oeventsd;/org/freesmartphone/Device/Input;Event;arg[0]=POWER,
> arg[1]=released, arg[2]>1*
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20090316/bfc5e616/attachment.htm 


More information about the community mailing list