Questions tagged [jssc]

jSSC (Java Simple Serial Connector) - library for working with serial ports from Java

jSSC supports Win32(Win98-Win8), Win64, Linux(x86, x86-64, ARM), Solaris(x86, x86-64), Mac OS X 10.5 and higher(x86, x86-64, PPC, PPC64).

118 questions
0
votes
3 answers

How to read (all available) data from serial connection when using JSSC?

I'm trying to work with JSSC. I built my app according to this link: https://code.google.com/p/java-simple-serial-connector/wiki/jSSC_examples My event handler looks like: static class SerialPortReader implements SerialPortEventListener { …
user3668129
  • 4,318
  • 6
  • 45
  • 87
0
votes
2 answers

How to Create virtual serial port using java

I had tried with TelnetSerialPort and jSSC library to create virtual sertial port but wont work.it not create Virtual serial port, it use existing serial port for communication. This one my programm using jSSc library public class VirtualSerialPort…
Sush
  • 307
  • 3
  • 14
0
votes
1 answer

Check if 2 serial ports work correctly

I am struggling to send some bytes from one serial port to another on the same computer. I use this card: http://www.nisuta.com/images/productos/grandes/NS4037.jpg (sun1889). I connect them with the following equipment cable:…
Peter
  • 117
  • 3
  • 9
0
votes
1 answer

Access COM Port on Client Side in Web Programming Java

I am developing a Web page using jsp and html where in I need to read/write from/to a Device connected on Client's System who are accessing the Webpage. The Device is a Serial Device which is connected as COM1(Eg) in Windows. I went through…
trueblue
  • 306
  • 1
  • 5
  • 17
0
votes
1 answer

Java serial communication on 32 bit system

I can't get serial communication to work with my Java application on 32 bit systems, both Windows XP and 7. I've tried jssc and all i get is "Port Busy". The solution from Oracle doesn't give "Port Busy", but it just hangs, doesn't read any…
0
votes
1 answer

jssc connector. Detect unknown port on notebook. Open and close operation takes long time

I have a problem because I use in my application jssc(java-simple-serial-connector) and find availible ports using that code: String[] portNames = SerialPortList.getPortNames(); and as a result i get port name "COM3". The problem is I develop this…
user2374573
  • 59
  • 1
  • 3
  • 11
0
votes
0 answers

JSSC readBytes() - What is coming in and what do I do with it?

I am a student and as a project I'm developing some software to talk to a CAN that would read from that can through a serial over USB interface. I'm confused on what occurs when I receive these bytes. I'm receiving them in -127-128 format and then…
branmg
  • 1
0
votes
2 answers

How do I sign my Applet correctly to access the computer's COM Port?

I'm self signing my Applet that uses the library JSSC to read a COM Port device's data however that's not enough to allow the applet to access that resource and an exception is thrown when I try to list the COM ports available, I'm testing on my…
paul-2011
  • 675
  • 10
  • 27
0
votes
1 answer

How to change JSSC port using combobox?

The only thing that needs to change on the serial port for this application is the port name/number. JSSC is able to update a combobox like this private void jComboBoxCommPortFocusGained(java.awt.event.FocusEvent evt) { …
jacknad
  • 13,483
  • 40
  • 124
  • 194
-1
votes
1 answer

How do I make a String from a bufferedreader with newline

Example data from serial port using System.out.print() $GPGGA,134658.00,5106.9792,N,11402.3003,W,2,09,1.0,1048.47,M,-16.27,M,08,AAAA*60 This message ends with a carriage return followed by a newline. When I use the code below, I get this output.…
javanewbie14
  • 13
  • 1
  • 5
-1
votes
1 answer

using JSSC to read from a serial port. How do I use inputstream

I am using JSSC to communicate with a serialport. The data comes in 1 byte at a time. New string is started by carriage return/newline. The string length is variable. (82 characters max) Each string begins with #. As the data comes in 1 byte at a…
javanewbie14
  • 13
  • 1
  • 5
-1
votes
2 answers

Java - Eclipse IDE throwing warnings and errors but the same errors do not appear in Netbeans

I am attempting to create an applet to replace my ActiveX control because it recently started having problems even though it has worked for years. All this will do is read data from a serial port, a barcode scanner in my case, and pass the data to…
Joe Kasavage
  • 503
  • 5
  • 13
-1
votes
1 answer

How to add Java JSSC library to Eclipse

I have problem with using JSSC library in Eclipse, I tried to add the files from a zip archive to my project, but can't even include jssc.SerialPortList. Files inside the zip are jssc.jar, COPYING and the folders src and javadoc. Can you please help…
R.Luu
  • 11
  • 1
  • 2
1 2 3 4 5 6 7
8