1.3.5.6.47 BMNG_FUP_SetFwDataRequest Function

C

void BMNG_FUP_SetFwDataRequest(uint8_t cmd, uint8_t vendorLen, char *vendor, 
    uint8_t modelLen, char *model, uint8_t versionLen, char *version);

Summary

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

Description

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

Precondition

The firmware upgrade process must have been started before.

Parameters

ParamDescription
cmdCommand to acknowledge
vendorLenVendor length
vendorPointer to the vendor identification
modelLenModel length
modelPointer to the model identification
versionLenVersion length
versionPointer to the version identification

Returns

None.

Example

char vendor[] = "MCHP";
char model[] = "PIC32CXXPL460";
char version = "HS14.01.01\0\0\0\0\0\0";
    
BMNG_FUP_SetFwDataRequest(FUP_SET_FW_DATA_REQUEST, sizeof(vendor), &vendor, 
    sizeof(model), &model, sizeof(version), &version);

Remarks

The command is acknowledged with the FUP ACK callback.