Mobile interface
U
SER
G
UIDE
102
Check if the modem is connected to the APN mobile:
root@IMOLA>
gprsat AT+CGATT?
AT+CGATT?
+CGATT: 1
OK
The
+CGATT
value 1 indicates that the modem is correctly connected to the APN mobile network.
Reading IMSI code:
root@IMOLA>
gprsat AT+CIMI
AT+CIMI
222017302670415
OK
Reading Location information:
root@IMIOLA>
gprsat AT+CPSI?
AT+CPSI?
+CPSI: WCDMA,Online,222-01,0xEEB2,72507253,WCDMA IMT 2000,334,10638,0,16,103,16,12
OK
DUAL
DATA
SIM
CARD
Some models can have a dual data SIM card: in addition to the internal SIM of the router, it is also
available a specific seat for a second SIM externally accessible.
The internal SIM is the Primary-SIM, while the external SIM is the Secondary-SIM.
Their usage is mutually exclusive and it is controlled by the following rules:
In the default configuration the Primary-SIM (internal SIM) is always used.
By using the commands:
set gprs secondary-sim
set gprs secondary-apn <myapn2>
the external SIM is always used connecting to the APN
myapn2
.
By using the commands:
set gprs primary-sim
set gprs-primary-apn <myapn1>
set gprs secondary-sim
set gprs secondary-apn <myapn2>
The first SIM is used as primary connection to the APN
myapn1
.
If the registration on this APN fails
for 3 times (one after the other), the second SIM may be used on the APN
myapn2
.