1irtext2udp(1)                    User Commands                   irtext2udp(1)
2
3
4

NAME

6       irtext2udp - Convert pulse/space text data to binary UDP driver format
7

SYNOPSIS

9       irtext2udp [-r resolution] [file]
10
11

DESCRIPTION

13       irtext2udp  is  a  filter converting pulse/space printable data such as
14       generated by mode2(1) to the binary format used by the LIRC udp driver.
15
16       The file argument is a textfile with pulse/space data.  If  not  given,
17       standard  input  is  used.  Lines  not starting with space or pulse are
18       silently ignored.
19
20       The normal usage pattern is to combine irtext2udp with  standard  tools
21       such as ncat(1) or socat(1) to send the binary data to a lircd instance
22       using the udp driver.
23
24

OPTIONS

26       -r, --resolution  <resolution>
27           Udp packages are measured in ticks. The  length  of  each  tick  is
28           defined  by  the  resolution.  The default value is 61, computed as
29           1000000/16384 and corresponding to 1/16384 seconds. This is derived
30           from old designs using a 32 kHz clock.
31
32
33       -v , --version
34           Print version and exit.
35
36
37       -h , --help
38           Print help message.
39
40

EXAMPLES

42       Using  ncat(1)   or socat(1) to send data to a lircd instance using the
43       udp driver listening on the default udp port 8765 on localhost:
44
45           irtext2udp < input-file | nc --udp localhost 8765
46
47           irtext2udp < input-file | socat STDIN UDP:localhost:8765
48
49
50

SEE ALSO

52       ncat(1)
53       mode2(1)
54       lircd(8)
55       socat(1)
56       http://lirc.org/html/udp.html
57
58
59
60text2udp 0.10.0              Last change: Oct 2016               irtext2udp(1)
Impressum