Motorola MOTORAZR maxx V6 Developer's Manual page 183

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
CommConnection
Interface
28.1 CommConnection
The CommConnection interface defines a logical serial port connection. A logical
serial port connection is a logical connection through which bytes are transferred
serially. This serial port is defined within the underlying operating system and may
not correspond to a physical RS-232 serial port. For example, IrDA IRCOMM ports
can be configured as a logical serial port within the operating system so it can act as
a logical serial port.
28.2 Accessing
The Comm port is accessed using a Generic Connection Framework string with an ex-
plicit port identifier and embedded configuration parameters, each separated with a
semi-colon (;). Only one application may be connected to a particular serial port at a
given time. A
is thrown if an attempt is made to open the
serial port with
if the connection is already open.
A URI with the type and parameters is used to open the connection. The scheme, as
defined in RFC 2396, will be the following:
DRAFT - Subject to Change
[183/201]

Advertisement

Table of Contents
loading

Table of Contents