|
@@ -103,7 +103,7 @@ void Fota_Func(UINT8 *DataPtr,INT32 connectId)
|
|
memcpy(&Fota_Answer[4],(DataPtr+4),BATT_SN_LEN);
|
|
memcpy(&Fota_Answer[4],(DataPtr+4),BATT_SN_LEN);
|
|
Fota_Answer[21] = TCP_ENCPT_DISABLE;
|
|
Fota_Answer[21] = TCP_ENCPT_DISABLE;
|
|
Fota_Answer[22] = 0x00;
|
|
Fota_Answer[22] = 0x00;
|
|
- Fota_Answer[23] = 0x13;
|
|
|
|
|
|
+ Fota_Answer[23] = 0x12;
|
|
memcpy(&Fota_Answer[24],(DataPtr+24),18);
|
|
memcpy(&Fota_Answer[24],(DataPtr+24),18);
|
|
Fota_Answer[42] = bcc_chk_fota(Fota_Answer,42);
|
|
Fota_Answer[42] = bcc_chk_fota(Fota_Answer,42);
|
|
tcpipConnectionSend(connectId,Fota_Answer,43,0,0,0);
|
|
tcpipConnectionSend(connectId,Fota_Answer,43,0,0,0);
|
|
@@ -200,7 +200,7 @@ void Fota_Func(UINT8 *DataPtr,INT32 connectId)
|
|
memcpy(&Fota_Answer[4],(DataPtr+4),BATT_SN_LEN);
|
|
memcpy(&Fota_Answer[4],(DataPtr+4),BATT_SN_LEN);
|
|
Fota_Answer[21] = TCP_ENCPT_DISABLE;
|
|
Fota_Answer[21] = TCP_ENCPT_DISABLE;
|
|
Fota_Answer[22] = 0x00;
|
|
Fota_Answer[22] = 0x00;
|
|
- Fota_Answer[23] = 0x13;
|
|
|
|
|
|
+ Fota_Answer[23] = 0x12;
|
|
memcpy(&Fota_Answer[24],(DataPtr+24),18);
|
|
memcpy(&Fota_Answer[24],(DataPtr+24),18);
|
|
Fota_Answer[42] = bcc_chk_fota(Fota_Answer,42);
|
|
Fota_Answer[42] = bcc_chk_fota(Fota_Answer,42);
|
|
tcpipConnectionSend(connectId,Fota_Answer,43,0,0,0);
|
|
tcpipConnectionSend(connectId,Fota_Answer,43,0,0,0);
|