EVK-L2 - User guide
UBX-14000422 - R11
Appendix
Page 20 of 27
C1-Public
Command sent by DTE (user)
DCE response (module)
Description
OK
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
3.
Use the command
ifconfig
to check if the RNDIS is active or not: in the example below it is not
active because it is not listed.
4.
Open a terminal and use the command “
dmesg | grep rndis”
to identify the interface
associated with the RNDIS. In the example below the interface is
usb0
.
5.
Use the command
dhclient usb0
to configure the DHCP client, now the RNDIS is active.