davidLin7692 / pymodbus

Automatically exported from code.google.com/p/pymodbus
0 stars 0 forks source link

RTU CRC byte order oughut to be little-endian #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
transport.py
No. 322 row
"packet = packet + struct.pack(">H", computeCRC(packet))
"

"packet = packet + struct.pack("<H", computeCRC(packet))
"

Original issue reported on code.google.com by liyiming...@gmail.com on 26 May 2009 at 2:49

GoogleCodeExporter commented 9 years ago
You are correct, fixed in revision 27.

Original comment by Bashw...@gmail.com on 27 May 2009 at 3:43