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.
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.