GlassTerm: glass teletype terminal
GlassTerm is a terminal application with configurable handshaking that illustrates the use of the Serial Communications API.
The glass teletype application performs two simple functions:
Read any key presses and send the characters to the serial port.
Receive any incoming characters from the serial port and display them on screen.
In order to see the application working, you must make a suitable serial port connection. A simple way is to connect a PC and the target phone, and run the application on both machines simultaneously. (Before doing this, make sure to close down any other applications using the serial port on the PC, and set the phone's Link To Desktop option to Off). Characters typed on one machine are then echoed to the application on the other.
RComm: serial port
RCommServ: Comms server
TCommCaps: serial port capabilities (in package
TCommConfig: serial port configuration (in package
TRequestStatus: asynchronous request status
TSerialInfo: serial protocol information