Section: User Commands (1)
Updated: Last change: Oct 2015
irtestcase - Create or check decoding testcases.
irtestcase [-l lircrc-file -p prog] <socket>
irtestcase [-l lircrc-file -p prog] -t testdata <socket>
irtestcase [-v|-h]
irtestcase is a tool which can record keypresses from a remote together with the decoded values. Given output from another session, it can also verify that the decoding still works as expected.
In the first form irtestcase will wait for input and create log files for it. Doing so, it also echoes received buttons on stdout. There is no way to stop the program in a clean way, just use ctrl-C when completed.
In the second form it will feed the data from the testdata file to lircd and log the the decoded data as usually. Thus, this makes it possible to test the output from the remote which generated the testdata. In this form lircd must be running with the "file" driver.
The optional socket is the lircd output socket (lircd must be running). It defaults to LIRC_SOCKET_PATH in environment, falling back to a hardcoded default value (/usr/var/run/lirc/lircd).
irtestcase respects LIRC_SOCKET_PATH which if defined holds the path to the lircd output socket to listen to.
The documentation for lirc is maintained as html pages. They are located under html/ in the documentation directory.
This document was created by
man2html,
using the manual pages.
Time: 20:22:15 GMT, June 09, 2017