The function eventually calls decode_all(). decode_all() checks if received
data corresponds to any of remotes specified in lird.conf. If the match is found,
a string or format "code repetitions button_name button_suffix remote_name" is
returned. The (*rec_func)() returns the string prepared by decode_all() as it is.
Currently, if the received input does not belong to any of remotes in
lircd.conf, an empty string is returned. We need to change this (should we really
do this considering some clients does not translate key codes but uses them
as-is?) to indicate that the input does not match with key codes in lircd.conf and
return string of appropriate format.
Log in to post a comment.