fix: Disable retry for CAN-transmitted data in FOTA.

- Resolved issue where FOTA retry count reduced unexpectedly (from 50 to 44-35).
- Root cause: CAN transmission failures triggered delayed retries.
- Solution: Disabled retry mechanism for CAN-transmitted data to maintain expected retry count.
stable
Rakshita 2025-01-29 15:31:21 +05:30
parent 071788de56
commit 60c93c2210
2 changed files with 2 additions and 3 deletions

View File

@ -37,7 +37,7 @@ static DL_MCAN_InitParams __gprv_xInitParams= {
.txpEnable = false,
.efbi = false,
.pxhddisable = false,
.darEnable = false,
.darEnable = true,
.wkupReqEnable = true,
.autoWkupEnable = true,
.emulationEnable = true,
@ -498,7 +498,6 @@ IVEC_McalCommonErr_e xMCAL_MCANDeInit(IVEC_McalCanHandle_s* pxCanHandle)
/* Wait for power down to complete */
delay_cycles(16);
return commonMCAL_SUCCESS;
}

View File

@ -26,7 +26,7 @@ IVEC_EcuCANHandle_s g_xCanHandle;
#define rteCONFIG_BASIL_u8 2
// UART Configuration
#define rteUART_PIN_SELECTION_u8 rteCONFIG_BASIL_BATTERY_SMART_u8
#define rteUART_PIN_SELECTION_u8 rteCONFIG_BASIL_u8
uint8_t g_pu8UartBuffer[ecuUART_MAX_PACKET_LENGTH_u8] = {0};
volatile uint32_t g_u32CanId = 0x1FFFFFFF;