Can anyone clearly explain how date/time sync should to work in legato framework?
From my understanding it should automatically sync date with network, but for me it doesn’t happen.
Ideally device time also should be synced when data connections is established (i am connecting to airvantage). According to logs system tries to do this but fails (incorrect time set intentionally):
Apr 20 18:17:04 fx30 user.warn Legato: -WRN- | dcsDaemon/dcsDaemon T=main | dcsServer.c GetTimeServer() 881 | No server configured, use the default one
Apr 20 18:17:14 fx30 user.err Legato: =ERR= | dcsDaemon | rdate: timeout connecting to time server
Apr 20 18:17:14 fx30 user.err Legato: =ERR= | dcsDaemon/dcsDaemon T=main | dcsServer.c RetrieveTimeFromServer() 2077 | Unable to retrieve time from server
Apr 20 18:17:14 fx30 user.err Legato: =ERR= | avcDaemon/avcDaemon T=main | avcClient.c CheckDateTimeValidity() 223 | Unable to retrieve date or time from server
but where the time server is configured? is it an ntpd server from /etc/time_service.conf?
running ntpd -p doesn’t work for me as well…
My device: Sierra FX30 (WP7702). Mobile network connection only.
Worth to mentions that this device is not intended to work in Europe (Ireland) so it falls to 2G connection. This may be causing issues with network time sync but why time is not synced over data connection?
Am i missing something?