irtext2udp - Convert pulse/space text data to binary UDP driver format
irtext2udp [-r resolution] [file]
irtext2udp is a filter converting pulse/space printable data such as generated by mode2(1) to the binary format used by the LIRC udp driver.
The file argument is a textfile with pulse/space data. If not given, standard input is used. Lines not starting with space or pulse are silently ignored.
- -r, --resolution <resolution>
- Udp packages are measured in ticks. The length of each tick is defined by the resolution. The default value is 61, computed as 1000000/16384 and corresponding to 1/16384 seconds. This is derived from old designs using a 32 kHz clock.
- -v , --version
- Print version and exit.
- -h , --help
- Print help message.
irtext2udp < input-file | nc --udp localhost 8765
irtext2udp < input-file | socat STDIN UDP:localhost:8765
|Last change: Oct 2016||text2udp 0.10.1|