I receive data with an Raspberry Pi3 from another device with an ATMEGA 8 Chip via serial port, what I receive should look like : #00 341 341 332 13123 R-? ...
But what I receive on my Raspberry is:
b'\xff\xfa\xfd\xff\xff\xff\xff\xff\xff\xfd\xff\xea~\xf8\xff\xfe\xfe\xff\xd5\xff\xfe\xfd\xff\xff\xfd\xff\xff\xff'
My port config:
port = serial.Serial("/dev/ttyAMA0", baudrate=115200, timeout=3.0)
How do I decode this or do you have any other suggestions?
I already tried to encode to utf-8, ascii etc. I also tried codecs. I just got errors or some more disturbing data. Nothin I can work with.