DlnBootReadFlash() Function
DLN_RESULT DlnBootReadFlash(
HDLN handle,
uint32_t address,
uint16_t size,
uint8_t* buffer
);
The DlnBootReadFlash() function reads data on the DLN-series adapter current firmware.
This function is only available, when the device functions in the Bootloader mode.
Parameters:
- handle
- A handle to the DLN-series adapter.
- address
- Address to start reading from.
- size
- Size of the data to read.
- buffer
- A pointer to an unsigned 8 bit integer. This integer will be filled with the firmware data after the function execution.
Results:
| Result | Description |
|---|---|
| DLN_RES_SUCCESS | Function was succesfully executed. |
This function is defined in the dln_boot.h file.
2006-2012