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 302 {
303 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 313 if(iRet1 == META_SUCCESS && iRet2 == META_SUCCESS)
307 314 {
... ... @@ -3826,7 +3833,7 @@ void SmartPhoneSN::ThreadMainEntryPoint()
3826 3833 bool bAnyOperationFail = false;
3827 3834 META_RESULT MetaResult = META_SUCCESS;
3828 3835 SPMETA_DLL::META_RESULT SPMetaResult = SPMETA_DLL::META_SUCCESS;
3829   -
  3836 +
3830 3837 if (g_sMetaComm.bSwithTool)
3831 3838 EnableUSBSwitch();
3832 3839
... ...
Please register or login to post a comment