Results 1 to 2 of 2
- 05-23-2009, 06:27 AM #1
Member
- Join Date
- Aug 2007
- Posts
- 6
- Rep Power
- 0
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.
- 05-23-2009, 06:28 AM #2
Member
- Join Date
- Aug 2007
- Posts
- 6
- Rep Power
- 0
Similar Threads
-
javax.comm:Error instantiating class com.sun.comm.Win32Driver
By bbq in forum Advanced JavaReplies: 7Last Post: 07-12-2010, 04:24 PM -
javax/comm/SerialPortEvent
By musiigedeo in forum Threads and SynchronizationReplies: 9Last Post: 11-24-2008, 11:07 AM -
How to Access Local File Systems from J2ME devices using FileConnection API
By ndolle in forum CLDC and MIDPReplies: 3Last Post: 06-22-2008, 07:25 PM -
javax.comm package for COM ports
By valery in forum Advanced JavaReplies: 1Last Post: 08-07-2007, 03:03 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks