Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QSimEnvelope class specifies the contents of a SIM ENVELOPE message. More...
#include <QSimEnvelope>
The QSimEnvelope class specifies the contents of a SIM ENVELOPE message.
Envelopes are specified by 3GPP TS 11.14 and are used for a variety of purposes when communicating with SIM's, including:
The particular type of envelope is specified by the type() function. Other functions, such as menuItem(), requestHelp(), etc, are used to specify type-specific parameters for the envelope.
See also QSimToolkit, QSimCommand, and QSimTerminalResponse.
This enum defines the type of event for a EventDownload envelope, according to 3GPP TS 11.14, section 12.25.
Constant | Value | Description |
---|---|---|
QSimEnvelope::NoEvent | -1 | No event type defined. |
QSimEnvelope::MTCall | 0 | Mobile-terminated call event. |
QSimEnvelope::CallConnected | 1 | Call connected event. |
QSimEnvelope::CallDisconnected | 2 | Call disconnected event. |
QSimEnvelope::LocationStatus | 3 | Location status event. |
QSimEnvelope::UserActivity | 4 | User activity event. |
QSimEnvelope::IdleScreenAvailable | 5 | Idle screen available event. |
QSimEnvelope::CardReaderStatus | 6 | Additional card reader status event. |
QSimEnvelope::LanguageSelection | 7 | Language selection event. |
QSimEnvelope::BrowserTermination | 8 | Browser termination event. |
QSimEnvelope::DataAvailable | 9 | Channel data available event. |
QSimEnvelope::ChannelStatus | 10 | Channel status event. |
This enum defines the type of QSimEnvelope request to be sent to a SIM.
Constant | Value | Description |
---|---|---|
QSimEnvelope::NoEnvelope | -1 | The envelope type has not yet been set. |
QSimEnvelope::SMSPPDownload | 0xD1 | The envelope is being used for an SMS-PP download. |
QSimEnvelope::CellBroadcastDownload | 0xD2 | The envelope is being used for a cell broadcast download. |
QSimEnvelope::MenuSelection | 0xD3 | The envelope is being used for a SIM toolkit menu selection. |
QSimEnvelope::CallControl | 0xD4 | The envelope is being used for call control. |
QSimEnvelope::MOSMSControl | 0xD5 | The envelope is being used for mobile-originated short message control. |
QSimEnvelope::EventDownload | 0xD6 | The envelope is being used for event download. |
QSimEnvelope::TimerExpiration | 0xD7 | The envelope is being used to report timer expiration. |
Construct a new envelope object with default parameters.
Construct a new envelope object as a copy of value.
Destruct an envelope object.
Adds an extension field to the data from extensionData(). The field will have the specified tag and contents given by value.
See also extensionField().
Returns the destination device that will receive the envelope. The default value is QSimCommand::SIM.
Applies to: all commands.
See also setDestinationDevice().
Returns the event type for EventDownload envelopes. The default value is NoEvent.
Applies to: EventDownload
See also setEvent().
Returns the extension data for this envelope. The extension data is appended after all other fields, and consists of zero or more BER tag-length-value field specifications.
See also setExtensionData() and extensionField().
Returns the contents of an extension field. The tag is an 8-bit value, from 3GPP TS 11.14, that specifies the particular field the caller is interested in. The most significant bit of tag is ignored when searching for the field, as it contains the "must comprehend" status from 3GPP TS 11.14, and is not important for locating the desired field.
This is a simpler method than extensionData() for accessing values within the extension data.
See also addExtensionField().
Returns an envelope object corresponding to the data in pdu. The data is decoded as described in 3GPP TS 11.14.
See also toPdu().
Returns the menu item to be selected. The default value is zero.
Applies to: MenuSelection
See also setMenuItem().
Returns true if help has been requested for this menu selection; false if the menu item is being selected normally. The default value is false.
Applies to: MenuSelection
See also setRequestHelp().
Sets the destination device that will receive the envelope to value.
Applies to: all commands.
See also destinationDevice().
Sets the event type for EventDownload envelopes to value.
Applies to: EventDownload
See also event().
Sets the extension data for this envelope to value. The extension data is appended after all other fields, and consists of zero or more BER tag-length-value field specifications.
See also extensionData() and addExtensionField().
Sets the menu item to be selected to value.
Applies to: MenuSelection
See also menuItem().
Sets the help request flag to value. If value is true, then help has been requested for this menu selection. If value is false, then the menu item is being selected normally.
Applies to: MenuSelection
See also requestHelp().
Sets the source device that generated the envelope to value.
Applies to: all commands.
See also sourceDevice().
Sets the type of this envelope to value.
See also type().
Returns the source device that generated the envelope. The default value is QSimCommand::ME.
Applies to: all commands.
See also setSourceDevice().
Returns the PDU form of this envelope, encoded as described in 3GPP TS 11.14.
See also fromPdu().
Returns the type of this envelope.
See also setType().
Copy the QSimEnvelope value.
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |