View Single Post
Posts: 752 | Thanked: 2,808 times | Joined on Jan 2011 @ Czech Republic
#26
Originally Posted by elros34 View Post
Could you explain it little more? Is there any dbus commands to set alarms in RTCC registers?
Originally Posted by jellyroll View Post
I do also want to know.
Sorry about replying so late - I had to go through an old code of mine where I had made use of this API and remember how I used it.

So it is done via the timed library and controlled through the timedclient-qt5 command, so I remembered wrong and it's not a dbus interface (maybe it has one, but that's not what I used). I don't have a device to test it (before I get my Jolla C), but try to run
timedclient-qt5 --help
and you should get the hang of it. I know I used the following commands in my app:
timedclient-qt5 --search=APPLICATION=<app name>
timedclient-qt5 --get-event=<cookie>
timedclient-qt5 -a'whenDue;runCommand=`<command>`' -r'hour=06;minute=50;everyDayOfWeek;everyDayOfMonth ;month=8;' -e'APPLICATION=<app name>;TITLE=<title>
timedclient-qt5 --cancel-event=<cookie>
and similar. Sorry for being off-topic in this thread, but I hope more people will make use of this great functionality of SailfishOS (provided it still works the way it did 1-2 years ago when I used it).

Last edited by nodevel; 2016-07-13 at 12:37.
 

The Following 5 Users Say Thank You to nodevel For This Useful Post: