I saw a few postings about this here but no answers.
I have a server listening for Modbus connections and I have about 20 sequential registers I would like to write to and also read back 10 registers.
As this will be over a GPRS connection, I would like to keep the number of bytes down and the present way of using a setValue for each register consumes too much data.
I see there is a reference in the forum to sendBatch but this function doesn't exist in the code I downloaded.
Modbus supports multiple reads and writes but this seems to be missing from the Modbus4j code or am I missing something?
How do I go about writing and reading to and from multiple registers.