@@ -0,0 +1,750 @@
+/*%0D%0A * To change this license header, choose License Headers in Project Properties.%0D%0A * To change this template file, choose Tools %7C Templates%0D%0A * and open the template in the editor.%0D%0A */%0D%0Apackage com.trustedsolutions;%0D%0Aimport gnu.io.CommPortIdentifier;%0D%0Aimport java.util.Enumeration;%0D%0A/**%0D%0A *%0D%0A * @author loki.chuang%0D%0A */%0D%0Apublic class TestRxTx%0D%0A%7B%0D%0A    public static void main(String args%5B%5D)%0D%0A    %7B%0D%0A        System.out.println(%22RXTX TEST!%22);%0D%0A        %0D%0A        Enumeration ports=CommPortIdentifier.getPortIdentifiers();%0D%0A        while(ports.hasMoreElements())%0D%0A        %7B%0D%0A            CommPortIdentifier cpIdentifier = (CommPortIdentifier)ports.nextElement();%0D%0A            System.out.println(cpIdentifier.getName());%0D%0A        %7D%0D%0A        %0D%0A    %7D%0D%0A%7D%0D%0A

Add test for RXTX comport library