eth32_get_timeout

int eth32_get_timeout(eth32 handle, unsigned int *timeout);

Summary

This function is used to retrieve the internal API timeout used for any function that requires a response from the ETH32 device. See the eth32_set_timeout function for further description of the timeout setting.

Parameters

  • handle - The handle value returned by the eth32_open function.

  • timeout - Pointer to a variable which will receive the currently configured timeout value.

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_set_timeout