Qtopia Home - Classes - Hierachy - Annotated - Functions - Licenses - Reference |
|
Proxy for managing an external serial interface. More...
#include <serialproxy.h>
Inherits QObject.
Most modern phones have an external serial interface, which is used to connect to a computer for the purposes of data calls, FAX transmissions, or synchronization with desktop applications.
The SerialProxy class assists with this process. It sets up a proxy connection between the external serial interface and an internal GSM 07.10 capable modem. The serial interface may be RS-232, USB, Bluetooth, or any other suitable connection protocol.
We assume that the cable that connects the phone to the computer is wired like a null modem, even if the "cable" is USB, Bluetooth, etc:
| TD | --> | RD |
| RD | <-- | TD |
| DTR | --> | DSR, DCD |
| CTS | <-- | RTS |
| RTS | --> | CTS |
| DSR, DCD | <-- | DTR |
If the cable isn't wired in this fashion, then the SerialProxy code may need to be modified for a specific device.
The external device must be configured in the Phone.conf file. For example:
[SerialDevices]
ExternalAccessDevice=/dev/ttyS1
ExternalAccessSpeed=115200
See also Qtopia Phone Classes.
This file is part of the Qtopia platform, copyright © 1995-2005 Trolltech, all rights reserved.
| Copyright © 2005 Trolltech | Trademarks | Qtopia version 2.2.0
|