Skip to content

Conversation

@UteHaus
Copy link

@UteHaus UteHaus commented Nov 9, 2023

Serial read config:
device, 9600, xonxoff=0, rtscts=0, bytesize=8, parity="N", stopbits=1

Us the sml_rs rust lib to decode the SML but got the following exception:

Err(DecodeErr(DiscardedBytes(32)))
Err(DecodeErr(InvalidMessage { checksum_mismatch: (61792, 42719), end_esc_misaligned: true, num_padding_bytes: 0 }))
Err(IoErr(Error { kind: UnexpectedEof, message: "failed to fill whole buffer" }, 581))
Done.

AND with vzlogger I got non data.

Serial read config:
device, 9600, xonxoff=0, rtscts=0, bytesize=8, parity="N", stopbits=1
@felixwrt
Copy link

felixwrt commented Dec 7, 2023

Hi, if you want your data to be included in libsml-testing, please open a PR in the upstream repo: https://github.com/devZer0/libsml-testing. Some hints regarding your data: It seems like it's corrupted. Could you please record more data (~5 transmissions would be fine to start with). This makes it easier to analyze. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants