-1

I am trying to read some data of GPS from COM1 port. I have to show a message that the device is not connected if the gps device is not attached with the com port. I am using rxtxComm.jar, rxtxSerial.dll, gpsinput.jar in my project.

I am also facing problem from reading GPS data from com port.In my input stream no data is coming but the gps device is throughing data at the com port (I checked it by using hyper terminal).

code

Deepu
  • 47
  • 1
  • 3
  • Are you connecting via the com port (using javax.comm) or via USB using a java/USB API? – Crollster Jun 10 '11 at 11:15
  • 2
    Down voters: please give this (brand new) user a chance to update this question before down voting it to oblivion. Otherwise you are driving people away from this community. – willjcroz Jun 10 '11 at 11:19
  • he probably missed to paste the code. he probably would come back and post it – Suraj Chandran Jun 10 '11 at 11:21

1 Answers1

1

Please refer to this.

How to send data to COM PORT using JAVA?

Community
  • 1
  • 1
Talha Ahmed Khan
  • 15,043
  • 10
  • 42
  • 49