Mercurial
Mercurial
>
Modbus
/ shortlog
summary
| shortlog |
changelog
|
graph
|
tags
|
bookmarks
|
branches
|
files
|
bz2
|
zip
|
gz
|
help
(0)
tip
Tue, 10 Dec 2019 16:07:49 +0000
Mario de Sousa
merge
changeset
|
files
Tue, 10 Dec 2019 15:51:32 +0000
Mario de Sousa
change hton() and ntoh() so we don't use (u8 *) to (u16 *) casts. Some compilers incorrectly change the pointer to force alignment with even addresses.
changeset
|
files
Tue, 10 Dec 2019 09:30:59 +0100
bmakuc
Mario's fix for the pointer alignment problem. See changeset 4: 99009b24d401.
changeset
|
files
Wed, 27 Nov 2019 14:53:22 +0100
bmakuc
Variables start_addr and count were read from query_packet using function mb_ntoh_safe. It looks like some compilers change the pointer alignment if the first byte starts at an odd address. Because mb_ntoh_safe uses pointers slave address and count (number of registers) were not read correctly from the buffer when several modbus slaves were present in network. In this temporary solution pointer aritmetics is replaced by simple 256 multiplication.
changeset
|
files
Mon, 11 Feb 2019 11:07:01 +0100
Edouard Tisserant
Setting socket option so that TCP Modbus slave can re-use same port immediately after freeing it
changeset
|
files
Fri, 16 Nov 2018 09:28:12 +0100
Edouard Tisserant
Let Makefile use default CFLAGS and CC instead of overriding them
changeset
|
files
Sat, 18 Mar 2017 15:46:04 +0000
Andrey Skvortsov
Remove incorrect inlines
changeset
|
files
Sun, 05 Mar 2017 00:05:46 +0000
Mario de Sousa
Initial commit.
changeset
|
files
(0)
tip