|
| 1 | +.\" Copyright (c) 2018-2020 Robin Getz |
| 2 | +.\" Copyright (c) 2018-2020 Analog Devices Inc. |
| 3 | +.\" |
| 4 | +.\" %%%LICENSE_START(GPLv2+_DOC_FULL) |
| 5 | +.\" This is free documentation; you can redistribute it and/or |
| 6 | +.\" modify it under the terms of the GNU General Public License as |
| 7 | +.\" published by the Free Software Foundation; either version 2 of |
| 8 | +.\" the License, or (at your option) any later version. |
| 9 | +.\" |
| 10 | +.\" The GNU General Public License's references to "object code" |
| 11 | +.\" and "executables" are to be interpreted as the output of any |
| 12 | +.\" document formatting or typesetting system, including |
| 13 | +.\" intermediate and printed output. |
| 14 | +.\" |
| 15 | +.\" This manual is distributed in the hope that it will be useful, |
| 16 | +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | +.\" GNU General Public License for more details. |
| 19 | +.\" |
| 20 | +.\" You should have received a copy of the GNU General Public |
| 21 | +.\" License along with this manual; if not, see |
| 22 | +.\" <http://www.gnu.org/licenses/>. |
| 23 | +.\" %%%LICENSE_END |
| 24 | +.\" |
| 25 | +.TH iiod 1 "@CMAKE_DATE@" "libiio-@LIBIIO_VERSION_MAJOR@.@LIBIIO_VERSION_MINOR@" "LibIIO Utilities" |
| 26 | +.IX iiod |
| 27 | +.SH NAME |
| 28 | +iiod \- IIO Daemon |
| 29 | +.SH SYNOPSIS |
| 30 | +.B iiod |
| 31 | +[ |
| 32 | +.I options |
| 33 | +] |
| 34 | + |
| 35 | +.SH DESCRIPTION |
| 36 | +.B iiod |
| 37 | +is a server built on top of Libiio which can share a Libiio context across the |
| 38 | +network, USB, or a UART link. |
| 39 | + |
| 40 | +.SH COMMANDS |
| 41 | +.TP |
| 42 | +.B \-V, \-\-version |
| 43 | +Display the version of this program. |
| 44 | +.TP |
| 45 | +.B \-d, \-\-debug |
| 46 | +Use alternative (incompatible) debug interface. |
| 47 | +.TP |
| 48 | +.B \-D, \-\-demux |
| 49 | +Demux channels directly on the server. |
| 50 | +.TP |
| 51 | +.B \-i, \-\-interactive |
| 52 | +Run iiod in the controlling terminal. |
| 53 | +.TP |
| 54 | +.B \-a, \-\-aio |
| 55 | +Use asynchronous I/O. |
| 56 | +.TP |
| 57 | +.B \-F, \-\-ffs <arg> |
| 58 | +Use the given FunctionFS mountpoint to serve over USB. |
| 59 | +.TP |
| 60 | +.B \-n, \-\-nb\-pipes <arg> |
| 61 | +Specify the number of USB pipes (ep couples) to use. |
| 62 | +.TP |
| 63 | +.B \-s, \-\-serial <arg> |
| 64 | +Run iiod on the specified UART. |
| 65 | +.TP |
| 66 | +.B \-p, \-\-port <arg> |
| 67 | +Port to listen on (default = 30431). |
| 68 | +Using --port 0 will pick an ephemeral port (dynamic / unused in the range between 32768–60999). |
| 69 | +.TP |
| 70 | +.B \-u, \-\-uri |
| 71 | +The Uniform Resource Identifier |
| 72 | +.I (uri) |
| 73 | +for connecting to devices, can be one of: |
| 74 | +.RS |
| 75 | +.IP ip:[address] |
| 76 | +network address, either numeric (192.168.0.1) or network hostname |
| 77 | +.IP ip: |
| 78 | +blank, if compiled with zeroconf support, will find an IIO device on network |
| 79 | +.IP usb:[device:port:instance] |
| 80 | +normally returned from |
| 81 | +.B iio_info -S |
| 82 | +.IP serial:[port],[baud],[settings] |
| 83 | +which are controlled, and need to match the iiod (or tinyiiod) on the other end of the serial port. |
| 84 | +.RS |
| 85 | +.IP [port] |
| 86 | +is something like '/dev/ttyUSB0' on Linux, and 'COM4' on Windows. |
| 87 | +.IP [baud] |
| 88 | +is is normally one of 110, 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 38400, 57600, 115200 [default], 128000 or 256000, but can vary system to system. |
| 89 | +.IP [settings] |
| 90 | +would normally be configured as '8n1' this is controlled by: |
| 91 | +.RS |
| 92 | +.IP data_bits: |
| 93 | +(5, 6, 7, 8 [default], or 9) |
| 94 | +.IP parity_bits: |
| 95 | +('n' none [default], 'o' odd, 'e' even, 'm' mark, or 's' space) |
| 96 | +.IP stop_bits: |
| 97 | +(1 [default, or 2) |
| 98 | +.IP flow_control: |
| 99 | +('0' none [default], 'x' Xon Xoff, 'r' RTSCTS, or 'd' DTRDSR) |
| 100 | +.RE |
| 101 | +.RE |
| 102 | +.IP local: |
| 103 | +with no address part. This is the default. |
| 104 | +.RE |
| 105 | +.TP |
| 106 | + |
| 107 | +.SH RETURN VALUE |
| 108 | +If the specified device is not found, a non-zero exit code is returned. |
0 commit comments