Bladeren bron

1、check did和mac时,加上0x07的检验;

scbc.sat2 5 jaren geleden
bovenliggende
commit
72847e00db
2 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      TCL Copy Tool/TCL Copy Tool/OTA.cpp
  2. BIN
      TCL Copy Tool/TCL Copy Tool/TCLCopyTool.rc

+ 2 - 2
TCL Copy Tool/TCL Copy Tool/OTA.cpp

@@ -1253,7 +1253,7 @@ BOOL CSIACP::SCBC_CheckDeviceId()
 		else
 			return FALSE;
 #else
-		if (bydata == 0x03 || bydata == 0x02)
+		if (bydata == 0x02 || bydata == 0x03 || bydata == 0x07)
 			return TRUE;
 		else
 			return FALSE;
@@ -1283,7 +1283,7 @@ BOOL CSIACP::SCBC_CheckMAC()
 		}
 
 		byte bydata = (byte)rtn.data.at(0);
-		if (bydata == 0x03 || bydata == 0x01)
+		if (bydata == 0x01 || bydata == 0x03 || bydata == 0x07)
 			return TRUE;
 		else
 			return FALSE;

BIN
TCL Copy Tool/TCL Copy Tool/TCLCopyTool.rc