![]() |
Trying to know if the device is locked using dbus-send
Hi!
Here is my question : how to check if the device is locked using dbus. I don't want to trigger an action when the signal "locked" is send, I just want to check the current state using dbus-send. So the following code locks the device : Code:
dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:"locked" Code:
signal sender=:1.9 -> dest=(null destination) serial=342 path=/com/nokia/mce/signal; interface=com.nokia.mce.signal; member=tklock_mode_ind Code:
dbus-send --system --type=method_call --print-reply --dest=com.nokia.mce /com/nokia/mce/ string:"com.nokia.mce.signal.tklock_mode_ind" |
Re: Trying to know if the device is locked using dbus-send
|
Re: Trying to know if the device is locked using dbus-send
Quote:
Thanks a lot! Where can I find this kind of information in the future? Like this doc. |
Re: Trying to know if the device is locked using dbus-send
Quote:
Quote:
|
All times are GMT. The time now is 09:13. |
vBulletin® Version 3.8.8