eth32_get_product_id

int eth32_get_product_id(eth32 handle, int *prodid);

Summary

This function retrieves the product ID from the device, which identifies the type/model of the device.

Parameters

  • handle - The value returned by the eth32_open function.

  • prodid - Pointer to a variable which will receive the product ID.

Return Value

This function returns zero on success and a negative error code on failure. Please see the Error Codes section for possible error codes.

See Also

eth32_get_serialnum