Modbus slave with Android using TCP

Hello,
We are developing an android app for device communication using MODBus Protocal.
Please refer link for solution architecture diagram
We have used the following downloaded libraries Tools.
jamod-1.2-SNAPSHOT.jar has been downloaded from Download Java Modbus Library from SourceForge.net
mod_RSsim.exe has been downloaded from Modbus simulator | Free Science & Engineering software downloads at SourceForge.net

PROBLEM
we can connect android APP with modbus simulator(mod_RSsim.exe) using socket connection. but we couldn’t write and read values from registers using functions from “jamod-1.2-SNAPSHOT.jar”.

we got output like this 00 00 00 00 00 06 00 03 00 00 00 00 when we use

WriteMultipleRegistersRequest wrq = new WriteMultipleRegistersRequest();
wrq.getHexMessage();

what is the correct function to read and write for registers in modbus simulator using “jamod-1.2-SNAPSHOT.jar”.

Looking forward to hear from someone.
Thanks for your help.
Please reply
[email protected]