EasyManuals Logo
Home>Ublox>Control Unit>SARA-R5 Series

Ublox SARA-R5 Series User Manual

Ublox SARA-R5 Series
23 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #17 background imageLoading...
Page #17 background image
EVK-R5 - User guide
UBX-19042592 - R06 Appendix Page 17 of 23
C1-Public
C AT commands examples
For the complete description and syntax of the AT commands supported by SARA-R5 series modules,
see the SARA-R5 series AT commands manual [1].
For detailed AT commands examples for network registration and configuration, context activation,
data connection management, SIM management, module interfaces configurations and other
settings, see the u-blox SARA-R5 application development guide [4].
C.1 Define the initial default bearer for connectivity
To change the PDN settings for the initial default EPS bearer established during LTE attach, edit the
<cid>=1 PDN by means of the +CGDCONT AT command.
Command sent by DTE (user)
DCE response (module)
Description
AT+COPS?
+COPS: 2
OK
The module is not registered.
AT+CEREG=2;+CGEREP=1,1
OK
Enable a set of registration URCs.
AT+CGDCONT?
+CGDCONT: 1,"IPV4V6","","0.0.0.0
0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",
0,0,0,2,0,0,0,0,0,0
OK
Read IP type and APN for EPS attach
bearer.
AT+CGDCONT=1,"IPV4V6","broadband"
OK
Set the APN name ("broadband" for
example) and the PDP type ("IPV4V6" for
example) for EPS attach bearer.
AT+COPS=0
OK
+CEREG: 1,"0001","01a2d001",7
+CGEV: ME PDN ACT 1
Trigger a network registration and wait
for attach complete.
C.2 Data connection using internal TCP/IP stack
Activate an internal context to use the internal TCP/UDP stack.
If an external "IP" context is active, just map the external context to an internal one.
Command sent by DTE (user)
DCE response (module)
Description
AT+CGDCONT?
+CGDCONT: 1,"IP","default.mnc321.
mcc654.gprs","192.168.20.6",0,0,0
,2,0,0,0,0,0,0
OK
Read IP type and APN for EPS attach
bearer.
Context <cid>=1 has IP type "IP" and
APN "default.mnc321.mcc654.gprs".
AT+CGCONTRDP=1
+CGCONTRDP: 1,5,"default.mnc321.m
cc654.gprs","192.168.20.6.255.255
.255.0","192.168.20.1","185.215.1
95.114","","","",0,0,1500,0,0
OK
Read context <cid>=1 dynamic
parameters.
<cid>=1 is currently active with IPv4
address 192.168.20.6/24, gateway
192.168.20.1 and DNS server
185.215.195.114.
AT+UPSD=0,100,1
OK
Map external context <cid>=1 to internal
context <profile_id>=0.
AT+UPSDA=0,3
OK
+UUPSDA: 0,"192.168.20.6"
Activate internal context <profile_id>=0.
A URC is received indicating activation
complete and IPv4 address for the
internal context.
When an external context is mapped to an internal PSD profile, make sure that the same protocol type
(IP/IPV6/IPV4V6) is set both for the context and the profile, before the PSD profile is activated.

Other manuals for Ublox SARA-R5 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Ublox SARA-R5 Series and is the answer not in the manual?

Ublox SARA-R5 Series Specifications

General IconGeneral
BrandUblox
ModelSARA-R5 Series
CategoryControl Unit
LanguageEnglish

Related product manuals