libmodbus:swap-crc

Last commit made on 2017-10-26
Get this branch:
git clone -b swap-crc https://git.launchpad.net/libmodbus

Branch merges

Branch information

Name:
swap-crc
Repository:
lp:libmodbus

Recent commits

7283fe3... by Stéphane Raimbault on 2017-10-26

Swap CRC bytes in request data but not at CRC computing (#397)

91a1d74... by Stéphane Raimbault on 2017-10-26

Oops fix OR on RS485 settings (1c5d969)

1c5d969... by Stéphane Raimbault on 2017-10-25

Only set SER_RS485_ENABLED bit of existing RS485 settings

Thanks to @JCWren

44b0083... by Stéphane Raimbault on 2017-10-25

Add .vscode/ to .gitignore

ddc8233... by zzeroo on 2017-10-21

Fix wrong function name

I hope this was the correct place to fix it. I don't know asciidoc.

26dd610... by Patrick Boettcher on 2017-08-07

Remove a duplicated semi-colon

Found with the help of clang-format (from another branch)

22d4fff... by Stéphane Raimbault on 2017-07-03

Fix a small typo in test message

b1adc37... by Michael Heimpold on 2017-04-07

Fix modbus_reply for TCP when unit id == 0 (fixes #376)

According to the Modbus standard, the unit identifier is choosen by the
TCP client and can be any value:

"This field is used for intra-system routing purpose. It is typically
used to communicate to a MODBUS+ or a MODBUS serial line slave through a
gateway between an Ethernet TCP-IP network and a MODBUS serial line.
This field is set by the MODBUS Client in the request and must be returned
with the same value in the response by the server."

So the current check in modbus_reply must be extended to check whether
we are in a RTU or TCP context.

Also the unit-test has to be adjusted.

Signed-off-by: Michael Heimpold <email address hidden>

0f06a0c... by Stéphane Raimbault on 2017-03-22

New functions to define the indication timeout (#95)

7a6078b... by Stéphane Raimbault on 2017-05-05

Remove CYGWIN condition to provide bswap16 fallback (#383)