Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

ExternalAccess Class Reference
[QtTelephonyModule]

The ExternalAccess class starts the modem emulator on a serial port to allow external access via a serial cable. More...

    #include <ExternalAccess>

Inherits QObject.

Public Functions

Additional Inherited Members


Detailed Description

The ExternalAccess class starts the modem emulator on a serial port to allow external access via a serial cable.

Many 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 Modem Emulator assists with supporting such interfaces.

To enable the modem emulator to use an external serial interface, the Phone.conf file should be placed under the etc/default/Trolltech directory on the vendor system, with contents such as the following:

    [SerialDevices]
    ExternalAccessDevice=/dev/ttyS1:115200

where /dev/ttyS1 should be replaced with the name of the serial device to listen to, and 115200 should be replaced with the desired baud rate.

If this option is configured, the modem emulator will be launched automatically once the phone server has been initialized. If this option is not configured, then the modem emulator will only be launched when other components in the system request it (for example, Bluetooth hands-free kits).

This class is part of the Qt Extended server and cannot be used by other Qt Extended applications.

See also Modem Emulator.


Member Function Documentation

ExternalAccess::ExternalAccess ( QObject * parent = 0 )

Create the external access task and attach it to parent.

ExternalAccess::~ExternalAccess ()

Destroy the external access task.


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3