Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data splitting #1

Open
tobydox opened this issue Mar 14, 2014 · 0 comments
Open

data splitting #1

tobydox opened this issue Mar 14, 2014 · 0 comments

Comments

@tobydox
Copy link
Contributor

tobydox commented Mar 14, 2014

Original report by E.Kalinowski at old bug tracker at SourceForge:

the data from tty device (/dev/ttyUSB0, COM<->USB adapter) will be spitted. example. i send into the serial interface 0xf0 0x3 0x0 0x0 0x0 0x24 0x50 0xf0 (address 240, function code 3) but program splits this message to two parts:
0xf0 0x3 0x0 0x0 0x0
and
0x24 0x50 0xf0
the checksum will be calculated for this two parts, of course wrong, separated.
possible the problem is in the receive_msg() function.

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

No branches or pull requests

1 participant