Re: [PATCH 3/7] time: Add Modem.Time introspection XML



>> I'm not sure why we would include leap seconds info here. Leap seconds
>> are adjustments to UTC itself, so if the time retrieved from
>> GetNetworkTime() is always UTC, there is no need for that, as far as I
>> can tell.
> 
> I'm including it because one of our modems (the Gobi) exports it as
> part of the timezone data from CDMA networks.  If you don't think it's
> worth passing on, I can drop it.
> 

I can't think of a use case to need them. Unless the time reported by
the modem is really TAI and you need to compute UTC yourself.

>>> +    <signal name="NetworkTimeChanged">
>>
>> I wonder when/how often this signal is sent.
> 
> It is sent every time we receive a network time update -- on most
> modems/networks, this will be whenever we register on the network.
> For modems that require polling, we will try to provide an update each
> time we register by polling for a little while.

Ok; that makes sense.

-- 
Aleksander


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]