![]() “Session terminated by user” (0x10) “OK” (0x00) with “Yes” or “No” as the response text.It displays a dialog box with a prompt and or an icon and yes and no buttons. This command is processed by StkInputActivity. The user sees a dialog box with a message and / or icon, an OK button, and a Cancel button. Otherwise the terminal response is sent when the dialog is dismissed either from user action or it times out. If the immediate response flag is set, the terminal response is sent with an "OK" (0x00) result code when the message is first received. This command is handled by StkDialogActivity. The Sim Toolkit communication flow is bi-directional and commands can originate from the STK RIL packaged in RIL_UNSOL_STK_PROACTIVE_COMMAND, RIL_UNSOL_STK_EVENT_NOTIFY, RIL_UNSOL_REFRESH and RIL_UNSOL_STK_SESSION_END messages. Below is the mapping from RIL_UNSOL_xxx commands to the SIM commands. This allows the SIM to pass a complete command to the upper layers and simplifies STK RIL code. As stated above, it is not necessary to remove extraneous fields. The payload for each command is encoded using BER-TLV. Communication from the RIL upĬommunication to the upper layers is done using the RIL_UNSOL_xxx family of commands defined in /hardware/ril/include/ril.h. See the Android Platform Development Kit for details. RIL_REQUEST_HANDLE_CALL_SETUP_REQUESTED_FROM_SIM: has a single byte of data that indicates accept/reject.The content of each message is encoded in the BER-TLV format except for two: The Sim Toolkit communication flow is bi-directional and commands can originate from the STK RIL packaged in RIL_UNSOL_STK_PROACTIVE_COMMAND, RIL_UNSOL_STK_EVENT_NOTIFY, RIL_UNSOL_REFRESH and RIL_UNSOL_STK_SESSION_END messages.Ĭommands originating from the STK App or STK Telephony layers are packaged in RIL_REQUEST_STK_SEND_TERMINAL_REPSONSE, RIL_REQUEST_SEND_ENVELOPE_COMMAND or RIL_REQUEST_HANDLE_CALL_SETUP_REQUESTED_FROM_SIM.įor commands sent or recieved by the STK RIL, it's not necessary to remove unused sub-commands because the upper layers will gracefully ignore unused information contained in the message. STK Application: Provides the user interface interactions needed by the STK. ![]() STK Telephony: Protocol translation layer that converts raw messages provided by the STK RIL to application level messages.STK RIL: Low-level layer provided by the vendor plus libril.The Android STK implementation includes three layers: See the STK Feature List for the complete feature list. This document offers a high-level overview of the SIM Toolkit Application for Android 1.0 and is primarily of interest for implementors of the Radio Interface Layer (RIL). Communication from the application down. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |