Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Modbus RTU library

Tags:

android

modbus

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

like image 302
Crazy Engineer Avatar asked May 26 '16 11:05

Crazy Engineer


2 Answers

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.

Modbus RTU Java Library

Check this Link for how to implement the library in Android Studio.

like image 63
Master Blaster Avatar answered Oct 23 '22 15:10

Master Blaster


There are library present which will help you.

1) simplemodbusng

SimpleModbus is a collection of Arduino libraries that enables you to communicate serially using the Modicon Modbus RTU protocol.

2) Modbus-RTU-Serial-for-Android

This repository includes Android code that is needed to communicate modbus RTU serial through the microUSB port.

like image 36
Maheshwar Ligade Avatar answered Oct 23 '22 15:10

Maheshwar Ligade