April 25, 2005 Using Serial on Motorola J2ME handsets WHITE PAPER
Using Serial on Motorola J2ME handsets By Motocoder staff erial connection is a commonly used connection to exchange data, and often used in real
Table1: GCF Serial Connection Types, by Profile GCF Interfaces Vendors Must Support? CLDC 1.0, 1.1 MIDP 1.0 MIDP 2.0 StreamConnection Yes X X
int comma = ports.indexOf(','); if (comma > 0) { // Parse the first port from the available ports list. port = ports.substr
StreamConnection commConn = (StreamConnection)Connector.open("comm:COM0";baudrate=115200"); For reading and writing to serial port, y
3. Please note that the system.getProperty() parameter values have changed to access the serial ports between the different handsets. MIDP 1.0: T720
Please refer to API Matrix of our handsets in the SDK documentation for details on which handsets support serial API. Conclusion Using serial I/O AP
Comments to this Manuals