|
@@ -444,7 +444,7 @@ public class FirmwareUpdate extends AppCompatActivity
|
|
|
mUsbDeviceConnection.claimInterface(mUsbInterface, true);
|
|
|
if(null != mUsbEndpointIn){
|
|
|
iProductId = usbDevice.getProductId();
|
|
|
- if ((iProductId == 0x0819) || (iProductId == 0x8191))
|
|
|
+ if ((iProductId == 0x0819) || (iProductId == 0x8191)||(iProductId == 0x0528))
|
|
|
{
|
|
|
byProductType = GT7;
|
|
|
}else{
|
|
@@ -491,6 +491,9 @@ public class FirmwareUpdate extends AppCompatActivity
|
|
|
else if (mBytes[0] == 0x37 && mBytes[1] == 0x33 && mBytes[2] == 0x38 && mBytes[3] == 0x38){
|
|
|
mShow.setText( "GT7387P_" + mVersionShow[4] + "." + mVersionShow[5] + "." + mVersionShow[6] + "." + mVersionShow[7]);//输出显示
|
|
|
}
|
|
|
+ else if (mBytes[0] == 0x37 && mBytes[1] == 0x33 && mBytes[2] == 0x38 && mBytes[3] == 0x32){
|
|
|
+ mShow.setText( "GT7382H_" + mVersionShow[4] + "." + mVersionShow[5] + "." + mVersionShow[6] + "." + mVersionShow[7]);//输出显示
|
|
|
+ }
|
|
|
else{
|
|
|
mShow.setText( "Null" );//输出显示
|
|
|
}
|