GetNetworkTime sometimes returns empty results
Bug #1329534 reported by
Tony Espy
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| ofono (Ubuntu) |
Fix Released
|
Low
|
Tony Espy | ||
Bug Description
The org.ofono.
Tested on mako running image u76 with both US T-Mobile and AT&T SIMs.
| Changed in ofono (Ubuntu): | |
| status: | New → Triaged |
| importance: | Undecided → High |
| assignee: | nobody → Tony Espy (awe) |
| summary: |
- NetworkTime interface exports properties + NetworkTime interface not exporting properties |
| summary: |
- NetworkTime interface not exporting properties + GetNetworkTime sometimes returns empty results |
| Changed in ofono (Ubuntu): | |
| status: | Fix Released → Confirmed |
| status: | Confirmed → Fix Released |
| Changed in ofono (Ubuntu): | |
| status: | Fix Released → Incomplete |
| importance: | High → Medium |
To post a comment you must log in.

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.Introspec table.Introspec t
<interface name="org. ofono.NetworkTi me"> kTime"> meChanged" >
<method name="GetNetwor
<arg name="time" type="a{sv}" direction="out"/>
</method>
<signal name="NetworkTi
<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. NetworkTime. GetNetworkTime 'org.ofono. NetworkTime'
dbus-send --print-reply --system --dest=org.ofono /ril_0 org.ofono.
dbus-monitor --system interface=
Both the method call and the signal worked for me in all tests.