int eth32cfg_get_config(eth32cfg handle, int index, eth32cfg_data_t *dataptr);
This function is used to access the device information and configuration data for each device that was found using eth32cfg_discover_ip or eth32cfg_query.
handle - The value returned by eth32cfg_discover_ip or eth32cfg_query.
index - The index of the result to return.
dataptr - Pointer to the structure to be filled in the the device information.
This function returns zero on success and a negative error code on failure. Please see the Error Codes section for possible error codes.
The index is zero-based, which means it can range from zero up to one less than the number of available results.