On January 26, 2011 at 22:35, mostasz said...
Uh oh!! I want answers too! I just made program for Crestron control system, used some IR codes for different Tascam CD player. I would much rather use RS232.
Can someone please post example of correct RS232 commands?
Play: \x02\x3E\x50\x4C\x59\x63\x46\x57\x44\x20\x20\x20\x20\x20\x31\x37\x03
Stop: \x02\x3E\x53\x54\x50\x63\x20\x20\x20\x20\x20\x20\x20\x20\x39\x38\x03
Pause: \x02\x3E\x50\x4C\x59\x63\x50\x41\x55\x20\x20\x20\x20\x20\x31\x43\x03
The 2nd and 3rd bytes from the right are the ASCII equivalent of a binary checksum. You sum everything >after< the STX byte, take the lower 8bits of the result, then convert the resulting hex value to its ASCII equivalent.
Example: \xFF + \x02 + \x03 = \x104 -> \x04 (lower 8 bits) -> \x30\x34 (converted to ASCII '04')
Better late than never?