EVK-L2 - User guide
UBX-14000422 - R11
Appendix
Page 15 of 27
C1-Public
B
EVK-L2 setup for Internet browsing
(Windows)
This section describes how to set up the EVK-L2 for browsing the internet with Windows 7 operating
system on a PC connected with the EVK-L2 over the USB physical interface of the TOBY-L2 series
module. Follow the board setup instructions described in section
communication via the USB interface of the TOBY-L2 series module. Then use the AT terminal (see
appendix
) to enter the following AT command lines:
1.
Perform the following procedure to activate an external PDP context with the preferred APN:
Command sent by DTE (user)
DCE response (module)
Description
AT+UBMCONF?
+UBMCONF: 1
OK
Check the +UBMCONF <networking_mode>, which
must be 1 = Router mode (as the factory-programmed
value) for the context activation procedure herein
described.
AT+CFUN=4
OK
Set the module in airplane mode. The module will
deregister from network and both RF Tx and RF Rx will
be disabled.
AT+CGDCONT=1,"IP","ibox.tim
.it"
OK
Define a PDP context with preferred APN: in this
example, the “ibox.tim.it” APN is selected.
AT+UCGDFLT=1,"IP","ibox.tim
.it"
OK
Define the initial PDP context with preferred APN. This
will be activated only if the module registers to an LTE
network.
AT+CFUN=1
OK
Set the module to full functionality. The module starts
the automatic network registration.
AT+CPIN?
+CPIN: READY
OK
Check the SIM PIN status and act accordingly.
AT+COPS?
+COPS: 0,0,"I TIM",7
OK
Check the +COPS <AcT> and act accordingly:
•
If
<Act> = 7 (LTE, as it is in this example)
•
Then
no further action is needed
•
Else
activate the context with +CGACT as following:
Command sent by DTE
DCE response
AT+CGACT=1,1
OK
AT+CGCONTRDP
+CGCONTRDP: 4,5,"ibox.tim.i
t.mnc001.mcc222.gprs","5.16
8.209.178.255.255.255.255",
"5.168.209.178","
83.224.70.
94","
83.224.56.132","0.0.0.
0","0.0.0.0",0
OK
Check the DNS primary server address: in this
example, the DNS primary server address is
83.224.70.94
☞
For the complete description and syntax of supported AT commands, and for further details
regarding all the settings configurable by means of AT commands, see the u-blox AT commands
manual
, the u-blox AT commands examples application note
, and the u-blox TOBY-L2 series
networking modes application note