0

high probability numbers

These are the serial communication reverse values. I am trying to understand the logic behind this. I am pretty sure that 2 bytes represent 1 byte(high byte and low byte), values are correct.

I tried to logical not the values and i realized that there is shifting 2 digits on some digits.

it may be a known encoding method probably. Can you understand the logic?

reversed values

2
  • Can you provide more data, ideally 200 msgs? What system is generating this data? Is this being sampled digitally or analog? Is this some sort of remote for opening a garage door? – pythonpython Mar 5 at 16:06
  • I would suggest that the shifted bytes are either plain delimiters, STX ETX characters, or checksums... that should be easy for you to check. – cb88 Mar 8 at 3:46
0

Thank you guys i have cracked the logic. There is a lookup table. first byte and second byte is logical or'ed and represent the real byte. Here is the look up table

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.