Motorola MOTORAZR maxx V6 Developer's Manual page 184

Java me developer guide
Hide thumbs Also See for MOTORAZR maxx V6:
Table of Contents

Advertisement

Java ME Developer Guide
Chapter 28 - CommConnection Interface
28.3 Parameters
The first parameter will be a port identifier, which is a logical device name. These
port identifiers are The valid identifiers for a particular device and OS can be queried
through the
A list of ports, separated by commas, is returned which can be combined with a
comm: prefix as the URL string to open a serial port connection.device specific and
should be used with care.
The valid identifiers for a particular device and OS can be queried through the
ports, separated by commas, is returned which can be combined with a comm: prefix
as the URL string to open a serial port connection.
Any additional parameters will be separated by a semi-colon (;) without spaces. If a
particular parameter is not applicable to a particular port, the parameter will be ig-
nored. The port identifier cannot contain a semi-colon (;).
Legal parameters are defined by the definition of the parameters below. Illegal or un-
recognized parameters cause an
meter is supported by the device, it will be honored. If the value of a parameter is
not supported, a
quested, it is treated the same way that a
For example, if the baudrate requested is not supported, the system will substitute a
valid baudrate which can be discovered using the
Table 36 describes optional parameters.
Parameter
Default
baudrate
platform dependent The speed of the port.
bitsperchar
8
stopbits
1
parity
none
blocking
on
autocts
on
autorts
on
DRAFT - Subject to Change
method using the key microedition.commports.
method using the key
is thrown. If a baudrate parameter is re-
Description
The number bits per character(7 or 8).
The number of stop bits per char(1 or 2)
The parity can be odd, even, or none.
If on, wait for a full buffer when reading.
If on, wait for the CTS line to be on before
writing.
If on, turn on the RTS line when the input
buffer is not full. If off, the RTS line is always
. A list of
. If the value of a para-
method handles baudrates.
method.
[184/201]

Advertisement

Table of Contents
loading

Table of Contents