int eth32_get_product_id(eth32 handle, int *prodid);
This function retrieves the product ID from the device, which identifies the type/model of the device.
handle - The value returned by the eth32_open function.
prodid - Pointer to a variable which will receive the product ID.
This function returns zero on success and a negative error code on failure. Please see the Error Codes section for possible error codes.