eth32_verify_connection

int eth32_verify_connection(eth32 handle);

Summary

This function sends a "ping" packet to the ETH32 device and waits for a response. It can be used to verify that there is still a good connection to the device.

Parameters

  • handle - The value returned by the eth32_open function.

Return Value

This function returns zero on success (when a response is received within the timeout period) and a negative error code on failure. Please see the Error Codes section for possible error codes.

See Also

eth32_close, eth32_open, eth32_set_timeout