Motorola maxx V6 사용자 설명서

다운로드
페이지 201
28.6 Port Naming Convention
Logical port names can be defined to match platform naming conventions using any
combination of alphanumeric characters. Ports will be named consistently among the
implementations of this class according to a proposed convention. VM implementa-
tions will follow the following convention:
Port names contain a text abbreviation indicating port capabilities
followed by a sequential number for the port. The following device name
types will be used:
 COM# - COM is for RS-232 ports and # is a number assigned to the
port
 IR# - IR is for IrDA IRCOMM ports and # is a number assigned to the
port
The naming scheme allows API users to determine the type of port to use. For ex-
ample, if an application "beams" a piece of data, the application will look for IR#
ports for opening the connection.
28.7 Method Summary
Table 38 describe the CommConnection method summary for MIDP 2.0.
Method Summary
int
65?
Gets the baudrate for the serial port connection
int
65?    5
Sets the baudrate for the serial port connection
Table 38 Method Summary
Java ME Developer Guide
Chapter 28 - CommConnection Interface
[187/201]
DRAFT - Subject to Change