Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QModemSMSReader class provides SMS reading facilities for AT-based modems. More...
#include <QModemSMSReader>
Inherits QSMSReader.
The QModemSMSReader class provides SMS reading facilities for AT-based modems.
This class uses the AT+CPMS, AT+CMGL, AT+CMGR, AT+CMGD, AT+CNMI, and AT+CMGF commands from 3GPP TS 27.005.
QModemSMSReader implements the QSMSReader telephony interface. Client applications should use QSMSReader instead of this class to access the modem's incoming SMS message store.
See also QSMSReader.
Create a new modem-based SMS request object for service.
Destroy this modem-based SMS request object.
Returns the command that lists the contents of an SMS message store. Normally this is AT+CMGL=4, but some modems do not support the =4.
See also messageStore().
Returns the name of the SMS message store to scan for incoming messages. The default implementation returns SM. If this function returns an empty string, then the message store will not be changed from the modem's power-on default with an AT+CPMS command.
See also messageListCommand().
Process a SIM download message from the network. Modem vendor plug-ins should override this and send the message back to the SIM.
Normally SIM download messages are processed internally by the modem. This function is only called if the message ends up in the incoming SMS message store.
The default implementation composes a SMS-PP DOWNLOAD envelope, according to 3GPP TS 11.14, and sends it to the modem using the AT+CSIM command.
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |