I have an old water purifier system that consists of a PDA and a main board (I think the ic is a Renesas) that communicate by RS232, I need to know the protocol they use to communicate in order to reproduce it from another device. I already have it practically done, below I detail the characteristics that I have been able to extract:
Protocol details
RS232
Endian: LSB
Baud rate: 9600
Data: 8 bits
Stop bits: 1
Parity: Odd
Packet size: 21 Bytes
Character start / stop: 90
Polarity: Positive
Time between two bytes: 6.8 mS
Time between packets: 1.9 s
second-last (byte 20): checksum (simple sum of all data bytes + 90)
Message format
PDA (TX): 90 + (18 * data_byte) + checksum + unknown_byte
Mainboard (TX): 90 + (18 * data_byte) + checksum + 90
I also already have an idea what each byte of data corresponds to, but the last byte (unknown_byte), I don't know what it corresponds to, it varies constantly even though the data is the same. When I turn on the PDA, it continuously sends the same sequence:
90 + (18 * zero_byte) + 90 + unknown_byte
The last byte seems to follow a sequence from the start of the PDA, but it does not get to repeat itself exactly:
05, EA, EC, F1, E9, EE, F4, EB, F1, E8, EE, F3, EB, F0, E8, ED, F3, EA, F0, F5, ED, F2, E6, EC, F1, E9, EE, F4, EB, F1, E8, EE, F3, EB, F0, f6, E8, ED, F2, EA, F5, EC, F2, E9, EF, F4, E8, EE, F3, EB, F0, F6, ED, F2, EA, EF, F5, E7, EC ...
Other sequence in DEC:
5,234,236,241,233,238,244,235,241,232,238,243,235,240,232,237,243,234,240,245,237,242,230,236,241,233,238,244,235,241,232,238,243,235,240,246,237,242,234,239,245,236,242,233,239,244,232,238,243,235,240,232,237,242,234,239,245,236,242,233,239,244,236,241,233,238,244,235,237,243,234,240,245,237,242,234,225,245,236,242,233,239,244,236,241,233,238,244,235,240,229,234,239,245,236,242,233,239,244,236,241,233,238,244,235,240,232,237,243,234,240
Does anyone know what this field may correspond to?
Thanks in advance