slave identification

Asked by jcarrr

We are about to work over some code written last Jan-May with the then current version of libmodbus.

I find these files on my machine with Apr 24 modification dates:

/usr/local/libmodbus.so.2.0.0
/usr/local/lib/libmodbus.la
/usr/local/lib/libmodbus.so
/usr/local/lib/libmodbus.so.2
/usr/local/lib/libmodbus.so.2.0.0

Are we likely to experience any glitches when we switch to the most recent libmodbus?

In particular, I remember some discussion, that I cannot locate at the moment, about additional parameters relating to slave number/identity . The code we will work on includes a couple of lines in the TCP and serial interface routines that discards queries to other slaves. Is this still necessary or is there another way? I may have missed features that were available the first time around.

Thanks,

John Carroll

Question information

Language:
English Edit question
Status:
Answered
For:
libmodbus Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Stéphane Raimbault (sra) said :
#1

The most recent libmodbus has changes in the API, all changes are documented in MIGRATION file (in the root directory).

http://bazaar.launchpad.net/~sra/libmodbus/trunk/annotate/head:/MIGRATION

The latest version of libmodbus include slave number filtering.

Can you help with this problem?

Provide an answer of your own, or ask jcarrr for more information if necessary.

To post a message you must log in.