modbus_get_byte_timeout.txt 860 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. modbus_get_byte_timeout(3)
  2. ==========================
  3. NAME
  4. ----
  5. modbus_get_byte_timeout - get timeout between bytes
  6. SYNOPSIS
  7. --------
  8. *void modbus_get_byte_timeout(*modbus_t 'ctx', struct timeval *'timeout');*
  9. DESCRIPTION
  10. -----------
  11. The _modbus_get_byte_timeout()_ function shall store the timeout interval
  12. between two consecutive bytes of the same message in the 'timeout' argument.
  13. RETURN VALUE
  14. ------------
  15. There is no return values.
  16. EXAMPLE
  17. -------
  18. [source,c]
  19. -------------------
  20. struct timeval byte_timeout;
  21. /* Save original timeout */
  22. modbus_get_byte_timeout(ctx, &byte_timeout);
  23. -------------------
  24. SEE ALSO
  25. --------
  26. linkmb:modbus_get_response_timeout[3]
  27. linkmb:modbus_set_response_timeout[3]
  28. linkmb:modbus_set_byte_timeout[3]
  29. AUTHORS
  30. -------
  31. The libmodbus documentation was written by Stéphane Raimbault
  32. <stephane.raimbault@gmail.com>