The DlnBootRead() function reads data on the DLN-series adapter current firmware.
DlnBootRead()
This function is defined in the dln_boot.h file.
dln_boot.h
DLN_RESULT DlnBootReadFlash( HDLN handle, uint32_t memory, uint32_t address, uint16_t size, uint8_t* buffer );
A handle to the DLN-series adapter.
Memory type value. Available only DLN_BOOT_MEM_FLASH value.
DLN_BOOT_MEM_FLASH
Address to start reading from.
Size of the data to read.
A pointer to an unsigned 8 bit integer. This integer will be filled with the firmware data after the function execution.
The number of flash panes was successfully retrieved.