Reputation: 325
Do apologize for the question I know its been in discussion before but I could not find the answer. I am trying to create an app to communicate over Modbus RTU with our Micro-controller. Is there any library available for Modbus RTU for Android or I have to write the whole code by my self.?
Thanks
Upvotes: 5
Views: 9107
Reputation: 95
Use this library works with Android. What you need to do is simply read the documentation first and proove the communication with only serial port after that you can easily implement the library.
Check this Link for how to implement the library in Android Studio.
Upvotes: 2
Reputation: 6855
There are library present which will help you.
SimpleModbus is a collection of Arduino libraries that enables you to communicate serially using the Modicon Modbus RTU protocol.
This repository includes Android code that is needed to communicate modbus RTU serial through the microUSB port.
Upvotes: 2