public static int sendChar(byte txChar) throws IOException {
  log.trace(String.format("sending char:%02X",(byte)txChar));
  int result=sendChar(serialPortDescriptor,(char)txChar);
  if (result < 0) {
    throw new IOException(String.format("sendChar:%d",result));
  }
  return result;
}

public static int sendChar ( byte txChar ) throws IOException { log . trace ( String . format ( "sending char:%02X" , ( byte ) txChar ) ) ; int result = sendChar ( serialPortDescriptor , ( char ) txChar ) ; if ( result < 0 ) { throw new IOException ( String . format ( "sendChar:%d" , result ) ) ; } return result ; }
send a character to com selectedport
