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
Param | Description |
---|---|
cmd | Command to acknowledge |
arqEn | Enable (1) or disable (0) ARQ protocol |
pageSize | Page size |
multicastEn | Enable (1) or disable (0) multicast |
delayRestart | Delay restart time in seconds |
safetyTimer | Safety 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.