Motorola maxx V6 manual Port Naming Convention, Method Summary, Draft Subject to Change 187/201

Models: maxx V6

1 201
Download 201 pages 31.32 Kb
Page 187
Image 187

Java ME Developer Guide

Chapter 28 - CommConnection Interface

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

￿￿￿￿￿￿￿￿￿￿￿￿￿

 

Gets the baudrate for the serial port connection

int

￿￿￿￿￿￿￿￿￿￿￿ ￿￿￿￿ ￿￿￿￿￿￿￿￿￿

 

Sets the baudrate for the serial port connection

 

Table 38 Method Summary

DRAFT - Subject to Change [187/201]

Page 187
Image 187
Motorola maxx V6 manual Port Naming Convention, Method Summary, Draft Subject to Change 187/201