I want to send sms from the shell in debian on my freerunner. Any
help?

according to a mail by mickey lauer [1] something like this should do:

1)
mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device org.freesmartphone.GSM.SIM.StoreMessage 'u"thenumber"' 'u"the message"'

should return a number, which is the index the msg is stored under, say X
2)
mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device org.freesmartphone.GSM.SIM.SendStoredMessage X
where X is the index of your message.

3)
mdbus -s org.freesmartphone.frameworkd /org/freesmartphone/GSM/Device org.freesmartphone.GSM.SIM.RetrieveMessagebook 'u"unsent"'

lists the unsent messages, if the index is not returned (did not try 1) yet), you might find the index in the output of the command.

another way would be to put all that together in a python script and let it take two args or so.


[1 http://lists.openmoko.org/pipermail/community/2008-September/031636.html

_______________________________________________
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland

Reply via email to