by IRTrans » Wed 15. Feb 2012, 13:56
Hi,
I know that GC uses this approach to learn codes with toggle bits, however that is very time consuming and error prone especially for a larger remote control.
I can tell you that there are many, many more devices using these codes. RC5 and RC6 are very common. The RCMM codes that also use toggle bits are very common, too - especially for STBs. The AT&T Cable Boxes in the US for example use RCMM with a toggle bit. Therefore I would really recommend to also store such codes in our format.
Please note that you will need to switch off RCMM, RC5 and RC6 detection in our devices if you want to learn toggle bits manually. Otherwise our device will filter out the toggle bits internally.
Regarding your question:
Offset 00: Count of bytes
Correct
Offset 02: Checksum
Not needed
Offset 04: IR Command
Not needed
Offset 06: Address
Not needed
Offset 08: Address mask (Word)
Not needed
Offset 12: Number of Burst pairs
Correct
Offset 14: Carrier frequency
Correct
Offset 16: Mode Flags
Flags to select special modes (See below for details)
Offset 18 - 82:
Timing data. 8 words of on times followed by 8 words of off times
Offset 84:
RC - number of repeats
Correct - If Bit 7 (128) is set then Repeat Pause is Framelength and not pause
Offset 86: RP - Pause between two repeats in ms.
Or Framelength when Bit 7 of RC is set
Offset 88: IR Data as an ASCII String referencing the timings above
0 = First Pulse/Pause Pair 1 = 2nd and so on
If Mode Bit "Start Bit" (= 1) is set then:
S = First Pulse/Pause Pair (Startbit) 0 = 2nd, 1 = 3rd and so on
Mode Bits:
START_BIT 1
See above
REPEAT_START 2
Start bit is repeated
RC5_DATA 4
RC5 Code (No timing Info provided, Manchester Code generated by the IRTrans)
RC6_DATA 8
RC6 Code (No timing Info provided, Manchester Code generated by the IRTrans)
In addition there are many, many more options. We can also code additional Repeat info (Repeat Start, Repeat Sequence, Repeat Trailer) in the beginning of the Data sequence. However, it will not make sense to decode those codes because it will not possible to encode those code in CCF anyways.
Maybe you should really rethink having more than one IR Format in your Database. Otherwise you will loose a lot of functionallity we readily provide with our superior learning capability.
IRTrans
PS: If you like we can discuss further ideas via Email or Phone.