CRC error on RTU response doesn't return negative value
Bug #378981 reported by
Stéphane Raimbault
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libmodbus |
Fix Released
|
High
|
Stéphane Raimbault |
Bug Description
Hi (this is my first post hero on launchpad, hope I post in right place)
I have libmodbus 2.0.3 and some problems with CRC errors. I'm writing a modbus Master that communicate with RTU slaves over RS485.
When I issue a
"modbus_ret = read_holding_
and the return has invalid CRC, libmodbus prompts as it should with
"ERROR Invalid crc received E800 - crc_calc 4716 (-16)" , for example.
But, the return value from read_holding_
This must be a bug, right?
Regards
Henrik
Related branches
Changed in libmodbus: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
revno: 174
committer: Stéphane Raimbault <email address hidden>
branch nick: libmodbus
timestamp: Thu 2009-05-21 11:55:36 +0200
message:
Fix #378981 - CRC error on RTU response doesn't return negative value
Reported by Henrik Munktell.