Questions tagged [rxtx]

RXTX is a Java library, using a native implementation (via JNI), providing serial and parallel communication for the Java Development Toolkit (JDK).

RXTX is a Java library, using a native implementation (via JNI), providing serial and parallel communication for the Java Development Toolkit (JDK). All deliverables are under the GNU LGPL license. It is based on the specification for Sun's Java Communications API, though while many of the class descriptions are the same the package used it not, since gnu.io is used instead. A certain amount of compatibility is intended with API, though this project should be considered as a fork and therefore compatible in spirit, but not in implementation.

387 questions
5
votes
3 answers

Serial port reading - Error : EXCEPTION_ACCESS_VIOLATION - C [rxtxSerial.dll+0x5b00]

Currently I'm trying to read serial port. Working fine in Linux. But facing error in Windows machine. I followed this link to read serial port and Downloaded RXTX library from here for windows machine (JAR + DLL file). OS : Windows 10 with…
sabari vasagan
  • 404
  • 5
  • 18
5
votes
1 answer

How to add native dependencies for Netty and RXTX in Gradle?

In my application I want to do some communication with an Arduino board. In order to realize the serial communication I want to use the Netty framework together with the RXTX transport…
Tobias Breßler
  • 316
  • 3
  • 8
5
votes
3 answers

ASTM 1381-02 Serial Interfacing with Medical Lab equipment

Has anybody successfully interfaced Medical Lab devices like Cell Counters /ABG instruments to mirth connect using ASTM 1381-02 or similar protocols over serial port. I am working on a small project. I need the data transmitted by the machine in…
Nawaz
  • 413
  • 2
  • 7
  • 16
5
votes
4 answers

Mismatched RXTX Versions

I found a code to communicate in Java via Serial Port to an Arduino and wanted to try and get it working in order to expand on it for a project idea, but I keep getting this error Stable Library ========================================= Native lib…
Peter Chappy
  • 1,165
  • 4
  • 22
  • 41
5
votes
1 answer

How to solve error java.io.IOException: Input/output error in nativeavailable for Serial Communication?

I have Arm processor which is AllWinner A13 ,RAM- 512mb, and OS- Linaro 13.01 Ubuntu (means debian). Now i m making Serial Communication program for /dev/ttyS0. i made simple program for Two Way Serial Communication in java with netbeans. In my…
Jay
  • 1,235
  • 10
  • 28
  • 49
5
votes
1 answer

Java SerialPortEvent issue: DATA_AVAILABLE calls faster then incoming data

I'm posting for the first time so I hope that I write everything according to the format. Currently I'm working on a project using Serial Communication with RXTX between a java application and a measuring device. This works great, but now I want to…
Skillcoil
  • 184
  • 2
  • 16
4
votes
2 answers

Java RXTXcomm lib to connect to /dev/ttyACM0

I'm using RXXTX java lib to connect to serial ports. I'm using this lib with no problems connecting to /dev/ttyUSB0 (1,2,3,etc). But when I want to connect to /dev/ttyACM0 the port its not found. CommPortIdentifier portIdentifier =…
Eduardo Pinheiro
  • 3,409
  • 3
  • 30
  • 39
4
votes
1 answer

Read Data from PCB board Through a Serial Cable with java

Using eclipse and java how to read the data from the pcb board with a serial cable, because the data of the pcb board arrive via cable in binary format. How to save the data that will be displayed in the compiler? Someone help me please. Below is…
Ale Last
  • 65
  • 7
4
votes
2 answers

Serial communication in Java on OS X

I am trying to create a program that can both transmit and receive via a USB to serial communication. I have learned by research of two files that I will need: a .jar file containing the actual library, and from what I understand the…
Tyler
  • 43
  • 1
  • 3
4
votes
3 answers

Why doesn't java honour the class path when executing a jar file with the -jar switch?

This works: $ java -cp ".:/PATH/TO/RXTXcomm.jar:./jobexftp.jar" -Djava.library.path=/usr/lib/jni com.lhf.jobexftp.StandAloneApp JObexFTP 2.0 beta (15/10/2010) Java Obex File Transfer Protocol application and library Developed under/using 100% free…
fadedbee
  • 42,671
  • 44
  • 178
  • 308
4
votes
2 answers

Do you know an alternative site for RXTX download?

RXTX site http://rxtx.qbang.org/wiki/index.php/Download has been down for a while. Do you know an alternative site to download the latest rxtx lib for windows, linux and raspberry pi? Thanks,
Sean Nguyen
  • 12,528
  • 22
  • 74
  • 113
4
votes
1 answer

Java Marine API - looking for NMEA data

My ultimate goal is to receive lat and long GPS info from an Adafruit Ultimate GPS (NMEA 0183 standard) to my Java app. I am using the Java Marine API to do this. Current location will then be written to a DB along with timestamp. So far I have…
Ben Mayo
  • 1,285
  • 2
  • 20
  • 37
4
votes
1 answer

RXTX in a runnable jar file - why won't it work?

I have a project in eclipse that uses rxtx. I have the same project in netbeans, too. They work perfectly, but neither of them works, when I create runnable jars. I do not know what I do wrong. I tried to change classpaths, adding external…
dwarfhero
  • 43
  • 1
  • 1
  • 6
4
votes
4 answers

java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path debian

I trying to use rxtx serial communication library on debian and I have added librxtx.so into native library path but still this exception is occurred . java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at…
Nutan
  • 513
  • 2
  • 10
  • 16
3
votes
1 answer

read from commport doesn't return full result on java

I was trying to read from a com port using the rxtx API. The com port was connected to a micro controller, so that every time I pressed a button on the micro controller board, it will return me a series of byte number counting from 0x01 to 0xff. I…
Daniel
  • 1,484
  • 5
  • 24
  • 42
1 2
3
25 26