Developers guide

Chapter 15: Serial Ports
Overview
Psion Teklogix Mobile Devices SDK Developers Guide 155
15.1 Overview
The Mobile Devices SDK enables the detection of serial ports on Psion Teklogix computers. It
also provides information on these serial ports, and listeners for physical change events that arise
on these ports. For .NET, it also provides the ability to read and write data through the serial ports.
Serial ports can be dynamically added to, and removed from, Psion Teklogix computers. Also, on
some computers, serial ports can change their physical location. COM ports may be associated
with actual physical serial ports, or they may be assigned to a device that acts like a serial port,
such as an IrDA port, a USB port, or a Bluetooth device.
Serial ports can appear on (attach), or disappear from (detach), a Psion Teklogix computer dynam-
ically. For example, a new serial port appears when a 753x computer is placed into a charger with
a port replicator attachment, or if a modem card is inserted into a card slot. These ports can then
disappear if the Psion Teklogix computer is removed from the charger, or if the modem card is
removed from the card slot. Events are generated when serial ports attach or detach.
BSP ports 1-9 can be used to add a Bluetooth virtual COM port. For setup instructions see your
Psion Teklogix computers User Manual.
15.2 WORKABOUTPRO G2 Serial Port Assignments
Table 15.1 Default WORKABOUT PRO G2 Serial Port Assignment
Serial Port Default Assignment
BSP 1-9 Bluetooth virtual devices
COM0
COM1 On 100-pin expansion connector.
COM2 Virtual serial port of the tether port. No adaptor is required to use these lines.
COM3 Cannot be reassigned.
Internal scanner or imager.
COM4 Cannot be reassigned.
USB client port—used by ActiveSync.
COM5 RS-232 port A on port replicator, and serial port available on USB-to-serial
adaptor. This port is removed in suspend and restored on resume.
COM6 RS-232 port B on port replicator. This port is removed in suspend and restored
on resume.
COM7 Bluetooth Command Interpreter (blocked)
RS-232 port C on port replicator. This port is removed in suspend and restored
on resume.
COM8 Virtual port—for WWAN GSM
COM9 Cannot be reassigned.
IRCOMM port.
COM20 Cannot be reassigned.
Internal Bluetooth radio.
COM21 Built-in USB-Serial adaptor port. This port is removed in suspend and restored
on resume.