test: verify operator NITZ to APP RTC without kernel changes

This commit is contained in:
chenjintao
2026-10-26 15:51:19 +08:00
parent 03627a26fa
commit 07525225cb
7 changed files with 449 additions and 4 deletions
@@ -22,7 +22,7 @@
#include "http_downfile.h"
#include "ota_post_update.h"
#include "time_diag.h"
#include "app_ntp_test.h"
#include "app_nitz_test.h"
//#define NTP_SERVER_DOMAIN "ntp.aliyun.com"
@@ -144,7 +144,7 @@ void ql_datacall_demo_thread(void *arvg)
if(ret == 0)
{
talkingq_time_diag_log("pdp-active");
app_ntp_test_start();
app_nitz_test_start();
ql_get_data_call_info(1, 0, &info);
printf("info.profile_idx: %d\r\n", info.profile_idx);
printf("info.ip_version: %d\r\n", info.ip_version);
@@ -201,7 +201,7 @@ int app_net_mgt_init()
// ql_rtos_semaphore_create(&g_ql_ntp_sem,0);
ql_rtc_set_nitz_mode(1);
printf("[TIME-DIAG] nitz_enabled=1 app_ntp_test=once_after_pdp\r\n");
printf("[TIME-DIAG] nitz_enabled=1 app_nitz_test=once_after_pdp ntp_test=off\r\n");
talkingq_time_diag_log("nitz-enabled");
ql_task_t appTaskRef = NULL;