GithubHelp home page GithubHelp logo

gnu.io.android's Introduction

gnu.io.android's People

Contributors

vladistan 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gnu.io.android's Issues

testRead() open failed

Hi, thanks for your work.
I compiled successfully your code but when I try to connect to ttyACM0 i've got this error:

I/GNU.IO ( 1428): JNI_OnLoad called.
I/GNU.IO ( 1428): Testing the version.
I/GNU.IO ( 1428): entering RXTXCommDriver:getDeviceDirectory
I/GNU.IO ( 1428): TestREAD.
I/GNU.IO ( 1428): /dev/ttyUSB3
I/GNU.IO ( 1428): entering RXTXPort:testRead
I/GNU.IO ( 1428): testRead() open failed
I/GNU.IO ( 1428): leaving RXTXPort:testRead
I/GNU.IO ( 1428): TestREAD.
I/GNU.IO ( 1428): /dev/ttyUSB4
I/GNU.IO ( 1428): entering RXTXPort:testRead
I/GNU.IO ( 1428): testRead() open failed
I/GNU.IO ( 1428): leaving RXTXPort:testRead
I/GNU.IO ( 1428): TestREAD.
I/GNU.IO ( 1428): /dev/ttyACM0
I/GNU.IO ( 1428): entering RXTXPort:testRead
I/GNU.IO ( 1428): testRead() open failed
I/GNU.IO ( 1428): leaving RXTXPort:testRead
I/GNU.IO ( 1428): entering RXTXCommDriver:getDeviceDirectory
I/GNU.IO ( 1428): TestREAD.
I/GNU.IO ( 1428): /dev/ttyUSB3
I/GNU.IO ( 1428): entering RXTXPort:testRead
I/GNU.IO ( 1428): testRead() open failed
I/GNU.IO ( 1428): leaving RXTXPort:testRead
I/GNU.IO ( 1428): TestREAD.
I/GNU.IO ( 1428): /dev/ttyUSB4
I/GNU.IO ( 1428): entering RXTXPort:testRead
I/GNU.IO ( 1428): testRead() open failed
I/GNU.IO ( 1428): leaving RXTXPort:testRead
I/GNU.IO ( 1428): TestREAD.
I/GNU.IO ( 1428): /dev/ttyACM0
I/GNU.IO ( 1428): entering RXTXPort:testRead
I/GNU.IO ( 1428): testRead() open failed
I/GNU.IO ( 1428): leaving RXTXPort:testRead

How can I fix this?

Cheers
Giorgio

What did you modify?

Hi,

I made a diff between the actual RxTx lib and your version, and i don't see any modification except for the deletion of the parallel port (if i remember correctly) and the modification of a line to add /dev/.

I use the official rxtx lib and if i remember correctly, unix systems are already supported (with /dev/).

So my question is: what did you do?

How to Connect ttyS0?

Hi,
my android device has RS232 com port(not USB to RS232),and Android-serialport-api can work in my deivce,I compile the source success,but the GNUIOtest.apk Always display "Can't find USB Serial Port",
How do I Modify the source to Connect ttyS0?
and in the source "CommPortIdentifier.getPortIdentifiers();" is return new CommPortEnumerator() ,the result is portIdentifiers always have not any Elements;the app can not find any port?
thank you very much!

RS485 support

Hi,

i am trying to add RS485 support.

to do that, i need to understand how you modified the RxTx lib. I see that you modified 3 or 4 files to make it work on Android (mainly the log functions, and some conf for the path to the device, ...).

What i don't get is how you generated the gnu_io_***.h files. Can you give me some hints? Plus, how do you compile the whole thing afterwards?

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.