Problem (If GPRS was running while removing the SIM)


#1

Hello,

I’m using a Q2687 and have some problems:

I’m using dual sim.
If a GPRS communication was running while removing the SIM card, the bearer event handler is not notified about the closed connection, never comes the WIP_BEV_STOPPED, but the SIM handler is notified about de removed sim.
When that’s happend I switch sim or try with the same sim, I proved the 2 ways, but the ADL_SIM_EVENT_FULL_INIT never comes.
If a GPRS communication was not running while removing the SIM card, that’s not happend, the sim restart or switch and the ADL_SIM_EVENT_FULL_INIT comes.
I think that is a problem in the remaining state of GPRS service.

Thanks.
Claudio Leone.


#2

What versions (OS, WIP, Open-AT, etc) are you using?

What, exactly, do you mean by, “GPRS communication was running”?


#3

Versions:

Open AT Embedded Software Suite package (2.33.0.201004071659)
Open AT OS Package (6.32.0.03)
Open AT Firmware Package (7.43.0.201003261552)
WIP Open AT Plug-in Package (5.30.0.2040)

I say “GPRS communication was running” when it is connected to an APN, state WIP_BEV_IP_CONNECTED.


#4

Hi I found the problem.

For security reasons when the SIM card is removed called the function “wip_bearerStop(myBearer)”, that’s wrong, if the sim is removed and GPRS is connected I have to wait WIP_BEV_STOPPED, not to force the stop because it causes the crash GPRS service.

Thanks.
Claudio Leone.