Comment 7 for bug 1323837

Revision history for this message
Jussi Kangas (jkangas) wrote : Re: Sim toolkit is not available on UT

There was some discussion if we could hack our way around this using some test script or something.

I'm afraid it is not possible to send SAT command to SIM from ofono without overall working SAT support in phone. I'm not familiar with roaming enabling feature described but I've been doing lot ot SAT. I suspect that when it works it works most likely like this:

- At startup modem tells to SIM card that it supports set up menu by sending terminal profile to card.
- Card sends set up menu SAT command to the phone which triggers the drawing of the operator menu to UI.
- User selects request that enables the roaming. Based on selection phone triggers menu selection SAT command to card.

Now, I can only guess what card does at this point: Normally I would say that most likely card orders the phone to send sms to the operator using send sms SAT command. (Send USSD would not work, because it is apparently aimed to work in a roaming network.) Then the operator would send update request to the card via SMS PP Data Download or some other update mechanism which would enable feature user is requesting. However, since the network listing shows that phone is forbidden from the roaming network phone should not be able to send message. I think only thing that can happen is that menu selection directly updates some value in the card.

I don't know if the Krillin is giving the terminal profile to the card. (Mako does, I've seen the SAT messages in traces). If the phone does not give the terminal profile to the card, there is nothing we can do. Card won't sent the setup menu command and it will ignore menu selection command we would send. At the moment ubuntu-touch ofono does not support the forwarding the command to client but if it would, we could capture the set up menu request with test-stk-menu test script and send menu selection request from there.