Commit 945bc834ed6353006e541cff7045d371bff491af

Authored by xiemeng
1 parent 42bc63d3

default IMEI 识别为fail

Showing 1 changed file with 8 additions and 1 deletions
@@ -302,6 +302,13 @@ META_RESULT SmartPhoneSN::WriteNvramLoop() @@ -302,6 +302,13 @@ META_RESULT SmartPhoneSN::WriteNvramLoop()
302 { 302 {
303 UpdateUIMsg("IMEI2 checksum FAIL!!!"); 303 UpdateUIMsg("IMEI2 checksum FAIL!!!");
304 } 304 }
  305 +
  306 + if (strcmp(a_imei_ary,"352246078300483") == 0 || strcmp(a_imei_ary,"352246078300491"))
  307 + {
  308 + UpdateUIMsg("IMEI2 checksum FAIL!!!");
  309 + iRet1 = META_FAILED;
  310 + iRet2 = META_FAILED;
  311 + }
305 312
306 if(iRet1 == META_SUCCESS && iRet2 == META_SUCCESS) 313 if(iRet1 == META_SUCCESS && iRet2 == META_SUCCESS)
307 { 314 {
@@ -3826,7 +3833,7 @@ void SmartPhoneSN::ThreadMainEntryPoint() @@ -3826,7 +3833,7 @@ void SmartPhoneSN::ThreadMainEntryPoint()
3826 bool bAnyOperationFail = false; 3833 bool bAnyOperationFail = false;
3827 META_RESULT MetaResult = META_SUCCESS; 3834 META_RESULT MetaResult = META_SUCCESS;
3828 SPMETA_DLL::META_RESULT SPMetaResult = SPMETA_DLL::META_SUCCESS; 3835 SPMETA_DLL::META_RESULT SPMetaResult = SPMETA_DLL::META_SUCCESS;
3829 - 3836 +
3830 if (g_sMetaComm.bSwithTool) 3837 if (g_sMetaComm.bSwithTool)
3831 EnableUSBSwitch(); 3838 EnableUSBSwitch();
3832 3839
Please register or login to post a comment