Showing
1 changed file
with
20 additions
and
0 deletions
| ... | ... | @@ -4152,6 +4152,10 @@ void SmartPhoneSN::ThreadMainEntryPoint() |
| 4152 | 4152 | bool bNeedLoadAPDB = false; |
| 4153 | 4153 | int times = 0; |
| 4154 | 4154 | int Ret = 0; |
| 4155 | + // <<XIEMENG | |
| 4156 | + SPMETA_DLL::VerInfo_V2_Cnf a_v2cnf; | |
| 4157 | + short a_token; | |
| 4158 | + // >>XIEMENG | |
| 4155 | 4159 | |
| 4156 | 4160 | /*For dual talk(external modem) project |
| 4157 | 4161 | * Due to dual talk project can`t switch back and forth between ap and external modem |
| ... | ... | @@ -4371,6 +4375,22 @@ void SmartPhoneSN::ThreadMainEntryPoint() |
| 4371 | 4375 | |
| 4372 | 4376 | |
| 4373 | 4377 | #ifdef __TOPWELL_QCTEST__ |
| 4378 | + SPMETA_DLL::SP_META_GetTargetVerInfoV2_r(m_hSPMetaHandle, &a_v2cnf, &a_token,NULL); | |
| 4379 | + { | |
| 4380 | + UpdateUIMsg("读取到版本信息"); | |
| 4381 | + | |
| 4382 | + if (strcmp(a_v2cnf.BUILD_DISP_ID,g_sMetaComm.check_sw_ver) != 0 ) | |
| 4383 | + { | |
| 4384 | + bAnyOperationFail = true; | |
| 4385 | + UpdateUIMsg("Version number is wrong"); | |
| 4386 | + goto End; | |
| 4387 | + } | |
| 4388 | + else | |
| 4389 | + { | |
| 4390 | + UpdateUIMsg("Version number OK!"); | |
| 4391 | + } | |
| 4392 | + | |
| 4393 | + } | |
| 4374 | 4394 | if (g_sMetaComm.bCheckQCFlag) |
| 4375 | 4395 | { |
| 4376 | 4396 | g_QC_value_from_phone = REQ_ReadAP_NVRAM_QC(); | ... | ... |
Please
register
or
login
to post a comment