Hi,
In my application I need accurate calendar capabilities such as alerts on every hour and alert on a specific hour every day.
Is there any implementation of such a mode with an internal RTC on nrf9160?
Meni
Hi,
In my application I need accurate calendar capabilities such as alerts on every hour and alert on a specific hour every day.
Is there any implementation of such a mode with an internal RTC on nrf9160?
Meni
Hi
Can the modem create a time event every round hour?
From what I know, no. I would recommend using k_timer, and then calling AT+CCLK every hour to adjust for eventual drift.
Good luck!
Hi,
There is no functionality in the modem that can poll the application on a set interval, and there is not an accurate real time clock there. Therefore, for calendar applications you must either set up a timer in the app (as suggested by Carl Richard), or use an external real time clock.
For calibration you can also subscribe to unsolicited network time notifications (see %XTIME). The date and time that you receive from AT+CCLK is also based on those time notifications. In-between receiving such packets from the network, the AT+CCLK value is probably not better with regards to drift than what your application timer or external real time clock will be.
Regards,
Terje