lp:~octo/libmodbus/ipv6
- Get this branch:
- bzr branch lp:~octo/libmodbus/ipv6
Branch merges
Branch information
Recent revisions
- 187. By Florian Forster <email address hidden>
-
Make the TCP implementation "protocol independent", i.e. IPv6 capable.
This commit changes the internal data structures and functions to use the
protocol independent networking interface, i.e. "getaddrinfo(3)" and friends.Even if you don't use IPv6, you still benefit from this change, because both
"modbus_init_tcp*" functions not support resolving hostnames. Previously, an
IPv4 address given in the dotted-decimal format as a string was necessary. Now
the system resolver is used, so you can use aliases specified in /etc/hosts,
hostnames resolved via DNS or IP addresses.A new function, "modbus_
init_tcp_ pi", has been added, too. It accepts the
"service" as a string so you can also use the service name if it is present in
/etc/services. - 186. By Florian Forster <email address hidden>
-
src/modbus.[ch]: Re-indent with spaces instead of tabs.
Didn't notice that the file was indented with spaces, sorry.
- 185. By Florian Forster <email address hidden>
-
src/modbus.h: Move parameters into an opaque data structure.
This makes it *a lot* easier to add features while preserving API and ABI
compatibility with later versions. The parameters are in a new struct,
"modbus_object_t", which is marshalled by "modbus_param_t". This way client
applications can still allocate the "modbus_param_t" which hopefully minimizes
required changes in client applications.Argument checking is *not* done yet, so using libmodbus in an invalid manner
(calling functions without calling one of the "modbus_init_*" functions first)
will result in a segmentation fault. - 181. By Stéphane Raimbault
-
Fix #425604 - Conditional jump or move depends on uninitialised value(s)
It occurs on first occurence of slave timeout (found with Valgrind 3.3.0).
Reported by Henrik Munktell. - 180. By Stéphane Raimbault
-
Merged patch by Paul Fertser - Implemented FC_REPORT_SLAVE_ID according to specs
- added commend about device specific length
- new entry in NEWS file
Branch metadata
- Branch format:
- Branch format 6
- Repository format:
- Bazaar pack repository format 1 (needs bzr 0.92)