Looking forward to your help, Thanks a lot! Guobin
On Sep 19, 9:34 pm, Guobin <[email protected]> wrote: > 1. What's a SIM Session? > 2. Can I list all SIM Sessions? > 3. All the message sequences of every Session are defined in 3GPP TS > 51.014 and TS 11.14? > > 4. Is this right? > For every RIL_REQUEST_STK_SEND_TERMINAL_REPSONSE/ > RIL_REQUEST_SEND_ENVELOPE_COMMAND > If the status response word SW1/SW2 == 90xx or 91xx, RIL reports to > Telephony RIL_UNSOL_STK_SESSION_END > > My sequence flow does not work with StkService > > SEND Short Message -- Event Notify > Terminal Response > SW1/SW2 == 90xx or 91xx > send RIL_UNSOL_STK_SESSION_END > DISPLAY TEXT > Terminal Response > // It's broken here > //It failed to pass the validateResponse() test in handleCmdResponse() > of StkService.java > > 5. I have done this : > All proactive commands are reported as > RIL_UNSOL_STK_PROACTIVE_COMMAND, > Must RIL differ RIL_UNSOL_STK_PROACTIVE_COMMAND and > RIL_UNSOL_STK_EVENT_NOTIFY first, then report to Telephony? > > e.g. > SEND Short Message =>RIL_UNSOL_STK_PROACTIVE_COMMAND > > 6. ril.h says: > RIL_UNSOL_STK_EVENT_NOTIFY > Indicate when SIM notifies applcations some event happens. Generally, > application does not need to have any feedback to SIM but shall be > able to indicate appropriate messages to users. > > Can I consider this: No Terminal Response is needed for > RIL_UNSOL_STK_EVENT_NOTIFY? > > 7.http://source.android.com/porting/stk.htmlsays: > RIL_UNSOL_STK_EVENT_NOTIFY > The upper layers handle the UI and the STK RIL handles all other > aspects of each command, which means that the STK RIL sends the > terminal response (it is never sent by the STK App). > It means: Telephony Send the terminal response? > > But what's meaning of the "no response" in following: > SEND SMS (6.4.10) – no response > no terminal response? > > Thanks in advance! -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
