Hi
we are using GT202 IOE module in our product. Recently we found a problem, that is we use the fuction sntp_get_time_of_day to sync the system RTC. Before 2017,we got the seconds always one day faster (86400) than the real UTC,but since 2017.01.01, it is correct now. It is very strange. Does anyone knows? or any suggestions? Thanks in advance.
By the way, Is it possible that Qualcomm open the source code of this part?
Hi, I use the QCA4004. Just did aqcom_sntp_get_time_of_day and tv_sec returned 1484042840, according to me that is running a day behind since 2017... (on my watch it is now 1/11/2017 10:07AM).
My test, first column my NTP server time, second column time returned by the QCA400x:
NTP Server Time
Atheros SNTP Client Time
date -s '2015-01-25 12:34:56'
TIMESTAMP 1422189344 TIME 25-01-2015 12:35:44
date -s '2016-01-25 12:34:56'
TIMESTAMP 1453725341 TIME 25-01-2016 12:35:41
date -s '2017-01-25 12:34:56'
TIMESTAMP 1485261336 TIME 24-01-2017 12:35:36
date -s '2018-01-25 12:34:56'
TIMESTAMP 1516883737 TIME 25-01-2018 12:35:37
date -s '2019-01-25 12:34:56'
TIMESTAMP 1548419733 TIME 25-01-2019 12:35:33
date -s '2020-01-25 12:34:56'
TIMESTAMP 1579955732 TIME 25-01-2020 12:35:32
date -s '2021-01-25 12:34:56'
TIMESTAMP 1611491729 TIME 24-01-2021 12:35:29
date -s '2022-01-25 12:34:56'
TIMESTAMP 1643114133 TIME 25-01-2022 12:35:33
date -s '2023-01-25 12:34:56'
TIMESTAMP 1674650122 TIME 25-01-2023 12:35:22
date -s '2024-01-25 12:34:56'
TIMESTAMP 1706186132 TIME 25-01-2024 12:35:32
date -s '2025-01-25 12:34:56'
TIMESTAMP 1737722128 TIME 24-01-2025 12:35:28