<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://rxtx.qbang.org/wiki/skins/common/feed.css?207"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Rxtx - User contributions [en]</title>
		<link>http://rxtx.qbang.org/wiki/index.php/Special:Contributions/Vicne</link>
		<description>From Rxtx</description>
		<language>en</language>
		<generator>MediaWiki 1.15.4</generator>
		<lastBuildDate>Sun, 20 Sep 2026 20:10:34 GMT</lastBuildDate>
		<item>
			<title>Projects</title>
			<link>http://rxtx.qbang.org/wiki/index.php/Projects</link>
			<description>&lt;p&gt;Vicne:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page lists (some of) the projects that are using RXTX. Links are either to the projects home web pages, or to a Wiki page here that talks about how the project uses RXTX. See also the [http://users.frii.com/jarvi/rxtx/projects.html original RXTX projects page].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background: #dddddd;&amp;quot;&lt;br /&gt;
! Project&lt;br /&gt;
! Description&lt;br /&gt;
! Source available&lt;br /&gt;
! License&lt;br /&gt;
|-&lt;br /&gt;
| [http://jmri.sourceforge.net/ JMRI]&lt;br /&gt;
| Software for model railroads&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| [http://www.bikeXperience.de BikeXperience] &lt;br /&gt;
| Software for manage of cycling computers (German Site)&lt;br /&gt;
| &amp;lt;center&amp;gt;No&amp;lt;/center&amp;gt;&lt;br /&gt;
| &amp;lt;center&amp;gt;Donateware&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [http://home.arcor.de/i.fischer/modelledit/ ModellEditor]&lt;br /&gt;
| Software to edit models in r/c-transmitter.&lt;br /&gt;
| &amp;lt;center&amp;gt;No&amp;lt;/center&amp;gt;&lt;br /&gt;
| &amp;lt;center&amp;gt;Donateware&amp;lt;/center&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| [http://www.code-skin.com/c2oooProg.html C2oooProg]&lt;br /&gt;
| Flash programmer for TI C2000 DSPs.&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| [http://www.sump.org/projects/analyzer/ Sump's Logic Analyzer]&lt;br /&gt;
| Home made FPGA based analyzer with Java client.&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| [http://triptracker.sourceforge.net/ Trip Tracker]&lt;br /&gt;
| A GPS based real time position tracking client-server system.&lt;br /&gt;
| &amp;lt;center&amp;gt;Yes&amp;lt;/center&amp;gt;&lt;br /&gt;
| &amp;lt;center&amp;gt;GPL&amp;lt;/center&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| [http://www.lavrsen.dk/twiki/bin/view/Open2300/OpenJ2300 OpenJ2300]&lt;br /&gt;
| Software for driving the Lacross 23** series weather stations.&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| [http://adtpro.sourceforge.net/ ADTPro]&lt;br /&gt;
| Communications package for transfering Apple II-era diskettes and hard drives.&lt;br /&gt;
| &amp;lt;center&amp;gt;Yes&amp;lt;/center&amp;gt;&lt;br /&gt;
| &amp;lt;center&amp;gt;GPL&amp;lt;/center&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| [http://a2gameserver.berlios.de/ Apple Game Server]&lt;br /&gt;
| Sends games directly to an old Apple // computer without floppies.&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| [http://vars.sourceforge.net/ Video Annotation and Reference System]&lt;br /&gt;
| Software for creating and managing video annotations.&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| [http://code.google.com/p/vcr4j/ VCR4J]&lt;br /&gt;
| A Java API for communicating with video cassette recorders&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| [http://remotej.sourceforge.net/ Remotej]&lt;br /&gt;
| RemoteJ is an application for adding remote control capability to your k750 like mobile phone.&lt;br /&gt;
| &amp;lt;center&amp;gt;Yes&amp;lt;/center&amp;gt;&lt;br /&gt;
| &amp;lt;center&amp;gt;GPL&amp;lt;/center&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| [http://www.jcontrol.org// JControl]&lt;br /&gt;
| Java platform optimized for measurement, control and automation applications.&lt;br /&gt;
| &amp;lt;center&amp;gt;No&amp;lt;/center&amp;gt;&lt;br /&gt;
| &amp;lt;center&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| [http://gpsmap.sourceforge.net/ GPSMap]&lt;br /&gt;
| Application that is able to display maps like in an atlas and show your position by the use of a gps device. &lt;br /&gt;
| &amp;lt;center&amp;gt;Yes&amp;lt;/center&amp;gt;&lt;br /&gt;
| &amp;lt;center&amp;gt;LGPL&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [http://servomaster.sourceforge.net/ ServoMaster]&lt;br /&gt;
| Project dedicated to providing a consistent hardware independent way of controlling the servos with a PC.&lt;br /&gt;
| &amp;lt;center&amp;gt;Yes&amp;lt;/center&amp;gt;&lt;br /&gt;
| &amp;lt;center&amp;gt;GPL/LGPL&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [http://jreceiver.sourceforge.net/ JReceiver]&lt;br /&gt;
| Servlet-based audio server&lt;br /&gt;
| &amp;lt;center&amp;gt;Yes&amp;lt;/center&amp;gt;&lt;br /&gt;
| &amp;lt;center&amp;gt;BSD&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [http://www.javapos.com/jcl.html JavaPOS]&lt;br /&gt;
| Solution for supporting multiple POS configurations.&lt;br /&gt;
| &amp;lt;center&amp;gt;Yes&amp;lt;/center&amp;gt;&lt;br /&gt;
| &amp;lt;center&amp;gt;CPL&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [http://jcrystal.com/steffenweber/JAVA/ipc/IPR.html IPR/IPC]&lt;br /&gt;
| IPR is a companion program to IPC. IPR is a software for controlling our MAC-Science IP-reader.&lt;br /&gt;
| &amp;lt;center&amp;gt;No&amp;lt;/center&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| [http://www.itl.nist.gov/div897/ctg/aroma/pages/projector/proj3.html The Aroma Project]&lt;br /&gt;
| Remote Projector Control/Display Solution.&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| [http://rossum.sourceforge.net/ The Rossum Project]&lt;br /&gt;
| Open-source robotics project &lt;br /&gt;
| &amp;lt;center&amp;gt;Yes&amp;lt;/center&amp;gt;&lt;br /&gt;
| &amp;lt;center&amp;gt;GPL&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [http://www.iau.dtu.dk/~lego/lego3/rcxcomm/ rcxcomm]&lt;br /&gt;
| Communication package for leJOS&lt;br /&gt;
| &amp;lt;center&amp;gt;No&amp;lt;/center&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| [http://www.linuxha.com/ Linux Home Automation]&lt;br /&gt;
| Home automation and home control (HA) Software &lt;br /&gt;
| &amp;lt;center&amp;gt;Yes&amp;lt;/center&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| [http://jusb.sourceforge.net/?selected=types jUSB]&lt;br /&gt;
| Java API for USB.&lt;br /&gt;
| &amp;lt;center&amp;gt;Yes&amp;lt;/center&amp;gt;&lt;br /&gt;
| &amp;lt;center&amp;gt;GPL/LGPL&amp;lt;/center&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| [http://bt747.free.fr BT747]&lt;br /&gt;
| Software for configuring, downloading data from and conversion thereof related to MTK Chipset GPS Loggers.&lt;br /&gt;
| &amp;lt;center&amp;gt;Yes&amp;lt;/center&amp;gt;&lt;br /&gt;
| &amp;lt;center&amp;gt;GPL V3&amp;lt;/center&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| [http://taiyaki.googlecode.com Taiyaki]&lt;br /&gt;
| Home automation solution working with an iPhone&lt;br /&gt;
| &amp;lt;center&amp;gt;Yes&amp;lt;/center&amp;gt;&lt;br /&gt;
| &amp;lt;center&amp;gt;GPL&amp;lt;/center&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| [http://sourceforge.net/projects/tolk Tolk]&lt;br /&gt;
| RFID Sensor Network - developers framework&lt;br /&gt;
| &amp;lt;center&amp;gt;Yes&amp;lt;/center&amp;gt;&lt;br /&gt;
| &amp;lt;center&amp;gt;BSD&amp;lt;/center&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| [http://sourceforge.net/projects/modbuspal ModbusPal]&lt;br /&gt;
| Realistic Modbus slaves simulator &lt;br /&gt;
| &amp;lt;center&amp;gt;Yes&amp;lt;/center&amp;gt;&lt;br /&gt;
| &amp;lt;center&amp;gt;GPL&amp;lt;/center&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| [http://tlcdcemu.sourceforge.net TLCDCemu]&lt;br /&gt;
| Tuner List CD Changer Emulator for Renault cars &lt;br /&gt;
| &amp;lt;center&amp;gt;Yes&amp;lt;/center&amp;gt;&lt;br /&gt;
| &amp;lt;center&amp;gt;GPL&amp;lt;/center&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note: when adding you project to the list, please try to keep the description short and to the point. It should not be longer than one sentence or line, in order to keep the formatting of the table consistent. Also note this page does not currently list all projects on the [http://users.frii.com/jarvi/rxtx/projects.html original RXTX projects page], so if you have time please copy over the ones which aren't listed here yet.&lt;/div&gt;</description>
			<pubDate>Tue, 21 Apr 2009 19:45:42 GMT</pubDate>			<dc:creator>Vicne</dc:creator>			<comments>http://rxtx.qbang.org/wiki/index.php/Talk:Projects</comments>		</item>
		<item>
			<title>Two way communcation with the serial port</title>
			<link>http://rxtx.qbang.org/wiki/index.php/Two_way_communcation_with_the_serial_port</link>
			<description>&lt;p&gt;Vicne:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Below is a simple program that shows how to open a connection to a serial device and then interact with it (receiving data and sending data). One thing to note is that the package gnu.io is used instead of javax.comm, though other than the change in package name the API follows the [http://java.sun.com/products/javacomm/ Java Communication API]. To find the names of the available ports, see the [[Discovering comm ports]] example.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
import gnu.io.CommPort;&lt;br /&gt;
import gnu.io.CommPortIdentifier;&lt;br /&gt;
import gnu.io.SerialPort;&lt;br /&gt;
&lt;br /&gt;
import java.io.FileDescriptor;&lt;br /&gt;
import java.io.IOException;&lt;br /&gt;
import java.io.InputStream;&lt;br /&gt;
import java.io.OutputStream;&lt;br /&gt;
&lt;br /&gt;
public class TwoWaySerialComm&lt;br /&gt;
{&lt;br /&gt;
    public TwoWaySerialComm()&lt;br /&gt;
    {&lt;br /&gt;
        super();&lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    void connect ( String portName ) throws Exception&lt;br /&gt;
    {&lt;br /&gt;
        CommPortIdentifier portIdentifier = CommPortIdentifier.getPortIdentifier(portName);&lt;br /&gt;
        if ( portIdentifier.isCurrentlyOwned() )&lt;br /&gt;
        {&lt;br /&gt;
            System.out.println(&amp;quot;Error: Port is currently in use&amp;quot;);&lt;br /&gt;
        }&lt;br /&gt;
        else&lt;br /&gt;
        {&lt;br /&gt;
            CommPort commPort = portIdentifier.open(this.getClass().getName(),2000);&lt;br /&gt;
            &lt;br /&gt;
            if ( commPort instanceof SerialPort )&lt;br /&gt;
            {&lt;br /&gt;
                SerialPort serialPort = (SerialPort) commPort;&lt;br /&gt;
                serialPort.setSerialPortParams(57600,SerialPort.DATABITS_8,SerialPort.STOPBITS_1,SerialPort.PARITY_NONE);&lt;br /&gt;
                &lt;br /&gt;
                InputStream in = serialPort.getInputStream();&lt;br /&gt;
                OutputStream out = serialPort.getOutputStream();&lt;br /&gt;
                &lt;br /&gt;
                (new Thread(new SerialReader(in))).start();&lt;br /&gt;
                (new Thread(new SerialWriter(out))).start();&lt;br /&gt;
&lt;br /&gt;
            }&lt;br /&gt;
            else&lt;br /&gt;
            {&lt;br /&gt;
                System.out.println(&amp;quot;Error: Only serial ports are handled by this example.&amp;quot;);&lt;br /&gt;
            }&lt;br /&gt;
        }     &lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    /** */&lt;br /&gt;
    public static class SerialReader implements Runnable &lt;br /&gt;
    {&lt;br /&gt;
        InputStream in;&lt;br /&gt;
        &lt;br /&gt;
        public SerialReader ( InputStream in )&lt;br /&gt;
        {&lt;br /&gt;
            this.in = in;&lt;br /&gt;
        }&lt;br /&gt;
        &lt;br /&gt;
        public void run ()&lt;br /&gt;
        {&lt;br /&gt;
            byte[] buffer = new byte[1024];&lt;br /&gt;
            int len = -1;&lt;br /&gt;
            try&lt;br /&gt;
            {&lt;br /&gt;
                while ( ( len = this.in.read(buffer)) &amp;gt; -1 )&lt;br /&gt;
                {&lt;br /&gt;
                    System.out.print(new String(buffer,0,len));&lt;br /&gt;
                }&lt;br /&gt;
            }&lt;br /&gt;
            catch ( IOException e )&lt;br /&gt;
            {&lt;br /&gt;
                e.printStackTrace();&lt;br /&gt;
            }            &lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    /** */&lt;br /&gt;
    public static class SerialWriter implements Runnable &lt;br /&gt;
    {&lt;br /&gt;
        OutputStream out;&lt;br /&gt;
        &lt;br /&gt;
        public SerialWriter ( OutputStream out )&lt;br /&gt;
        {&lt;br /&gt;
            this.out = out;&lt;br /&gt;
        }&lt;br /&gt;
        &lt;br /&gt;
        public void run ()&lt;br /&gt;
        {&lt;br /&gt;
            try&lt;br /&gt;
            {                &lt;br /&gt;
                int c = 0;&lt;br /&gt;
                while ( ( c = System.in.read()) &amp;gt; -1 )&lt;br /&gt;
                {&lt;br /&gt;
                    this.out.write(c);&lt;br /&gt;
                }                &lt;br /&gt;
            }&lt;br /&gt;
            catch ( IOException e )&lt;br /&gt;
            {&lt;br /&gt;
                e.printStackTrace();&lt;br /&gt;
            }            &lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    public static void main ( String[] args )&lt;br /&gt;
    {&lt;br /&gt;
        try&lt;br /&gt;
        {&lt;br /&gt;
            (new TwoWaySerialComm()).connect(&amp;quot;COM3&amp;quot;);&lt;br /&gt;
        }&lt;br /&gt;
        catch ( Exception e )&lt;br /&gt;
        {&lt;br /&gt;
            // TODO Auto-generated catch block&lt;br /&gt;
            e.printStackTrace();&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</description>
			<pubDate>Wed, 12 Jul 2006 21:35:50 GMT</pubDate>			<dc:creator>Vicne</dc:creator>			<comments>http://rxtx.qbang.org/wiki/index.php/Talk:Two_way_communcation_with_the_serial_port</comments>		</item>
	</channel>
</rss>