Problem with RTC on quecopen

Hi,
i’m facing some problem using the RTC with quecopen for BG-600. The function qapi_PM_Rtc_Init() always returns error. How can i fix it?

Moreover, i tried to use the function qt_get_real_time() , the time_julian value is ok, but if i check the time_secs value, it doesn’t match the unix time. I see that the start date is 1980-06-01, but if i check the value of time secs on 2022-10-03, the value doesn’t match, so, how can i convert the value of time_secs of the qapi_time_get_t struct in unix time?

Hi agreibie ,

before you use the fuction of qt_get_real_time() , pls make sure that , your module has been registe network sucessfully with below AT ,

AT+cereg?

after the module has registered the network , the module will sync the NITZ time to module from LTE network

for qapi_PM_Rtc_Init() , error issue , I need more detail ,pls email to stephen,li@ quectel.com