Just checking, is this a misunderstanding of the API?
org.ofono.NetworkTime indeed does not expose any properties - but there
is a method for retrieving the time, and a signal on a new time. This is
what D-Bus introspection gives me:
dbus-send --system --type=method_call --print-reply --dest=org.ofono
/ril_0 org.freedesktop.DBus.Introspectable.Introspect
<interface name="org.ofono.NetworkTime">
<method name="GetNetworkTime">
<arg name="time" type="a{sv}" direction="out"/>
</method>
<signal name="NetworkTimeChanged">
<arg name="time" type="a{sv}"/>
</signal>
</interface>
I tested this with two Finnish operators (Sonera and Saunalahti), each one in
the UMTS (default) and GSM (forced via 'set-tech-preference' script) radio
networks.
dbus-send --print-reply --system --dest=org.ofono /ril_0
org.ofono.NetworkTime.GetNetworkTime
dbus-monitor --system interface='org.ofono.NetworkTime'
Both the method call and the signal worked for me in all tests.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1329534
Title:
NetworkTime interface not exporting properties
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1329534/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs