Confirmed users
266
edits
Allstars.chh (talk | contribs) |
Allstars.chh (talk | contribs) |
||
| Line 33: | Line 33: | ||
== From SIM to ME == | == From SIM to ME == | ||
* See TS 102.223, Annex C for the structure of STK communications | * See TS 102.223, Annex C for the structure of STK communications | ||
Basically, a Proactive command is a BER-TLV object, which contains several Comprehension-TLV objects | Basically, a Proactive command is a BER-TLV object, which contains several Comprehension-TLV objects | ||
| Line 72: | Line 60: | ||
* CmdDetails - Details of this proactive command. | * CmdDetails - Details of this proactive command. | ||
**typeOfCommand is SET_UP_MENU | ** typeOfCommand is SET_UP_MENU | ||
* AlphaId - The title of this menu | * AlphaId - The title of this menu | ||
* Item - The items in this menu | * Item - The items in this menu | ||
| Line 95: | Line 83: | ||
-------- | -------- | ||
</pre> | </pre> | ||
=== STK Command Event === | |||
StkCommandEvent will be the parameter passed in onstkcommand handler | |||
<pre> | |||
interface nsIDOMMozStkCommandEvent : nsIDOMEvent | |||
{ | |||
readonly attribute nsIDOMMozStkCommand command; | |||
}; | |||
</pre> | |||
=== STK command === | |||
* TODO: add deviceId for multi-SIM | * TODO: add deviceId for multi-SIM | ||
<pre> | <pre> | ||
interface nsIDOMMozStkCommand : nsISupports | interface nsIDOMMozStkCommand : nsISupports | ||
| Line 113: | Line 114: | ||
</pre> | </pre> | ||
==== Command Details ==== | ==== Command Details ==== | ||
<pre> | <pre> | ||
| Line 174: | Line 174: | ||
</pre> | </pre> | ||
===== UI parts ===== | ===== UI parts - The detail format contained in MozStkCmdParameter ===== | ||
<pre> | <pre> | ||
interface nsIDOMMozStkTextMessage : nsISupports | interface nsIDOMMozStkTextMessage : nsISupports | ||
| Line 364: | Line 364: | ||
== From ME to SIM == | == From ME to SIM == | ||
* Terminal Response | |||
* Envelope Command | |||
=== STK response === | === STK response === | ||
<pre> | <pre> | ||