|
@@ -31,7 +31,7 @@ void Fota_Func(UINT8 *DataPtr,INT32 connectId,UINT8 FotaType)
|
|
{
|
|
{
|
|
Fota_S.Fota_Flash_Addres = FLASH_BMS_FOTA_START_ADDR;
|
|
Fota_S.Fota_Flash_Addres = FLASH_BMS_FOTA_START_ADDR;
|
|
}
|
|
}
|
|
- if(*(DataPtr+30)==0x01)
|
|
|
|
|
|
+ if(*(DataPtr+30)==0x01||*(DataPtr+30)==0x88)
|
|
{
|
|
{
|
|
Fota_Cmd = *(DataPtr+31);
|
|
Fota_Cmd = *(DataPtr+31);
|
|
Fota_Answer[0] = TCP_START_SYM1;
|
|
Fota_Answer[0] = TCP_START_SYM1;
|