GPRS uses 3 -6 min to connect


#1

I’m using OpenAT 3.10, M1306B modem and EDLIB for tcp/ip activity.

I’m making a logger interface using FMC in V24 mode on the serial side and sending / receiving over TCP/IP on the network side.

In the embedded application, I do the follwing:

  1. Subscribing to SIM service

  2. On ADL_SIM_EVENT_FULL_INIT event the edlib is initated and subscribing to the gprsService

  3. Setting gprs connection params (APN, APNUN and APNPW) using ed_gprsSetConfig

  4. Issuing the AT+CGATT using the adl_CreateCmd() function.

  5. On the ATL_GPRS_EVENT_ME_ATTACH calling the ed_DialupConnectionStart() (which always respond with ED_ERR_NETWORK_KO)

  6. After 3 - 6 min I get the ADL_GPRS_EVENT_ACTIVATE_OK and ED_OK_GPRS_SESSION_SET events and the line is up.

Why does it take 3 - 6 min before the line is up? Is the sequence described above wrong?