No top-posting on this list please.
On 06/07/2019 01:15 AM, Borwankar, Antara wrote:
xmm needs a sim reset after enabling stk otherwise proactive command for set up menu is
So resetting the SIM during .enable is not enough? Does this happen
every time (e.g. on a new boot) or only when you shutdown / restart oFono?
Is the new modem firmware behaving somehow differently from the earlier
ones? I mean both the ifx (6160/6260) and ril_intel have stk in
post_sim with no apparent issues.
Really, I suspect that the firmware should not be performing any
initialization until XSATK=1 was sent; or at the very least re-issue the
last menu notification when XSATK=1 is enabled.
When I put ofono_stk_create in post sim, on performing sim reset the control went into
infinite loop of pre_sim and post_sim function calls.
I'm not quite sure how you accomplished that. But in general you
shouldn't be performing any power cycling or sim resets in the atom
drivers. Only the modem driver should do that.