Section: User Commands (1)
Updated: Last change: Oct 2016
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.
The normal usage pattern is to combine irtext2udp with standard tools such as socat(1) to send the binary data to a lircd instance using the udp driver.
Using socat(1) to send data to a lircd instance using the udp driver listening on the default udp port 8765 on localhost:
irtext2udp < input-file | nc --udp localhost 8765 irtext2udp < input-file | socat STDIN UDP:localhost:8765
This document was created by
using the manual pages.
Time: 20:22:15 GMT, June 09, 2017