What between ADL_SIM_EVENT_PIN_OK & ADL_SIM_EVENT_FULL_I

What happens between ADL SIM Event 5 (ADL_SIM_EVENT_PIN_OK) and SIM Event 3 (ADL_SIM_EVENT_FULL_INIT)?

In particular, what could prevent ADL_SIM_EVENT_FULL_INIT from occurring after ADL_SIM_EVENT_PIN_OK has been received?

Further details here: wavecom.com/modules/movie/sc … .php?t=928

Further investigation suggests that this has nothing to do with network service:

if I remove the antenna, and fit a terminator to the antenna port, I still get ADL_SIM_EVENT_FULL_INIT even with no network service.

Hi!

Same for my Q2501, sometimes my software doesnot receive ADL_SIM_EVENT_FULL_INIT, and so all the rest of logic doesnot work until I send reboot command.

If anybody knows, where the problem is, please reply!

To update: In my case, it was not actually that the FULL_INIT event was not happening - it was that I would sometimes see PIN_OK first, followed by FULL_INIT; and sometimes the sequence was reversed!

In that case, the answer is simply to wait until both events have been seen.

My distributor advised that this behaviour can be caused by the “SIM speed enhancement” feature; you can turn this off with AT+WFM=0,B
(See the AT+WFM command for further details).

I am experiencing a similar problem, except that sometimes I don’t receive the ADL_SIM_EVENT_FULL at all! I even receive a GSM registration message with no SIM init message. Here is a copy of the relevant traces:

Correct Sequence
[pfk_simTask] Starting SIM Task: OK
[pfk_simEventHandler] SIM Detected. Reading CCID…
[pfk_simWindHandler] WIND_SIM_INSERTED
[pfk_simATCCID] SIM Serial: 085XXXXXXX
[pfk_simEventHandler] SIM PIN OK
[pfk_simWindHandler] WIND_SMS_INITIALIZED
[pfk_simEventHandler] SIM Initialisation Complete
[pfk_simWindHandler] WIND_INIT_COMPLETE
[pfk_simWindHandler] WIND_SIM_PHONEBOOK_RELOAD
[pfk_simWindHandler] WIND_EMERGENCY_CALLS
[pfk_simWindHandler] WIND_NITZ_RECEIVED
[pfk_CREGHandler] Registered on Home network

Incorrect Sequence
[pfk_simTask] Starting SIM Task: OK
[pfk_simEventHandler] SIM Detected. Reading CCID…
[pfk_simWindHandler] WIND_SIM_INSERTED
[pfk_CREGHandler] Not Registered. Searching for operator…
[pfk_simATCCID] SIM Serial: 085XXXXXXX
[pfk_simEventHandler] SIM PIN OK
[pfk_simWindHandler] WIND_SMS_INITIALIZED
[pfk_simWindHandler] WIND_EMERGENCY_CALLS
[pfk_CREGHandler] Registered on Home network
[pfk_gsmCGREGHandler] Registered on Home network
[pfk_simWindHandler] WIND_NITZ_RECEIVED

GPRS bearer connection fails after this, since the SIM is not properly initialised. I determine GSM registration using CREG. Would this indicate as registered if Emergency calls were available, or only once full network registration is achieved? From my understanding, full SIM initialisation is required before any actions are permitted on the network (except emergency calls). I couldn’t find any indications in the AT command guide about when CREG would report GSM registration.

Is this confirmed?

Ok, found the problem. The unit can register on the network before the SIM has fully initialised. In order to make sure I can do anything on the network, I am now waiting for both the SIM INIT FULL and for GSM registration, in either order.

I found that disabling the SIM speed enhancement feature changed my SIM initialisation time from about 3 seconds to about 10 seconds, however it was MUCH more stable when it was disabled.