[Linux-programlama] javax.comm

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Kemal Atik (kemalatik@hotmail.com)
Date: Sun 15 May 2005 - 16:25:37 EEST


Merhaba,

Internette dolasirken rastladim umarim isini gorur.
java.sun.com dan yaptigi bir alinti ile java comm api sinin Sun tarafindan yazilmis Linux implementasyonu olmadigini soyluyor, ancak baska birisi tarafindan yazilan bir yama mevcut. Detaylar asagida.

http://www.sitepoint.com/forums/showthread.php?threadid=176946

Originally Posted by pippo
@Jppr
Thanks for your infos.

I read about javax.comm me too but it runs on windows only, right ?
Does it run on Linux too ?

> It can open and close a serial connection; send and
> receive packets to the serial port.
Yes, the code would be good.

 From the FAQ of the comm package of Sun:
http://java.sun.com/products/javaco...faqs/index.html

"Q: Is there a linux version of the Java communications API?

A: We do not provide a linux implementation. But Kevin Hester has written Java communications API drivers for linux and uses our CommPort driver loading scheme to load his own gnu.io.RXTXCommDriver class. He gave us permission to disclose his web page:

http://www.geeksville.com/~kevinh/linuxcomm.html
http://wass.homelinux.net/howtos/Comm_How-To.shtml "

Below is the code for two files: WTConnection opens and closes the port, while WTCommunication can send ..............

---------------------------------------------------------------------------------------------
merhaba;

java kullanarak rs-232 den veri okumak istiyorum. bunun içinde
javax.comm apisinin kullanilmasi gerekiyormus. fakat javanin sitesinde
linux için api yoktu. windows ve solari için vardi. bende windows için
olani indirip bi windowsta denedim. oda olmadi zaten.

her neyse linux icin bu sorunu nasil hallederiz. yani javadan seri portu
nasil okuruz.

saygi, sevgi.

_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.