Nautilus;554924 Wrote: 
> Hi,
> 
> once again not the "exact" right forum to post this question, but since
> people have been very helpful here and it vaguely fits the topic...:)
> 
> Are device-specific IR-codes usually following some type of sequence or
> logic (other than the same header etc information)? Let's say that
> instead of hex, the codes would be decimal, would they follow some kind
> of logic like 100, 110, 120, 130 etc. (or even something as broad as
> everything is between 1000-2000)? Or are they just random numbers?
> 
> The reason I'm asking is that the lirc file I'm currently using to
> control my receiver is originally for a simpler device so it's missing
> some commands. So I was wondering if it is possbile (well, certainly
> possible but possible with reasonable effort) to try to find the
> missing codes by trial and error, following the sequnce of the existing
> command or something?
Generally the header information is constant for all of the remote's
commands and is stored in the pre_data part of the lirc file.  The
commands themselves are generally sequential and are generally 8-bit
numbers so will be in the range 0x00-0xFF.  Many protocols also use a
checksum which is calculated from the command value and LIRC files
store this in the code section along with the command value itself so
the commands may not look sequential in the lirc file.  Another thing
that muddies the water is that lirc files often encode the commands
backwards masking the true value so that sequential command values may
appear random when expressed in a lirc file.


-- 
indifference_engine
------------------------------------------------------------------------
indifference_engine's Profile: 
http://forums.slimdevices.com/member.php?userid=20698
View this thread: http://forums.slimdevices.com/showthread.php?t=79524

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to