BG96 qapi_time_get() is not working

Hello Everyone,

I am trying to get time from BG96 in MSECS but always I am getting constant value.

Below is the code I am trying ;

qapi_time_get_t time_info;
qapi_time_get(QAPI_TIME_MSECS, &time_info);
_log(“current time: %d”, time_info.time_msecs);

but when I am trying to get time in JULIAN it works

qapi_time_get(QAPI_TIME_JULIAN, &time_info);

    _log("[time][ %04d/%02d/%02d %02d:%02d:%02d ]", time_info.time_julian.year,






[time][ 2020/03/07 14:08:49 ] the result I got.

Please let me know how to get the time in MSECS or is there anything like system tick, if yes please suggest how to use it.

unsigned int millis(void)
return qurt_timer_get_ticks() / 19200;

Thanks, @WizIO The qurt_timer_get_ticks() function returns the module system tick. Is there any way to get real-time in Unix format from the module.

Hi vijay,i also faced same issue, did u got how to resolve