Hi, Current docs says about the Clock.Time property:
"PropertyChanged signal for this value are only send out if it gets changed or jumps unexpectedly" but the current code has not yet implement any sending of this signal. Attached patch implements sending the notification every time ntp.c code does a significant clock change, that is: doing a settimeofday (and not doing it when just ajusting the clock with a minor correction). There could be another approach based on watching timerfd for clock updates, that would send the signal even if the clock is update outside connamn. However this would require a kernel > 3.0. Please, comment. Thanks! Salu2
0001-Emit-PropertyChanged-signal-for-the-Clock.Time-prope.patch
Description: Binary data
_______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
