0

I want to send a file from my PC to a remote device connected through serial port. So is there any API in java to send file over serial port?

Surjya Narayana Padhi
  • 7,741
  • 25
  • 81
  • 130
  • This question has been asked multiple times. see links/comments in the following stack overflow question http://stackoverflow.com/questions/900950/how-to-send-data-to-com-port-using-java – Kishore Jul 27 '11 at 18:32

3 Answers3

4

checkout javax.comm

Charles Ma
  • 47,141
  • 22
  • 87
  • 101
2

See also RXTX. It is widely used and includes straightforward examples.

trashgod
  • 203,806
  • 29
  • 246
  • 1,045
0

There is also JPeripheral.

Gili
  • 86,244
  • 97
  • 390
  • 689