2
.\" Title: modbus_set_byte_timeout
3
.\" Author: [see the "AUTHORS" section]
4
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
6
.\" Manual: Libmodbus Manual
7
.\" Source: libmodbus 3.0.3
10
.TH "MODBUS_SET_BYTE_TIME" "3" "05/26/2012" "libmodbus 3\&.0\&.3" "Libmodbus Manual"
11
.\" -----------------------------------------------------------------
12
.\" * Define some portability stuff
13
.\" -----------------------------------------------------------------
14
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15
.\" http://bugs.debian.org/507673
16
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20
.\" -----------------------------------------------------------------
21
.\" * set default formatting
22
.\" -----------------------------------------------------------------
23
.\" disable hyphenation
25
.\" disable justification (adjust text to left margin only)
27
.\" -----------------------------------------------------------------
28
.\" * MAIN CONTENT STARTS HERE *
29
.\" -----------------------------------------------------------------
31
modbus_set_byte_timeout \- set timeout between bytes
34
\fBvoid modbus_set_byte_timeout(modbus_t *\fR\fB\fIctx\fR\fR\fB, struct timeval *\fR\fB\fItimeout\fR\fR\fB);\fR
37
The \fImodbus_set_byte_timeout()\fR function shall set the timeout interval between two consecutive bytes of the same message\&. If the delay between is longer than the given timeout, an error will be raised\&.
39
If the timeout value has a tv_sec of \-1 then this timeout will not be used at all\&. This results in modbus_set_response_timeout governing the entire timeout duration of an operation\&.
42
There is no return values\&.
45
\fBmodbus_get_byte_timeout\fR(3) \fBmodbus_get_response_timeout\fR(3) \fBmodbus_set_response_timeout\fR(3)
48
The libmodbus documentation was written by St\('ephane Raimbault <\m[blue]\fBstephane\&.raimbault@gmail\&.com\fR\m[]\&\s-2\u[1]\d\s+2>
51
stephane.raimbault@gmail.com
53
\%mailto:stephane.raimbault@gmail.com