Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The ModemEmulatorService class provides the ModemEmulator service. More...
#include <ModemEmulatorService>
Inherits QtopiaAbstractService.
The ModemEmulatorService class provides the ModemEmulator service.
The ModemEmulator service enables applications to register serial devices and TCP ports with the modem emulator to allow external devices to access Qt Extended via AT commands.
Add deviceName to the list of serial ports that are being monitored for AT sessions. The device name will be something like /dev/ttyS1:115200, indicating the kernel device and baud rate to use. Returns false if the device could not be opened.
See also removeSerialPort().
This is an overloaded member function, provided for convenience.
Add deviceName to the list of serial ports that are being monitored for AT sessions. The options parameter specifies additional options to configure the initial AT command settings.
See also removeSerialPort().
Add tcpPort to the list of TCP ports that are being monitored for incoming AT sessions. If localHostOnly is true, then only allow processes on the local host to connect. Returns false if the TCP port could not be bound.
This is typically used for debugging the AT interface. A program such as telnet can be used to connect to the port for issuing AT commands manually.
Applications can use this for non-debugging access if they connect to the port using QSerialSocket.
See also removeTcpPort().
This is an overloaded member function, provided for convenience.
Add tcpPort to the list of TCP ports that are being monitored for incoming AT sessions. If localHostOnly is true, then only allow processes on the local host to connect. Returns false if the TCP port could not be bound. The options parameter specifies additional options to configure the initial AT command settings.
See also removeTcpPort().
Remove deviceName from the list of serial ports that are being monitored for AT sessions. All active sessions associated with the device will be destroyed.
See also addSerialPort().
Remove tcpPort from the list of TCP ports that are being monitored for incoming AT sessions. If there are active sessions, they will continue until the peer closes the connection.
See also addTcpPort().
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |