DlnBootWriteFlash() Function

DLN_RESULT DlnBootWriteFlash(
    HDLN handle,
    uint32_t address,
    uint16_t size,
    uint8_t* buffer
 );

The DlnBootWriteFlash() function writes new firmware into the device internal memory.

This function is only available, when the device functions in the Bootloader mode.

Parameters:

handle
A handle to the DLN-series adapter.
address
The address to start writing from.
size
The size of the firmware.

Results:

Result Description
DLN_RES_SUCCESS Function was succesfully executed.

This function is defined in the dln_boot.h file.