Envelope Command Tutorial

This tutorial describes how to use the envelope commands for the SIM Application Toolkits.

The envelope commands are useful in the communication between the SAT engine and SAT applications in the ICC.

Procedure

  1. Use GetMeSideSatProfile() to get the supported SAT features by the device.

    The SAT engine must call ClientSatprofileIndicator() to get the features supported by the SAT applications. The SAT profile is passed between the SAT applications and SAT engine in a TSatProfileV6 object.

  2. Use MenuSelection() to send the menu item selected by the user in the device .

    The SAT engine displays the options to the user and when the user selects an option the menu item is sent to the SAT applications in the ICC. The menu item information is sent in a TMenuSelectionV1 object.

  3. Use NotifyCallControlRequest() to get the notifications of any changes made to a call or a Packet Data Protocol (PDP) context by the SAT applications in the ICC. The call and PDP context are for outbound connections.

    The TSY returns the call control information in a TCallControlV2 descriptor for the changes made by a call. The call control information is returned in a TCallControlV5 descriptor for the changes made by a PDP context. TCallControlV6 has a parameter to specify the originator of the call.

  4. Use NotifyMoSmControlRequest() to get the notification of any changes made to an outbound SMS by the SAT applications.

    The SAT engine requests the TSY to send SMS. The SAT applications process the SMS details before it sent to the network. The SAT engine is notified of any changes to the SMS by the ICC. It is similar to the call control mechanism but there is no get and set methods for Mobile Originated Short Message (MO-SM). The TSY returns the modified details using TMoSmControlV1

  5. Use EventDownload() to notify the ICC of any changes in the activities like user activity, idle screen, card reader status, language selection, browser termination, data available, channel status, local connection or display parameters.

    The event download information is sent in a TEventDownloadBaseV2 object.

  6. Use MmsNotificationDownload() to download a multimedia message when available.

    The envelope command information is sent to the ICC in a TMMSNotificationDownloadV6 object. When the download is completed the ICC tells the TSY. The envelope command contains the ID of the network and the device. The message is downloaded from the network with the NetworkControl capability.

  7. Use MmsTransferStatus() to send the status of a multimedia message to the ICC.

    The SAT engine notifies the ICC when a multimedia message is sent or received. The status information is sent to the ICC in a TMmsTransferStatusV6 object.

  8. Use NotifyUssdDataDownload() to request the TSY to download an Unstructured service data (USSD) data from the network in the application mode.

    The envelope command information is sent to the ICC in a TUssdDataDownloadV6 object.