1.3.5.6.48 BMNG_FUP_SetUpgradeOptionsRequest Function

C

void BMNG_FUP_SetUpgradeOptionsRequest(uint8_t cmd, uint8_t arqEn, 
    BMNG_FUP_PAGE_SIZE pageSize, uint8_t multicastEn, uint32_t delayRestart, 
    uint32_t safetyTimer);

Summary

Requests to set the upgrade options for a firmware upgrade process.

Description

This routine requests to set the upgrade options for a firmware upgrade process.

Precondition

The firmware upgrade process must have been started before.

Parameters

ParamDescription
cmdCommand to acknowledge
arqEnEnable (1) or disable (0) ARQ protocol
pageSizePage size
multicastEnEnable (1) or disable (0) multicast
delayRestartDelay restart time in seconds
safetyTimerSafety timer in seconds

Returns

None.

Example

BMNG_FUP_SetUpgradeOptionsRequest(FUP_SET_UPG_OPTIONS_REQUEST, 0, 
        BMNG_FUP_PAGE_SIZE_192, 1, 60, 200);

Remarks

The command is acknowledged with the FUP ACK callback.