View Single Post
Posts: 15 | Thanked: 17 times | Joined on Sep 2019
#433
I am looking to send SMS automatically (without manual intervention) from FindMyJolla and GPSInfo.

I am expecting that I will hit a permissions problem**, and your daemon might be the answer.

Should I be making my own functional daemon to do my task for each app, or would it be better to use yours?

If "use situations daemon", then would you think it best to add the functionality to your daemon or would it just give me a privileged commandline to send any command to?


Any suggestions on how to do the send welcome.
To be specific,
1) it must send when phone is unattended.
2) it does not need to do it invisibly or in secret.

** Yup indeed I do get access denied as they say at the bottom of this sending-an-sms-via-the-command-line

Code:
[nemo@Sailfish ~]$ dbus-send --system --print-reply --dest=org.ofono /ril_0 org.ofono.MessageManager.SendMessage string:"+123456789" string:"test sms"
Error org.ofono.Error.AccessDenied: Operation not permitted
further: it does work if I login to root with devel-su then try it.

Last edited by crun; 2019-09-30 at 04:55. Reason: aad link
 

The Following User Says Thank You to crun For This Useful Post: