modbus_set_byte_timeout.txt 922 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. modbus_set_byte_timeout(3)
  2. ==========================
  3. NAME
  4. ----
  5. modbus_set_byte_timeout - set timeout between bytes
  6. SYNOPSIS
  7. --------
  8. *void modbus_set_byte_timeout(modbus_t *'ctx', struct timeval *'timeout');*
  9. DESCRIPTION
  10. -----------
  11. The _modbus_set_byte_timeout()_ function shall set the timeout interval between
  12. two consecutive bytes of the same message. If the delay between is longer than
  13. the given timeout, an error will be raised.
  14. If the timeout value has a tv_sec of -1 then this timeout will not be used at
  15. all. This results in modbus_set_response_timeout governing the entire timeout
  16. duration of an operation.
  17. RETURN VALUE
  18. ------------
  19. There is no return values.
  20. SEE ALSO
  21. --------
  22. linkmb:modbus_get_byte_timeout[3]
  23. linkmb:modbus_get_response_timeout[3]
  24. linkmb:modbus_set_response_timeout[3]
  25. AUTHORS
  26. -------
  27. The libmodbus documentation was written by Stéphane Raimbault
  28. <stephane.raimbault@gmail.com>