Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2007
    Posts
    6
    Rep Power
    0

    Default Specifying devices in the javax.comm.properties file

    Specifying devices in the javax.comm.properties file

    Use the javax.comm.properties file to specify the devices and drivers that are available to the Java™ Communications API and whether they are parallel or serial. Do not change this file without a very clear understanding of its use.
    About this task
    The following properties must be defined:

    driver=<driver_name>
    serpath0=<serial_port_device>
    parpath0=<parallel_port_device>

    For example:

    # Implementation specific driver
    driver=com.sun.comm.LinuxDriver

    # Paths to server-side serial port devices
    serpath0 = /dev/ttyS0
    serpath1 = /dev/ttyS1

    # Paths to server-side parallel port devices
    parpath0 = /dev/parport0
    parpath1 = /dev/parport1

    For parallel port access, use /dev/parport<n>. /dev/lp<n> is not supported in Javacomm version 3.

  2. #2
    Join Date
    Aug 2007
    Posts
    6
    Rep Power
    0

    Default

    For more detail try this

    publib.boulder.ibm.com/infocenter/javasdk/v6r0/index.jsp?topic=/com.ibm.java.doc.user.lnx.60/user/javacomm_lnx_devices.html

Similar Threads

  1. Replies: 7
    Last Post: 07-12-2010, 05:24 PM
  2. javax/comm/SerialPortEvent
    By musiigedeo in forum Threads and Synchronization
    Replies: 9
    Last Post: 11-24-2008, 12:07 PM
  3. Replies: 3
    Last Post: 06-22-2008, 08:25 PM
  4. javax.comm package for COM ports
    By valery in forum Advanced Java
    Replies: 1
    Last Post: 08-07-2007, 04:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •