1.1.2.2.5.2.3.1 MW_DFU_Config

C

uint16_t MW_DFU_Config(MW_DFU_Info_T *p_dfuInfo);

Description

The API is used to configure the device information for DFU process.

Parameters

ParameterDescription
[in] p_dfuInfoPointer to the structure of the image size for DFU. Refer to MW_DFU_Info_T for detail structure info.

Return values

Return valueDescription
MBA_RES_SUCCESSConfigure successfully.
MBA_RES_INVALID_PARAInvalid parameters. The size exceeds the maximum category size or size is not 4-bytes aligned.