Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QSimGenericAccess class provides an interface to send commands directly to a SIM. More...
#include <QSimGenericAccess>
Inherits QCommInterface.
Inherited by QModemSimGenericAccess.
The QSimGenericAccess class provides an interface to send commands directly to a SIM.
Use of this class usually results in an AT+CSIM command being sent to the modem. The commands must be in the format described in 3GPP TS 51.011.
Sending generic access commands to a SIM bypasses the normal mechanisms that are used to access SIM files, SIM application toolkit, operator data, etc. This class should therefore be used only for commands that are not already covered by other classes such as QSimFiles, QBinarySimFile, QRecordBasedSimFile, and QSimToolkit.
See also QSimFiles, QBinarySimFile, QRecordBasedSimFile, and QSimToolkit.
Construct a new SIM generic access object for service and attach it to parent. The object will be created in client mode if mode is Client, or server mode otherwise.
If service is empty, this class will use the first available service that supports SIM generic access. If there is more than one service that supports SIM generic access, the caller should enumerate them with QCommServiceManager::supports() and create separate QSimGenericAccess objects for each.
See also QCommServiceManager::supports().
Destroy this generic SIM access object.
Sends data to the SIM as a generic access command and returns a unique request identifier for it. The command has the format described in 3GPP TS 51.011. The telephony service will emit the response() signal once the command has completed.
See also response().
This is an overloaded member function, provided for convenience.
Sends data to the SIM as a generic access command. The reqid will be returned via the response() signal to help match up commands and responses. The command has the format described in 3GPP TS 51.011.
See also response().
Signal that is emitted to report the result of issuing the request reqid via command(). If result is QTelephony::Ok, then data is the data returned by the SIM in response to the command. The response has the format described in 3GPP TS 51.011.
See also command().
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |