On February 24, 2010 at 23:56, Chris Collins said...
Add everything in the string except the initial "AA". You can use the Windows calculator in hex mode for this. If the result is more than two digits, the checksum is the right-most two digits.
Ex. Power On - 11+FE+01+01 = 111, the chksum is 11, so the entire string is
AA 11 FE 01 01 11.
Ex. Input Comp - 14+FE+01+08 = 11B, the chksum is 1B, the entire string is
AA 14 FE 01 08 1B.
Does this do the trick?
Just wanted to say this example helped me immensely.
I'm new to RS232 commands and Samsung's manual wasn't very clear to me on the proper syntax. Thanks!
For anyone working in Crestron's SIMPL Windows, remember that those two above commands would also need to include the escape characters.
Examples:
\xAA\x11\xFE\x01\x01\x11
\xAA\x14\xFE\x01\x08\x1B