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
Param | Description |
---|---|
cmd | Command to acknowledge |
vendorLen | Vendor length |
vendor | Pointer to the vendor identification |
modelLen | Model length |
model | Pointer to the model identification |
versionLen | Version length |
version | Pointer 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.