This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf9160 calendar mode

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

Parents
  • 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 ), 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

Reply
  • 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 ), 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

Children
No Data
Related