lp:~octo/libmodbus/ipv6

Created by Florian Forster and last modified
Get this branch:
bzr branch lp:~octo/libmodbus/ipv6
Only Florian Forster can upload to this branch. If you are Florian Forster please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Florian Forster
Project:
libmodbus
Status:
Development

Recent revisions

188. By Florian Forster <email address hidden>

Merged changes in the "opqaue" branch.

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.

184. By Stéphane Raimbault

Fix #457200 - FreeBSD support by Norbert Koch

183. By Stéphane Raimbault

New API to close slave TCP socket

182. By Stéphane Raimbault

Removed malloc check which doesn't pass on ARM linux toolchain

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

179. By Stéphane Raimbault

New API modbus_read_float() and modbus_write_float() for float values

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.

Subscribers