GithubHelp home page GithubHelp logo

android-usb-serial-monitor-lite's People

Contributors

ksksue avatar thangamani-arun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-usb-serial-monitor-lite's Issues

Actually not an issue

Hi!

I tryied to communicate with bus pirate from mk808 android device, but couldn't communicate to "bus pirate".

I used following code:
// Get UsbManager from Android.
UsbManager manager = (UsbManager) getSystemService(Context.USB_SERVICE);

    // Find the first available driver.
    UsbSerialDriver driver = UsbSerialProber.acquire(manager);

    if (driver != null) {
        try {
            driver.open();
            driver.setParameters(115200, UsbSerialDriver.DATABITS_8, UsbSerialDriver.STOPBITS_1,  UsbSerialDriver.PARITY_NONE);
            byte buffer[] = new byte[16];
            driver.write(("m" + "\r").getBytes(), 1000);
            int numBytesRead = driver.read(buffer, 1000);
            Log.d(this.getClass().getSimpleName(), "Read " + numBytesRead + " bytes: " + new String(buffer).toString());
        } catch (IOException e) {
            Log.d(this.getClass().getSimpleName(), e.getMessage());
        } finally {
            try {
                driver.close();
            } catch (IOException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            }
        }
    }

From log I get strange characters back ( I am expecting to get something like bus pirate returns) - see below:
02-25 02:34:37.828: D/MainActivity(4888): device: /dev/bus/usb/001/007 Product id:24577 vendor id:1027
02-25 02:34:38.138: D/dalvikvm(4888): threadid=1: still suspended after undo (sc=1 dc=1)
02-25 02:34:41.708: D/FtdiSerialDriver(4888): claimInterface 0 SUCCESS
02-25 02:34:45.098: D/FtdiSerialDriver(4888): Wrote amtWritten=3 attempted=3
02-25 02:34:52.048: D/MainActivity(4888): Read 3 bytes: `??????????????????????????????

Actually I read something from bus pirate but it's not what I expected. I see from code of
AndroidUSBSerialMonitorLite.java
That you initialized the usb for ftdi FT232RL somehow different.
Is there some simple code (like I tried it above) to send something to bus pirate?

Thank you very much for any suggestion or code maybe.

CDC-ACM driver not supported?

My old CDC-ACM adapter works with USB Serial Monitor Lite app from google play but crashes this project... Can you please update it to support the CDC-ACM protocol just like you did in your app?
Thank you for sharing!

APK and Project Build not sync

When I copy APK to device and installed, app running well with Apk Size 118K, But when I build the project, can't connect (cannot open) with my Arduino Mega Hardware with Apk Size 126K.
Please respond..

can not connect to device

hi,
if i build your project from source i can not access to the usb serial connection. but if i install it from playstore everything is fine. can you please give me an hint what is wrong on default configuration. i import the project into android-studio.

Has it been removed from f-droid?

Hi,
I just wanted to recommended this nice tool to a friend, but it cannot be found in f-droid anymore.
Is that on purpose or a mistake?
Thanks a lot, Dieter

Can't receive data

Hi there,
I used Android-USB-Serial-Monitor-Lite.apk to connect with arduino UNO and succeed to send and receive data from UNO. When I import Android-USB-Serial-Monitor-Lite and PhysicaloidLibrary source code to create a new apk, then only succeed to send data, but receive nothing(the UNO upload code is when UNO receive "d", the 13 pin LED will light and return "hello".).

Is there any possible problem? In eclipse only show 8 warning (dead code), but it still can build an apk file.

cannot open de vice building with AIDE

Hello, the googleplay android USB serial monitor lite works fine in muy tablet, but when i build without the project in AIDE it dotes open the device using the menu it says: cannot open.
I downloaded a zip versión called android-usb-serial-monitor-lite-master.
The only difference i saw is that the googleplay does not say \u0000 and the kbytes app are 136 for google and 436 in the AIDE builded versión.
Thanks forma allí, bits a very usefull application forma constructing a Arduino Uno tablet interface

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.