1.3.5.6.51 BMNG_FUP_CheckCrcRequest Function

C

void BMNG_FUP_CheckCrcRequest(uint8_t cmd);

Summary

Requests to check the CRC of the transmitted file for a firmware upgrade process.

Description

This routine requests to check the CRC of the transmitted file for a firmware upgrade process.

Precondition

The firmware upgrade process must have been started before.

Parameters

ParamDescription
cmdCommand to acknowledge

Returns

None.

Example

uint8_t file[0x4000];
uint8_t frame[0x200];
memcpy(frame, &file[0x600], 0x200);
    
BMNG_FUP_CheckCrcRequest(FUP_CHECK_CRC_REQUEST);

Remarks

The command is acknowledged with the FUP ACK callback.