javax.comm是sun公司为开发独立设备应用程序扩展的API
http://www.oracle.com/technetwork/java/index-jsp-141752.html
看下官方的Introduction
引用
The Java Communications 3.0 API is a Java extension that facilitates developing platform-independent communications applications for technologies such as Smart Cards, embedded systems, and point-of-sale devices, financial services devices, fax, modems, display terminals, and robotic equipment.
API serial features:
Enumeration of ports (administrator and user configurable port mapping)
Port configuration (baud rate, speed, stop bits, parity)
Access to EIA232 standard DTR, CD, CTS, RTS and DSR signals
Transfer of data over RS-232 ports
Hardware and software flow-control options
Receive-buffer threshold control
Asynchronous event option for notification of:
Data available on an RS-232 port
Port hardware line level changes
Port ownership changes within a single JVM
分享到:
相关推荐
The Java Communications API is a Java extension that provides access to a variety of communication protocols and interfaces for communication between applications and devices. Java Communications API ...
The Java Communications API is a Java extension that provides access to a variety of communication protocols and interfaces for communication between applications and devices. Java Communications API...
The Java Communications API is a Java extension that provides access to a variety of communication protocols and interfaces for communication between applications and devices. Java Communications API...
在Java中实现RS232通信通常涉及到Java Communications API(也称CommAPI),这是一个用于访问和控制串行和并行端口的Java库。 首先,Java Communications API是Sun Microsystems提供的一个开源库,它允许Java开发者...
Java Comm API(也称为Java Communications API)是Java平台的一部分,提供了与串行和并行端口交互的接口和类。这个API主要由两个包组成:`javax.comm`和`com.sun.comm`。在`javacomm20-win32`中,`javax.comm`包包...
Java通信API(Java Communication API,通常简称为javax.comm)是Java平台上的一个接口,用于创建与串行和并行端口交互的程序。这个API使得Java开发者能够方便地访问和控制硬件设备,如打印机、调制解调器、条形码...
Java本身并不直接支持底层硬件访问,但它可以通过Java Communications API(JavaComm)或第三方库如RXTX来实现串口通信。JavaComm提供了一个API,允许Java程序通过串行和并行端口发送和接收数据,而RXTX是一个开源的...
在Java中,串口通信可以通过Java Communications API来实现,该API定义了访问串行端口的标准方式。以下是关于Java串口通信的一些关键知识点。 首先,Java Communications API允许Java应用程序通过串行端口与连接的...
在Java中,我们可以使用Java Communications API (CommAPI) 或者第三方库如RXTX来与USB设备进行交互。这些API提供了串行通信的功能,因为大多数USB扫描枪都是以串行端口的形式连接到电脑上的。 1. **Java ...
在Java中实现串口通信通常需要使用Java Communications API,这是一个非标准的API,因此可能不会包含在标准的Java Development Kit (JDK)中。以下是对Java串口通信程序及其相关知识点的详细解释: 1. **Java ...
在Java中,串口通信通常通过Java Communications API(也称为CommAPI)来实现,这是一个用于访问串行端口的API,允许Java程序与外部设备进行双向数据传输。 Java Communications API包含在Java的optional packages...
Java Communication API 串口通讯 COMM API is a Java extension providing access to RS-232 serial ports and IEEE-1284 parallel ports (SPP mode). Sun Ray platform support is provided. Documentation and...
这通常涉及到Java的USB API,如Java Communications API(JSR 80)或更具体的libusb4java,这是一个Java绑定库,用于访问libusb库,提供跨平台的USB设备访问。通过这些API,我们可以枚举系统中的USB设备,获取设备...
在Java中,可以使用Java Communications API (CommAPI) 或第三方库如RXTX来实现串口通信。RXTX是一个开源的Java库,它提供了对串行和并行通信的直接支持,不受Java标准版API的限制。 描述中还提到了“串口调试助手...
Java串口编程API包是Java平台上进行串行通信的关键工具,它允许开发者通过Java程序控制串行端口,实现与外部设备的交互。这个API包包括了几个关键组件,如`comm2.0.jar`、`win32com.dll`以及`javax.comm.properties`...
把javax.comm.properties复制到java.home/lib下;把comm.jar添加到你classPath下。前面两个都是非常重要的。 Java,comm是专门为Java读取串口信息的而编写的API,这个既可以读取到串口的信息,也可以进行相关数据的...
1. **使用Java Communications API**:如果你的硬件设备通过串口与计算机连接,你可以使用Java Communications API来发送和接收数据。首先需要安装API并确保驱动正确配置。然后创建`CommPortIdentifier`对象来识别你...
Java Communications API(JavaComm)是Java官方提供的串口通讯接口,它允许开发者访问和控制计算机的串行端口。在`javax.comm`包中,有两个核心类:`CommPortIdentifier`和`SerialPort`。`CommPortIdentifier`用于...
这个包可能包含了Java Communications API(JavaComm)的64位版本,这是一个用于开发串行和并行通信应用程序的Java接口。JavaComm API使得Java程序员能够方便地访问计算机的串行端口,进行数据传输和设备控制,比如...