Adding new protocols to the decoder?
Posted: Thu Aug 06, 2020 11:57 am
Now that we're using Barf's decoder program, what is the process to add a new protocol to it?
Here's one that I would like to have added:
TCL AIR CONDITIONER REMOTE GYKQ-03
https://www.hifi-remote.com/forums/viewtopic.php?t=16473
And here's a spreadsheet of all the possible signals in binary format:
https://www.hifi-remote.com/forums/dload ... e_id=25903
It's a 14 byte LSB signal where:
1. The first 5 bytes are fixed (decimal values: 35, 203, 38, 1, 0)
2. The next 5 bytes are variable data
3. The next 3 bytes are always zero
4. The final byte is a checksum, derived by ADDing all the other bytes together.
Note: Keep in mind that the data is LSB, so you can't just ADD the data "as is", you need to reverse it into MSB format first.
I have no idea how you'd present 10 bytes of data as a decode though, so that's a bit of a challenge.
Here's one that I would like to have added:
TCL AIR CONDITIONER REMOTE GYKQ-03
https://www.hifi-remote.com/forums/viewtopic.php?t=16473
And here's a spreadsheet of all the possible signals in binary format:
https://www.hifi-remote.com/forums/dload ... e_id=25903
It's a 14 byte LSB signal where:
1. The first 5 bytes are fixed (decimal values: 35, 203, 38, 1, 0)
2. The next 5 bytes are variable data
3. The next 3 bytes are always zero
4. The final byte is a checksum, derived by ADDing all the other bytes together.
Note: Keep in mind that the data is LSB, so you can't just ADD the data "as is", you need to reverse it into MSB format first.
I have no idea how you'd present 10 bytes of data as a decode though, so that's a bit of a challenge.