u-blox LEXI-R4-SARA-R4_AT Interface Manual

Category
Networking
Type
Interface Manual
LEXI-R4 / SARA-R4 series
Size-optimized LTE Cat M1 / NB1 / GPRS modules
AT commands manual
Abstract
Description of standard and proprietary AT commands used with u-blox
cellular modules.
UBX-17003787 - R29
C1-Public www.u-blox.com
LEXI-R4 / SARA-R4 series-AT commands manual
UBX-17003787 - R29
C1-Public
Page 2 of 557
Document information
Title LEXI-R4 / SARA-R4 series
Subtitle Size-optimized LTE Cat M1 / NB1 / GPRS modules
Document type AT commands manual
Document number UBX-17003787
Revision and date R29 29-Sep-2023
Disclosure restriction C1-Public
u-blox or third parties may hold intellectual property rights in the products, names, logos, and designs included in this
document. Copying, reproduction, or modification of this document or any part thereof is only permitted with the express
written permission of u-blox. Disclosure to third parties is permitted for clearly public documents only.
The information contained herein is provided “as is” and u-blox assumes no liability for its use. No warranty, either express
or implied, is given, including but not limited to, with respect to the accuracy, correctness, reliability, and fitness for a
particular purpose of the information. This document may be revised by u-blox at any time without notice. For the most
recent documents, visit www.u blox.com.
Copyright © u-blox AG.
LEXI-R4 / SARA-R4 series-AT commands manual
UBX-17003787 - R29
C1-Public
Preface Page 3 of 557
Preface
Applicable products
This document applies to the following products:
Name Type number Modem version Application version PCN reference
LEXI-R422 LEXI-R422-01B-00 01.25 A01.06 UBXDOC-686885345-1805
SARA-R404M-00B-00 K0.0.00.00.07.06 N.A. UBX-17047084SARA-R404M
SARA-R404M-00B-01 K0.0.00.00.07.08 N.A. UBX-18053670
SARA-R410M-01B-00 L0.0.00.00.02.03 N.A. UBX-18059854
SARA-R410M-02B-00 L0.0.00.00.05.06 A02.01 UBX-18070443
SARA-R410M-02B-01 L0.0.00.00.05.08 02.04 UBX-19041392
SARA-R410M-02B-02 L0.0.00.00.05.11 A.02.16 UBX-20033274
SARA-R410M-02B-03 L0.0.00.00.05.12 A.02.19 UBX-20058104
SARA-R410M-02B-04 L0.0.00.00.05.12 A.02.21 UBX-22005059
SARA-R410M-52B-00 L0.0.00.00.06.05 A02.06 UBX-18045915
SARA-R410M-52B-01 L0.0.00.00.06.08 A02.11 UBX-19024506
SARA-R410M-52B-02 L0.0.00.00.06.11 A.02.16 UBX-20033274
SARA-R410M-63B-00 L0.08.12 A.01.11 UBX-20006293
SARA-R410M-63B-01 L0.08.12 A.01.12 UBX-20053055
SARA-R410M-73B-00 L0.08.12 A.01.11 UBX-20006294
SARA-R410M-73B-01 L0.08.12 A.01.12 UBX-20049254
SARA-R410M-73B-02 L0.08.12 A.01.13 UBX-21047940
SARA-R410M-83B-00 L0.08.12 A.01.11 UBX-20027231
SARA-R410M
SARA-R410M-83B-01 L0.08.12 A.01.12 UBX-20049255
SARA-R412M-02B-00 M0.09.00 A.02.11 UBX-19004091
SARA-R412M-02B-01 M0.10.00 A.02.14 UBX-19016568
SARA-R412M-02B-02 M0.11.01 A.02.17 UBX-20031249
SARA-R412M-02B-03 M0.12.00 A.02.19 UBX-20058105
SARA-R412M
SARA-R412M-02B-04 M0.12.00 A.02.21 UBX-22005058
SARA-R422-00B-00 00.12 A00.00 UBX-21016086
SARA-R422-01B-00 01.24 A01.00 UBX-22022409
SARA-R422
SARA-R422-01B-01 01.24 A01.10 UBX-23006496
SARA-R422S-00B-00 00.12 A00.00 UBX-21016086
SARA-R422S-01B-00 01.24 A01.00 UBX-22022409
SARA-R422S
SARA-R422S-01B-01 01.24 A01.10 UBX-23006496
SARA-R422M8S SARA-R422M8S-00B-00 00.12 A00.00 UBX-21016086
SARA-R422M10S-01B-00 01.24 A01.00 UBX-22022409SARA-R422M10S
SARA-R422M10S-01B-01 01.24 A01.10 UBX-23006496
How to use this manual
The u-blox Cellular Modules AT Commands Manual provides the necessary information to successfully design
in and configure the applicable u-blox cellular modules.
This manual has a modular structure. It is not necessary to read it from the beginning to the end.
The following symbols are used to highlight important information within the manual:
An index finger points out key information pertaining to module integration and performance.
A warning symbol indicates actions that could negatively impact or damage the module.
Summary table
The summary table on the top of each command section is a quick reference for the user.
LEXI-R4 / SARA-R4 series-AT commands manual
UBX-17003787 - R29
C1-Public
Preface Page 4 of 557
command_name
TOBY-L2 MPCI-L2
LISA-U110 LISA-U120 LISA-U130 LISA-U2
Modules
LEON-G1 SARA-G3
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
full No No No - -
It is composed of two sections:
Modules: lists all the modules that support the command. The modules are grouped in rows by cellular
standard (i.e. L for LTE high data rate (Cat 3 and above), R for LTE low data rate (Cat 1 and below), U
for UMTS/HSPA, G for GSM/GPRS, N for NB-IoT (LTE Cat NB1 / LTE Cat NB2)). In each row the modules
are grouped by: form factor (i.e. SARA, LISA), platform technology (e.g. SARA-G), platform generation
(e.g. SARA-G3), product name (e.g. SARA-G350) and ordering code (e.g. SARA-G350-00S). In example: if
'LISA-U2' is reported, the command applies to all the modules having LISA form factor, second chipset
version provided with any release of firmware.
Attributes
oSyntax
-full: the command syntax is fully compatible among all the products listed in the "Modules" section
-partial: the products support different syntaxes (usually backward compatible with respect to
previous cellular standards)
oPIN required
-Yes: it is necessary to insert the PIN before the set and/or read command execution
-No: the PIN insertion is not needed to execute the command
oSettings saved
-Profile: the command setting can be saved in a personal profile as specified in Chapter 1.4
-NVM: the command setting is saved in the non-volatile memory as specified in Chapter 1.4
-<command_name>: the parameter values set with the command are volatile, but the whole profile
can be stored in NVM with <command_name> AT command.
-OP: the command setting can be overwritten by the Mobile Network Operator (MNO) profile set with
the +UMNOPROF or +UMNOCONF AT commands (if supported)
-No: the current command setting is volatile and cannot be saved
oCan be aborted
-Yes: the command execution can be aborted if a character is sent to the DCE during the command
execution
-No: the command cannot be aborted during the command execution
oResponse time: estimated maximum time to get the final result code for the AT command execution. It
is the time needed to provide the response in the worst case, e.g. when all the steps that have to be run
to carry out the operation take the longest time to be performed; it is based on a theoretical estimation,
derived by the the 3GPP specifications in case of AT commands related to cellular modem features
(e.g. registration, de-registration, PDP context activation). For additional details on the response time of
cellular network related AT command, see Maximum vs typical response time of cellular network related
AT commands.
More precisely, the response time considers the time from the complete acquisition of the command
line to the issuing of the command result code. This kind of response time is generally lower than the
time measured by the application on the DTE, because the issuing of the command on the DTE is
influenced by the AT interface characteristics (e.g. the synchronous/asynchronous transfer type, the
selected baud rate, etc.), by power saving and flow control, which introduce a variable latency in the
command acquisition by the DCE.
For example, the maximum expected response time shall be extended if the communication with the
module is carried out on a MUX virtual port, because in this case the command line and the result code
are transferred via a specific protocol running on the physical port, that might introduce additional
communication delay due to framing and re-transmissions.
Similarly, the maximum expected response time of AT commands accessing the SIM shall be extended
if the module is using a remote SIM card via SAP instead of the local SIM card.
If the response time for a command is left blank (actually "-"), it is an "immediate" response. It means
that the command is executed without asynchronous requests to the protocol stack or the internal
LEXI-R4 / SARA-R4 series-AT commands manual
UBX-17003787 - R29
C1-Public
Preface Page 5 of 557
applications, which usually require time to be answered: the command execution is synchronous
(implying that no long blocking processing is done) and lasts a negligible time (the command response
is issued by the module in typically less than 10 ms, and in any case less than 1 s).
The response time shall be extended if the issued AT command triggers a service that cannot be served
immediately due to concurrent access to the same service or resource via AT commands issued on a
different communication port or from internal applications; typical examples are registration commands
and SIM access, that can be also autonomously triggered by the module (e.g. auto-COPS) and can
therefore postpone the execution of the AT commands issued by the user.
oError reference: reference to the error result codes listed in the Appendix A
The attributes listed in the summary table apply by default to all u-blox modules supporting the specific
AT command. If a u-blox module or module series does not comply to the default behavior, the exception is
highlighted in Chapter 1.4 for the saving of settings, in Chapter 1.3.4 for the abortability, and in a product
specific note in the AT command description for the PIN check.
u-blox technical documentation
As part of our commitment to customer support, u-blox maintains an extensive volume of technical
documentation for our products. In addition to our product-specific technical data sheets, the following
manuals are available to assist u-blox customers in product design and development.
AT Commands Manual: This document provides the description of the AT commands supported by u-blox
cellular modules.
System Integration Manual: This document describes u-blox cellular modules from the hardware and the
software point of view. It provides hardware design guidelines for the optimal integration of the cellular module
in the application device and it provides information on how to set up production and final product tests on
application devices integrating the cellular module.
Application Notes: These documents provide guidelines and information on specific u-blox cellular module
hardware or software topics.
For some guidelines when developing applications for LTE Cat 1 technologies, see the LARA-R6 series
application development guide [8].
For some guidelines when developing applications for LTE Cat M1 technologies, see the SARA-R41
application development guide [30] or the LEXI-R4 / SARA-R42 application development guide [31] or the
SARA-R5 series application development guide [26].
For some guidelines when developing applications for NB-IoT technologies, see the SARA-N3 series
application development guide [46] or the NB-IoT application development guide [43].
For more examples of typical scenarios when developing application for LTE Cat 4, LTE Cat 1, UMTS/HSPA
and GSM/GPRS technologies, see the AT commands examples application note [48].
See Related documentation for application notes related to your cellular module.
Questions
If you have any questions about u-blox Cellular Hardware Integration, please:
Read this manual carefully
Contact our information service on our homepage www.u-blox.com
Read the questions and answers on our FAQ database
Technical Support
Worldwide Web
Our website (www.u-blox.com) is a rich pool of information. Product information, technical documents and
helpful FAQ can be accessed 24h a day.
By email
If you have technical problems or cannot find the required information in the provided documents, contact
the nearest of the Technical Support offices by email. Use our service pool email addresses rather than any
personal email address of our staff. This makes sure that your request is processed as soon as possible. You
will find the contact details at the end of the document.
LEXI-R4 / SARA-R4 series-AT commands manual
UBX-17003787 - R29
C1-Public
Preface Page 6 of 557
Helpful Information when Contacting Technical Support
When contacting Technical Support please have the following information ready:
Module type (e.g. SARA-G350-00S-00) and firmware version (e.g. 08.49)
Module configuration
Clear description of your question or the problem
A short description of the application
Your complete contact details
LEXI-R4 / SARA-R4 series-AT commands manual
UBX-17003787 - R29
C1-Public
Contents Page 7 of 557
Contents
1AT command settings...................................................................................................... 14
1.1Definitions............................................................................................................................................................14
1.2Operational mode of the AT interface......................................................................................................... 14
1.3Command description......................................................................................................................................15
1.4Storing of AT commands setting................................................................................................................. 19
1.5S-parameters..................................................................................................................................................... 19
1.6+UDCONF AT command..................................................................................................................................19
2General operation.............................................................................................................. 21
2.1Start up and initialization............................................................................................................................... 21
2.2AT commands types.......................................................................................................................................22
3IPC - Inter Processor Communication........................................................................25
3.1Multiplexing mode +CMUX.............................................................................................................................25
4General..................................................................................................................................27
4.1Manufacturer identification +CGMI............................................................................................................. 27
4.2Manufacturer identification +GMI............................................................................................................... 27
4.3Model identification +CGMM........................................................................................................................ 27
4.4Model identification +GMM...........................................................................................................................28
4.5Firmware version identification +CGMR.................................................................................................... 28
4.6Firmware version identification +GMR....................................................................................................... 29
4.7Request product serial number identification +CGSN............................................................................29
4.8IMEI identification +GSN................................................................................................................................ 31
4.9Identification information I............................................................................................................................ 31
4.10TE character set configuration +CSCS.................................................................................................... 32
4.11International mobile subscriber identification +CIMI............................................................................. 33
4.12Card identification +CCID............................................................................................................................ 33
4.13Request complete capabilities list +GCAP...............................................................................................34
4.14Repeat last command A/............................................................................................................................. 34
5Mobile equipment control and status........................................................................36
5.1Phone activity status +CPAS........................................................................................................................ 36
5.2Module switch off +CPWROFF.....................................................................................................................36
5.3Set module functionality +CFUN................................................................................................................. 37
5.4Indicator control +CIND..................................................................................................................................39
5.5Configuration of indicator control +UCIND............................................................................................... 40
5.6Mobile termination event reporting +CMER..............................................................................................41
5.7Clock +CCLK..................................................................................................................................................... 43
5.8Set greeting text +CSGT...............................................................................................................................44
5.9Automatic time zone update +CTZU..........................................................................................................44
5.10Time zone reporting +CTZR........................................................................................................................45
5.11Report mobile termination error +CMEE...................................................................................................46
6Call control..........................................................................................................................48
6.1Dial command D............................................................................................................................................... 48
6.2Call answer A....................................................................................................................................................49
6.3Hook control H................................................................................................................................................. 49
6.4Voice hangup control +CVHU....................................................................................................................... 49
7Network service................................................................................................................. 51
7.1Network parameters definition......................................................................................................................51
7.2Subscriber number +CNUM.......................................................................................................................... 53
7.3Signal quality +CSQ........................................................................................................................................ 54
7.4Extended signal quality +CESQ....................................................................................................................55
LEXI-R4 / SARA-R4 series-AT commands manual
UBX-17003787 - R29
C1-Public
Contents Page 8 of 557
7.5Operator selection +COPS.............................................................................................................................56
7.6Radio Access Technology (RAT) selection +URAT.................................................................................. 59
7.7Inter-RAT scan timer configuration +URATSCAN................................................................................... 60
7.8Full cell scan +UCFSCAN................................................................................................................................61
7.9MAC QoS inactivity timer(s) +UMACQOSTMR.........................................................................................65
7.10Preferred PLMN list selection +CPLS....................................................................................................... 66
7.11Network registration status +CREG...........................................................................................................66
7.12Preferred operator list +CPOL.....................................................................................................................69
7.13Read operator names +COPN...................................................................................................................... 71
7.14Steering of Roaming configuration +UDCONF=20..................................................................................71
7.15Network selection control +PACSP............................................................................................................72
7.16Integrity check on test networks configuration +UDCONF=81............................................................73
7.17Channel and network environment description +UCGED......................................................................73
7.18Smart jamming detection +UJAD.............................................................................................................. 77
7.19Edit Verizon wireless APN table +VZWAPNE.......................................................................................... 78
7.20Read RSRP values +VZWRSRP................................................................................................................. 80
7.21Read RSRQ values +VZWRSRQ.................................................................................................................. 81
7.22Signalling connection status +CSCON......................................................................................................81
7.23Radio Policy Manager (RPM) activation +URPM....................................................................................83
7.24Purging of temporary mobile identities after SIM refresh +UDCONF=56........................................ 84
7.25eDRX setting +CEDRXS............................................................................................................................... 84
7.26eDRX read dynamic parameters +CEDRXRDP........................................................................................86
7.27Set MNO profile +UMNOPROF................................................................................................................... 87
7.28Band selection bitmask +UBANDMASK................................................................................................... 91
7.29Device service domain configuration +USVCDOMAIN.......................................................................... 92
7.30Modem features customization +UDCONF=92..................................................................................... 94
7.31CIoT capabilities configuration +UCFGCIOT............................................................................................ 97
7.32CIoT optimization configuration +CCIOTOPT......................................................................................... 97
7.33NB-IoT band scan tuning +UDCONF=77.................................................................................................. 99
7.34Retrieve coverage enhancement mode information +CEINFO..........................................................100
7.35Periodic search for higher priority PLMN +UHPPLMN........................................................................ 102
7.36Network band scan status +USCANSTAT............................................................................................ 103
7.37Configure the network scan in out of service +USCANCONF............................................................104
8Device lock........................................................................................................................ 106
8.1Enter PIN +CPIN..............................................................................................................................................106
8.2Facility lock +CLCK........................................................................................................................................107
8.3Change password +CPWD...........................................................................................................................108
9Short Messages Service............................................................................................... 110
9.1Introduction...................................................................................................................................................... 110
9.2Select message service +CSMS...................................................................................................................111
9.3Preferred message storage +CPMS...........................................................................................................112
9.4Preferred message format +CMGF............................................................................................................ 113
9.5Save settings +CSAS.....................................................................................................................................114
9.6Restore settings +CRES............................................................................................................................... 114
9.7Show text mode parameters +CSDH......................................................................................................... 115
9.8New message indication +CNMI................................................................................................................. 115
9.9Select service for MO SMS messages +CGSMS.....................................................................................119
9.10Read message +CMGR................................................................................................................................ 119
9.11New message acknowledgement to MT +CNMA.................................................................................. 122
9.12List message +CMGL..................................................................................................................................123
9.13Send message +CMGS............................................................................................................................... 125
9.14Write message to memory +CMGW........................................................................................................ 126
9.15Send message from storage +CMSS...................................................................................................... 127
9.16Set text mode parameters +CSMP..........................................................................................................128
9.17Delete message +CMGD............................................................................................................................. 129
9.18Service center address +CSCA................................................................................................................. 129
9.19Read concatenated message +UCMGR..................................................................................................130
9.20List concatenated message +UCMGL....................................................................................................132
9.21Send concatenated message +UCMGS..................................................................................................135
LEXI-R4 / SARA-R4 series-AT commands manual
UBX-17003787 - R29
C1-Public
Contents Page 9 of 557
9.22Write concatenated message to memory +UCMGW.......................................................................... 136
9.23More messages to send +CMMS.............................................................................................................137
9.24Peek message +UCMGP............................................................................................................................ 138
9.25Send SMS command +CMGC...................................................................................................................139
9.26Sending of originating data via the control plane +CSODCP.............................................................140
9.27Terminating data reporting via control plane +CRTDCP.....................................................................141
10V24 control and V25ter...............................................................................................143
10.1Introduction.................................................................................................................................................... 143
10.2Circuit 109 behavior &C...............................................................................................................................143
10.3Circuit 108/2 and escape sequence behavior &D.................................................................................. 143
10.4DSR override &S........................................................................................................................................... 145
10.5Flow control &K.............................................................................................................................................145
10.6DTE-DCE character framing +ICF............................................................................................................ 146
10.7DTE-DCE local flow control +IFC...............................................................................................................147
10.8Set flow control \Q.......................................................................................................................................148
10.9UART data rate configuration +IPR......................................................................................................... 149
10.10Return to on-line data state O................................................................................................................ 150
10.11Escape character S2...................................................................................................................................150
10.12Command line termination character S3...............................................................................................151
10.13Response formatting character S4.........................................................................................................151
10.14Command line editing character S5.......................................................................................................152
10.15Pause before blind dialling S6................................................................................................................. 153
10.16Connection completion timeout S7........................................................................................................153
10.17Command dial modifier time S8..............................................................................................................154
10.18Automatic disconnect delay S10.............................................................................................................154
10.19Escape prompt delay (EPD) S12..............................................................................................................155
10.20Command echo E.......................................................................................................................................155
10.21Result code suppression Q.......................................................................................................................156
10.22DCE response format V............................................................................................................................156
10.23Result code selection and call progress monitoring control X......................................................... 157
10.24Reset to default configuration Z............................................................................................................158
10.25Set to factory defined configuration &F...............................................................................................158
10.26Display current configuration &V...........................................................................................................159
11SIM management...........................................................................................................160
11.1Generic SIM access +CSIM..........................................................................................................................160
11.2Restricted SIM access +CRSM..................................................................................................................160
11.3Read the SIM language +CLAN................................................................................................................. 162
11.4Check for UICC card +UUICC......................................................................................................................163
11.5UICC application discovery +CUAD...........................................................................................................163
11.6SIM states reporting +USIMSTAT............................................................................................................ 164
12SIM toolkit....................................................................................................................... 166
12.1Introduction.................................................................................................................................................... 166
12.2Bearer Independent Protocol status indication +UBIP........................................................................ 166
12.3Read the USAT profile +CUSATR............................................................................................................. 167
12.4Write the USAT profile +CUSATW...........................................................................................................168
12.5Enable USAT terminal URCs +UCUSATA...............................................................................................169
13Packet switched data services.................................................................................170
13.1PDP contexts and parameter definition.................................................................................................. 170
13.2PPP LCP handshake behavior.................................................................................................................... 171
13.3Printing IP address format +CGPIAF....................................................................................................... 172
13.4PDP context definition +CGDCONT..........................................................................................................173
13.5Packet switched data configuration +UPSD.......................................................................................... 177
13.6PS attach or detach +CGATT....................................................................................................................179
13.7PDP context activate or deactivate +CGACT.........................................................................................180
13.8Enter PPP state/GPRS dial-up D*.............................................................................................................183
13.9Show PDP address +CGPADDR................................................................................................................ 184
13.10Packet switched event reporting +CGEREP.........................................................................................184
LEXI-R4 / SARA-R4 series-AT commands manual
UBX-17003787 - R29
C1-Public
Contents Page 10 of 557
13.11GPRS network registration status +CGREG..........................................................................................187
13.12Manual deactivation of a PDP context H.............................................................................................. 189
13.13UE modes of operation for EPS +CEMODE.......................................................................................... 189
13.14EPS network registration status +CEREG.............................................................................................191
13.15Delete non-active PDP contexts +CGDEL............................................................................................. 194
13.16Configure the authentication parameters of a PDP/EPS bearer +UAUTHREQ.............................195
13.17PDP context read dynamic parameters +CGCONTRDP..................................................................... 196
13.18Uplink user data plane configuration +UDCONF=9............................................................................ 198
13.19Initial PDP context activation +CIPCA................................................................................................... 199
13.20PDP IP configuration when roaming +UDCONF=75.......................................................................... 200
13.21Disable data when roaming +UDCONF=76.......................................................................................... 200
14System features........................................................................................................... 202
14.1Firmware installation +UFWINSTALL..................................................................................................... 202
14.2Firmware update Over AT (FOAT) +UFWUPD...................................................................................... 205
14.3Antenna detection +UANTR..................................................................................................................... 206
14.4Antenna dynamic tuner configuration +UTEST=4.............................................................................. 207
14.5MSPR profile handling configuration +UDCONF=40............................................................................210
14.6Change SIM detection polarity +USIMPOL............................................................................................. 211
14.7UART baud rate and flow control NVM management +UUARTCONF..............................................212
14.8Serial interfaces configuration selection +USIO................................................................................... 213
14.9Internal temperature monitor +UTEMP..................................................................................................215
14.10Restore factory configuration +UFACTORY.........................................................................................216
14.11Backup and restore the file system +UBKUPDATA.............................................................................216
14.12Cancel/pause/resume FOTA download +UFOTA.................................................................................218
14.13Sets FOTA status URCs +UFOTASTAT................................................................................................219
14.14uFOTA configuration +UFOTACONF......................................................................................................221
14.15FOTA LwM2M client configuration +UFOTACONFIG........................................................................ 223
14.16Accept/reject LwM2M FW update request +UFOTAACK................................................................. 224
14.17Last gasp configuration +ULGASP........................................................................................................ 225
14.18RING line configuration +URINGCFG..................................................................................................... 227
14.19URC over AT terminal configuration +UURCCONF............................................................................ 228
15Power management.....................................................................................................230
15.1Power saving control (Power SaVing) +UPSV........................................................................................230
15.2Power Saving Mode Setting +CPSMS.....................................................................................................231
15.3Power Saving Mode assigned values +UCPSMS..................................................................................235
15.4Power Saving Mode versions configuration +UPSMVER....................................................................236
15.5Power Saving Mode indication +UPSMR................................................................................................237
16GPIO.................................................................................................................................. 240
16.1Introduction................................................................................................................................................... 240
16.2GPIO select configuration command +UGPIOC.................................................................................... 246
16.3GPIO read command +UGPIOR.................................................................................................................250
16.4GPIO set command +UGPIOW..................................................................................................................250
17End user test..................................................................................................................252
17.1Entering and exiting test mode +UTEST=0, +UTEST=1......................................................................252
17.2Digital pins testing +UTEST=10............................................................................................................... 253
18File System.....................................................................................................................256
18.1File tags.......................................................................................................................................................... 256
18.2Download file +UDWNFILE........................................................................................................................ 258
18.3List files information +ULSTFILE............................................................................................................260
18.4Read file +URDFILE......................................................................................................................................261
18.5Partial read file +URDBLOCK.....................................................................................................................261
18.6Delete file +UDELFILE................................................................................................................................ 262
18.7Partial download file +UDWNBLOCK.......................................................................................................262
18.8File system limits........................................................................................................................................ 263
19DNS....................................................................................................................................264
19.1Resolve name / IP number through DNS +UDNSRN.............................................................................264
LEXI-R4 / SARA-R4 series-AT commands manual
UBX-17003787 - R29
C1-Public
Contents Page 11 of 557
19.2Dynamic DNS update +UDYNDNS...........................................................................................................265
20Internet protocol transport layer........................................................................... 269
20.1Introduction...................................................................................................................................................269
20.2IPv4/IPv6 addressing..................................................................................................................................269
20.3Create Socket +USOCR.............................................................................................................................270
20.4SSL/TLS/DTLS mode configuration on TCP/UDP socket +USOSEC...............................................272
20.5Set socket option +USOSO...................................................................................................................... 273
20.6Get Socket Option +USOGO.....................................................................................................................274
20.7Close Socket +USOCL................................................................................................................................276
20.8Get Socket Error +USOER........................................................................................................................ 276
20.9Connect Socket +USOCO..........................................................................................................................277
20.10Write socket data +USOWR...................................................................................................................278
20.11SendTo command (UDP only) +USOST................................................................................................280
20.12Read Socket Data +USORD.................................................................................................................... 282
20.13Receive From command (UDP only) +USORF.....................................................................................284
20.14Set Listening Socket +USOLI.................................................................................................................285
20.15HEX mode configuration +UDCONF=1..................................................................................................286
20.16Set socket in Direct Link mode +USODL.............................................................................................287
20.17UDP Direct Link Packet Size configuration +UDCONF=2.................................................................289
20.18UDP Direct Link Sending timer configuration +UDCONF=3............................................................290
20.19Timer Trigger configuration for Direct Link +UDCONF=5............................................................... 290
20.20Data Length Trigger configuration for Direct Link +UDCONF=6................................................... 291
20.21Character trigger configuration for Direct Link +UDCONF=7..........................................................291
20.22Congestion timer configuration for Direct Link +UDCONF=8........................................................ 292
20.23Internal IP stack data handling configuration +UDCONF=18......................................................... 293
20.24Direct Link disconnect DSR line handling +UDCONF=10.................................................................293
20.25Socket control +USOCTL........................................................................................................................294
20.26IP Change Notification +UIPCHGN....................................................................................................... 296
20.27Configure Dormant Close Socket Behavior +USOCLCFG................................................................300
21Device and data security............................................................................................301
21.1Introduction.................................................................................................................................................... 301
21.2Device security..............................................................................................................................................301
21.3Data security provided by secure connections (SSL/TLS/DTLS)......................................................310
21.4Data security provided by Secure Element........................................................................................... 334
22FTP.....................................................................................................................................341
22.1FTP service configuration +UFTP.............................................................................................................341
22.2FTP command +UFTPC.............................................................................................................................344
22.3FTP error +UFTPER....................................................................................................................................348
23HTTP.................................................................................................................................349
23.1HTTP control +UHTTP................................................................................................................................349
23.2HTTP advanced control+UHTTPAC........................................................................................................353
23.3HTTP command +UHTTPC.......................................................................................................................354
23.4HTTP protocol error +UHTTPER............................................................................................................. 356
24Ping...................................................................................................................................358
24.1Ping command +UPING..............................................................................................................................358
25Positioning..................................................................................................................... 360
25.1NMEA..............................................................................................................................................................360
25.2AssistNow services.................................................................................................................................... 360
25.3 GNSS.............................................................................................................................................................. 361
25.4CellLocate® and hybrid positioning.........................................................................................................375
26I2C......................................................................................................................................384
26.1Introduction...................................................................................................................................................384
26.2I2C open logical channel +UI2CO............................................................................................................. 384
26.3I2C write to peripheral +UI2CW............................................................................................................... 385
26.4I2C read from peripheral +UI2CR.............................................................................................................386
LEXI-R4 / SARA-R4 series-AT commands manual
UBX-17003787 - R29
C1-Public
Contents Page 12 of 557
26.5I2C read from peripheral register +UI2CREGR..................................................................................... 386
26.6I2C close logical channel +UI2CC............................................................................................................. 387
27Networking.....................................................................................................................388
27.1Configure port filtering for embedded applications +UEMBPF.........................................................388
28Constrained Application Protocol (CoAP)............................................................389
28.1Introduction...................................................................................................................................................389
28.2CoAP profile configuration +UCOAP...................................................................................................... 389
28.3CoAP command +UCOAPC.......................................................................................................................393
28.4CoAP error reporting +UCOAPER............................................................................................................394
29MQTT............................................................................................................................... 396
29.1Introduction...................................................................................................................................................396
29.2MQTT profile configuration +UMQTT.................................................................................................... 396
29.3MQTT will topic configuration +UMQTTWTOPIC.................................................................................401
29.4MQTT will message configuration +UMQTTWMSG........................................................................... 402
29.5Save/Restore MQTT profile from NVM +UMQTTNV..........................................................................403
29.6MQTT command +UMQTTC.................................................................................................................... 404
29.7MQTT error +UMQTTER............................................................................................................................ 410
30MQTT-SN........................................................................................................................ 412
30.1Introduction................................................................................................................................................... 412
30.2MQTT-SN profile configuration +UMQTTSN........................................................................................ 413
30.3Save/Restore MQTT-SN profile from NVM +UMQTTSNNV.............................................................. 416
30.4MQTT-SN command +UMQTTSNC........................................................................................................ 416
30.5MQTT-SN error +UMQTTSNER................................................................................................................421
31Lightweight M2M......................................................................................................... 422
31.1LwM2M Objects management..................................................................................................................422
31.2LwM2M connectivity...................................................................................................................................427
AAppendix: Error result codes......................................................................................447
A.1Mobile termination error result codes +CME ERROR............................................................................447
A.2Message service error result codes +CMS ERROR...............................................................................453
A.3Firmware install final result codes............................................................................................................457
A.4FOAT error result codes..............................................................................................................................458
A.5Dynamic DNS unsolicited indication codes............................................................................................ 458
A.6Internal TCP/UDP/IP stack class error codes.........................................................................................459
A.7Internet suite error classes......................................................................................................................... 461
A.8IP change notification error result codes................................................................................................ 472
A.9Ping error result codes.................................................................................................................................472
BAppendix: AT Commands List....................................................................................473
B.1Parameters stored in profiles..................................................................................................................... 499
B.2Parameters stored in non volatile memory............................................................................................ 500
B.3Saving AT commands configuration........................................................................................................506
B.4Estimated maximum command response time.................................................................................... 506
B.5Multiple AT command interfaces............................................................................................................. 508
CMobile Network Operator profiles............................................................................ 510
C.1SARA-R4 Introduction...................................................................................................................................510
C.2SARA-R422-01B / SARA-R422M10S / SARA-R422S-01B / LEXI-R4 Americas MNO and
conformance profiles table..............................................................................................................................511
C.3SARA-R422-01B / SARA-R422M10S / SARA-R422S-01B / LEXI-R4 EMEA MNO profiles table.....513
C.4SARA-R422-00B / SARA-R422M8S / SARA-R422S-00B Americas MNO and conformance
profiles table.......................................................................................................................................................515
C.5SARA-R422-00B / SARA-R422M8S / SARA-R422S-00B EMEA MNO profiles table.......................517
C.6SARA-R410M-02B Americas MNO profile tables................................................................................... 519
C.7SARA-R410M-02B APAC MNO profiles table......................................................................................... 523
C.8SARA-R410M-02B EMEA MNO profiles table........................................................................................ 525
C.9SARA-R410M-52B Americas MNO profiles table...................................................................................527
LEXI-R4 / SARA-R4 series-AT commands manual
UBX-17003787 - R29
C1-Public
Contents Page 13 of 557
C.10SARA-R410M-63B / SARA-R410M-73B / SARA-R410M-83B Americas MNO profiles table........ 529
C.11SARA-R410M-63B / SARA-R410M-73B / SARA-R410M-83B APAC MNO profiles table................ 531
C.12SARA-R410M-83B EMEA MNO profile table.........................................................................................533
C.13SARA-R412M Americas MNO profiles table..........................................................................................534
C.14SARA-R412M EMEA profiles table.......................................................................................................... 537
DAppendix: UDP Direct Link workflow.......................................................................539
D.1Data from the IP network to the external port.......................................................................................539
D.2Data from the external port to the IP network...................................................................................... 539
EAppendix: glossary......................................................................................................... 541
Related documentation......................................................................................................545
Revision history..................................................................................................................... 551
Contact..................................................................................................................................................................... 557
LEXI-R4 / SARA-R4 series-AT commands manual
UBX-17003787 - R29
C1-Public
1AT command settings Page 14 of 557
1AT command settings
u-blox cellular modules provide at least one physical serial interface that is compliant to V.24 [211]. When the
module is powered on, it enters the command mode. For more details on command mode, see Chapter 1.1.
For module and hyper terminal connection and settings see the corresponding evaluation kit user guide.
1.1Definitions
In this document the following naming conventions are used:
MT (Mobile Terminal) or DCE (Data Communications Equipment): u-blox cellular module
TE (Terminal Equipment) or DTE (Data Terminal Equipment): terminal that issues the command to the
module
TA (Terminal Adaptor): the function, integrated in the MT, of supporting AT command interface according
to the applicable standards
ME (Mobile Equipment): equivalent to MT, it is used to refer to the device itself regardless of the inserted
SIM card
The terms DCE and DTE are used in the serial interface context.
SARA-R4 / LEXI-R4
u-blox cellular modules can implement more than one interface between the DTE and the DCE, either
virtual interfaces (multiplexer channels) or physical interfaces (UART, USB, SPI, etc., when available). Each
interface works as specified by the followings definitions. If not differently stated, all the subsequent
descriptions are applicable to each interface. Appendix
B.5 describes the different behavior among the interfaces in reference to the AT command interface.
See the corresponding module data sheet for the list of available AT command interfaces.
SARA-R4 / LEXI-R4
Where supported, two UART AT interfaces can be used at the same time (it is not the default behavior).
See +USIO command description for details on how to set such behavior.
According to the terminology used in the data sheet, UART is the main asynchronous serial interface,
while AUX UART is the auxiliary asynchronous interface. For more details on supported serial interfaces
and their characteristics, see the corresponding module data sheet.
The same naming will be used in the rest of the document (when not clearly specified, the description shall
be considered applicable to both the interfaces).
1.2Operational mode of the AT interface
The DCE/MT interface can operate in these modes:
Command mode: the DCE waits for AT command instructions. The DCE interprets all the characters
received as commands to execute. The DCE may send responses back to the DTE indicating the outcome
of the command or further information without having received any commands by the DTE (e.g. unsolicited
response code - URC). Any communication in the command mode (in both directions) is terminated by the
command line termination character.
Data mode: the DCE transfers data after having sent the "CONNECT" string; all the characters sent to the
DCE are intended to be transmitted to the remote party. Any further characters received over the serial link
are deemed to be from the remote party, and any characters sent are transmitted to the remote party. The
DCE enters data mode immediately after it makes a Circuit Switched Data (CSD) or Packet Switched Data
(PSD) connection (PPP or DUN connection).
Online command mode: the DCE has a data connection established with a remote party, but treats signals
from the DTE as command lines and sends back responses and unsolicited indications to the DTE.
Direct link mode: intermediate state where the DCE transfers data transparently over a connected TCP/
UDP socket (e.g. by means of +USODL), after reporting the "CONNECT" string.
SMS mode: AT commands for writing or sending SMSs lead the AT interface into an intermediate state
indicated by the ">" (greater-than sign) where SMS text/PDU can be entered (DCD signal shall be in ON
state during this operation). <Ctrl-Z> indicates that the SMS editing is completed, while <ESC> indicates
aborting of the edited SMS.
Raw mode: special AT commands lead the AT interface into intermediate state where raw data is being
exchanged (e.g. during file transfer).
LEXI-R4 / SARA-R4 series-AT commands manual
UBX-17003787 - R29
C1-Public
1AT command settings Page 15 of 557
AT commands over an IP connection: the DCE is accepting a TCP connection on a specific TCP port. The
DTE can connect via TCP protocol to the port and can send commands over this TCP connection. The DCE
may send responses back to the DTE via the same TCP connection. The communication over IP connection
is denoted by a set of two ports:
o AT command port;
o binary data port. The binary data port is used for the exchange of binary data between the DCE and DTE.
For more details, on the configuration of the TCP ports see +UIFCONF.
SARA-R4 / LEXI-R4
The AT commands over IP connection is not supported.
SARA-R4 / LEXI-R4
For more details on PSD connection, see the +UPSD and the +CGACT (where supported) AT commands
description.
1.2.1Switch from data mode to online command mode
When a data connection is established it is possible to switch from data mode to online command mode (OLCM)
in the following ways:
with the escape sequence: for more details, see the S2 AT command description
via a DTR transition: during data mode, the current DTR state is not important, but only its transition.
Furthermore, only the DTR transition from ON to OFF is detected; it can be used to control the switch to
OLCM, or to command mode (the data connection is released). For more details, see the &D AT command
description
To switch back to data mode from OLCM the O AT command is used. For more details, see also the &D AT
command.
When using the multiplexer and PPP combined, toggling the DTR line (of the physical serial interface where the
multiplexer protocol is started) from ON to OFF state does not terminate the PPP session and return the device
to the command mode. In this configuration, it is recommended that the host terminates the PPP session,
which can be done by sending LCP_TERM REQ or deasserting the DTR virtual line (sending of specific MUX
MSC command).
SARA-R422 / SARA-R422M10S / SARA-R422M8S / SARA-R422S / LEXI-R4 - For more details, see the
LEXI-R4 / SARA-R42 application development guide [31].
SARA-R410M / SARA-R412M - For more details, see the SARA-R41 application development guide [30].
SARA-R4 / LEXI-R4
The DTR transition is ignored if the DCE is in online command mode during a PPP call. To tear down the
PPP call, switch back to data mode by means of the O AT command and then toggle the DTR from ON
to OFF state.
1.3Command description
The AT commands configure and enable the cellular module functionalities according to 3GPP normative and
u-blox specifications. The AT commands are issued to the module via a hyper terminal through a command
line and are described in the following sections. A general description of each command is provided including
the functionalities, the correct syntax to be provided by the TE/DTE, the allowed responses and an example.
The command description defines each named parameter with its type, its range (valid / acceptable values),
the default value (when available) and the factory-programmed value (when applicable).
For default value it is intended the value automatically set if the parameter is omitted and at the module
power-on (if the command setting is not stored in NVM/profile). For factory-programmed value it is intended
the value set at the module power-on when the setting is not modified respect with the manufacturer setting;
it is valid for the commands that store the setting in NVM/profile.
The summary table on the top of each command section and the Appendix B lists all the u-blox cellular modules
that support that command.
The example provided in the command description refers only to the handling provided by the command.
It may be not valid for all the products which the document is applied to. The list of allowed values for a
specific product is provided in the corresponding "Defined values" section.
In this document <CR><LF> are intentionally omitted in the command syntax.
LEXI-R4 / SARA-R4 series-AT commands manual
UBX-17003787 - R29
C1-Public
1AT command settings Page 16 of 557
If a parameter is omitted, no value will be inserted between the two commas indicating the interested
parameter in the command line sent by the DTE.
1.3.1Default values
If the command parameters are optional, they can be left out in the command line. If not otherwise specified,
the default values are assumed as follows:
For parameters of type Number, the default value is 0
For parameters of type String, the default value is an empty string
1.3.2Command line
The AT commands are typically issued to the cellular modules using a command line with the following generic
syntax:
"AT"<command_name><string><S3_character>
Where:
"AT": prefix to be set at the beginning of each command line
<command_name>: command name string; it can have a "+" character as prefix
<string>: string consisting of the parameters value following the syntax provided in this manual
The following rules are used when describing the command syntax:
o <...>: the name in angle brackets is a parameter. The brackets themselves do not appear in the command
line
o [...]: the square brackets represent the optional parameters of a command or an optional part of the DCE
information text response. Brackets themselves do not appear in the command line. When a parameter
is not given, the value will be set to the default value provided in the command description
Parameter types:
o Number: positive and negative counting numbers, as well as zero {..., -2, -1, 0, 1, 2,...}.
o String: sequence of characters enclosed within quotation marks (" ").
<S3_character>: command line termination character; the factory-programmed termination character is
<CR>
The maximum length of the command line is the maximum number of characters which can be accepted
on a single command line (including the command line termination character).
SARA-R4 / LEXI-R4
The command line is not case sensitive unless autobauding is enabled; in this case the prefix "AT" must
be typed either as "AT" or "at"; other combinations ("aT" or "Ta") are not allowed.
When writing or sending an SMS, Ctrl-Z or ESC terminates the command; <CR> is used between the two
parts of the SMS (address and text).
The serial interface driver generally does not allow a new command until the previous one has been terminated
by "OK" final result code or by an error result code. In specific cases (see the abortability attribute), the
command execution may be aborted if a character is sent to DCE before the command has ended.
1.3.2.1Concatenation of AT commands
More than one AT command can be entered on the same command line. The "AT" prefix must be provided only
at the beginning of the command line. Each command must be separated by using a semicolon as delimiter
only if the command has a "+" character as prefix.
Example: ATI;+CGATT?;+COPS?<CR>
If a command in the command line causes an error, or is not recognized as a valid command, then the execution
is terminated, the remaining commands in the command line are ignored and an error result code is returned.
If all the commands are correctly executed, only the "OK" final result code of the last command is returned.
SARA-R4 / LEXI-R4
Not all the commands can be entered with other commands on the same command line: +CMGW, +CMGS,
+USOWR, +USOST, +UDWNFILE must be used by themselves.
LEXI-R4 / SARA-R4 series-AT commands manual
UBX-17003787 - R29
C1-Public
1AT command settings Page 17 of 557
1.3.3Notes
SARA-R422 / SARA-R422M10S / SARA-R422M8S / SARA-R422S / LEXI-R4
The maximum length of the command line is 2100 characters.
String parameter type limitations - The following characters are not allowed in the parameter string:
o 0x00 (NUL)
o 0x0D (CR)
o 0x15 (NAK)
o 0x22 (")
o 0x2C (,)
SARA-R410M-02B / SARA-R410M-52B / SARA-R410M-63B / SARA-R410M-73B / SARA-R410M-83B
The maximum length of the command line is 2600 characters.
String parameter type limitations - The following characters are not allowed in the parameter string:
o 0x00 (NUL)
o 0x0D (CR)
o 0x15 (NAK)
o 0x22 (")
o 0x2C (,)
SARA-R410M-02B / SARA-R410M-52B / SARA-R412M
On SARA-R410M-02B-00, SARA-R410M-02B-01, SARA-R410M-52B-00, SARA-R410M-52B-01,
SARA-R412M-02B-00, SARA-R412M-02B-01 the maximum length of the command line is 1600
characters.
SARA-R404M / SARA-R410M-01B
The maximum length of the command line is 1600 characters.
String parameter type limitations - The following characters are not allowed in the parameter string:
o 0x00 (NUL)
o 0x0D (CR)
o 0x15 (NAK)
o 0x22 (")
o 0x2C (,)
1.3.4Information text responses and result codes
The AT command response comprises an optional information text string and a final result code that can
assume the format as follows:
Verbose format:
Information text response(s): <S3_character><S4_character><text><S3_character><S4_character>
Final result code: <S3_character><S4_character><verbose code><S3_character><S4_character>
Numerical format:
Information text response(s): <text><S3_character><S4_character>
Final result code: <numerical_code><S3_character>
where
<S3_character> is the command line termination character
<S4_character> is the linefeed character
SARA-R4 / LEXI-R4
The V AT command configures the result code in numeric or verbose format.
The command line termination character can be set with S3 AT command.
The linefeed character can be set with S4 AT command.
Table 1 lists the allowed result codes.
Verbose Numeric Result code type Description
OK 0 Final Command line successfully processed and the command is
correctly executed
CONNECT 1 Intermediate Data connection established
RING 2 Unsolicited Incoming call signal from the network
LEXI-R4 / SARA-R4 series-AT commands manual
UBX-17003787 - R29
C1-Public
1AT command settings Page 18 of 557
Verbose Numeric Result code type Description
NO CARRIER 3 Final Connection terminated from the remote part or attempt to
establish a connection failed
ERROR 4 Final General failure. The +CMEE AT command configures the error
result format
NO DIALTONE 6 Final No dialtone detected
BUSY 7 Final Engaged signal detected (the called number is busy)
NO ANSWER 8 Final No hang up detected after a fixed network timeout
CONNECT<data rate> 9 Intermediate Same as CONNECT including also the data rate (data call).
DELAYED 9 Final Delayed
NOT SUPPORT 10 Final Operation not supported
INVALID COMMAND LINE 11 Final Invalid command line
CR 12 Final Carriage return
SIM DROP 13 Final SIM not inserted
Command aborted 3000 Final Command execution aborted issuing a character to the DCE
DISCONNECT 14 Final Data connection disconnected
ABORTED 18 Final Aborted terminal
Table 1: Allowed result codes
The following result codes are not supported:
SARA-R4 / LEXI-R4 - DISCONNECT, DELAYED, ABORTED, NOT SUPPORT, INVALID COMMAND LINE, CR, SIM DROP.
As already stated in the Preface section (see the "Can be aborted" attribute), some AT commands can be
aborted after having issued them.
SARA-R4 / LEXI-R4
The AT commands cannot be aborted, except if explicitly stated in the corresponding AT command
description.
Intermediate outputs as well as descriptive outputs of a command are formatted as information text
responses; if more than one string has to be printed out (see for example the +CGDCONT command
description), additional command line termination and linefeed characters may be inserted for sake of
readability.
If the command is not accepted by the MT an error result code will be displayed. The +CMEE AT command
configures the error result code format as follows:
"+CMS ERROR: <err>" for SMS-related AT commands
"+CME ERROR: <err>" for any other AT commands
where <err> represents the verbose or numeric error result code depending on the +CMEE AT command
setting.
The most typical error result codes are the following:
If the command is not supported or unknown, either "+CME ERROR: unknown" or "+CME ERROR: operation
not supported" is sent
If the command syntax is wrong, "+CME ERROR: operation not supported" is sent ("+CMS ERROR: operation
not supported" for SMS related commands)
The list of all the possible error result codes is available in Appendix A.1 and Appendix A.2. For some commands
only the "ERROR" final result code is displayed and is documented in the command description.
The proprietary AT commands supporting the following features implement a different error management and
provide different error result codes:
SARA-R4 / LEXI-R4 - Firmware update Over The Air: see the Appendix A.3
SARA-R4 / LEXI-R4 - Firmware update Over AT command: see the Appendix A.4
SARA-R422 / SARA-R422M10S / SARA-R422M8S / SARA-R422S / LEXI-R4 - DNS: see the Appendix A.5 and
Appendix A.6
SARA-R410M / SARA-R412M - DNS: see the Appendix A.6
SARA-R4 / LEXI-R4 - TCP and UDP connections: see the Appendix A.6, Appendix A.7
SARA-R404M / SARA-R410M / SARA-R412M / SARA-R422M10S / SARA-R422M8S / SARA-R422S / LEXI-R4
- FTP: see the Appendix A.7.1
LEXI-R4 / SARA-R4 series-AT commands manual
UBX-17003787 - R29
C1-Public
1AT command settings Page 19 of 557
SARA-R404M / SARA-R410M / SARA-R412M / SARA-R422M10S / SARA-R422M8S / SARA-R422S / LEXI-R4
- HTTP: see the Appendix A.7.2
SARA-R410M / SARA-R412M / SARA-R422M10S / SARA-R422M8S / SARA-R422S / LEXI-R4 - MQTT: see
the Appendix A.7.4
SARA-R422M10S / SARA-R422M8S / SARA-R422S / LEXI-R4 - MQTT-SN: see the Appendix A.7.5
SARA-R422M10S / SARA-R422M8S / SARA-R422S / LEXI-R4 - IP change notification: see the Appendix A.8
SARA-R422M10S / SARA-R422M8S / SARA-R422S / LEXI-R4 - CoAP: see the Appendix A.7.6
SARA-R422 / SARA-R422M10S / SARA-R422M8S / SARA-R422S / LEXI-R4 - Ping: see the Appendix A.9
The corresponding sections provide more details for retrieving the error result codes for these operations.
1.4Storing of AT commands setting
Several user settings may be stored in the cellular module's memory. Some are directly stored in the non volatile
memory (NVM), while the others are organized into two personal profiles (where supported).
Appendix B.2 lists the complete settings that can be directly stored in NVM and the corresponding commands.
SARA-R4 / LEXI-R4
The module does not store the AT commands setting in the personal profiles.
1.5S-parameters
The S-parameters, as specified in ITU-T recommendation V250 [207], constitute a group of commands that
begin with the string "ATS". They are generally indicated as S registers and are used to configure the way the
module operates. Their syntax is:
ATS<parameter_number>?
ATS<parameter_number>=<value>
The number following the "ATS" is the referenced S parameter.
u-blox cellular modules support the following set of S-parameters (<parameter_number>):
AT command S Number Description
S2 2 Escape character setting
S3 3 Command line termination character setting
S4 4 Response formatting character setting
S5 5 Command line editing character setting
S6 6 Pause before blind dialling setting
S7 7 Connection completion timeout setting
S8 8 Command dial modifier time setting
S10 10 Automatic disconnect delay setting
S12 12 Escape prompt delay setting
If a <parameter_number> other than those listed above is introduced, the S command returns an error
result code (+CME ERROR: operation not supported).
1.6+UDCONF AT command
The UDCONF AT commands constitute a group of u-blox proprietary AT commands that allow to configure
some features beloging to i.e network services, internet suite, etc. They are indicated by the "+UDCONF=" string
followed by an <op_code> (i.e. +UDCONF=20). The allowed <op_code> values depend on the module series.
The generic set command syntax is:
AT+UDCONF=<op_code>,<param1>,<param2>,....
while the generic read command syntax is
AT+UDCONF=<op_code>
The test command syntax is defined as follows:
+UDCONF: <op_code1>,(supported <op_code1_param1>),(supported <op_code1_param2>),..
+UDCONF: <op_code2>,(supported <op_code2_param1>),(supported <op_code2_param2>),..
+UDCONF: <op_code3>,(supported <op_code3_param1>),(supported <op_code3_param2>),..
LEXI-R4 / SARA-R4 series-AT commands manual
UBX-17003787 - R29
C1-Public
1AT command settings Page 20 of 557
OK
The test command syntax for <op_code>=110 (NVM RAM mode management) differs respect with the other
<op_code> values:
+UDCONF: 110,"audio","+CLVL,+CRSL,+UMGC,+USGC,+UMSEL,+UMAFE,+USAFE,+UI2S,+USPM"
The string after the <at_group> parameter (i.e. "audio") lists the commands that are impacted by the
corresponding "command class". The allowed values for the <at_group> parameter (i.e. AT+UDCONF=110,
"audio") are provided by means of the corresponding read command.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321
  • Page 322 322
  • Page 323 323
  • Page 324 324
  • Page 325 325
  • Page 326 326
  • Page 327 327
  • Page 328 328
  • Page 329 329
  • Page 330 330
  • Page 331 331
  • Page 332 332
  • Page 333 333
  • Page 334 334
  • Page 335 335
  • Page 336 336
  • Page 337 337
  • Page 338 338
  • Page 339 339
  • Page 340 340
  • Page 341 341
  • Page 342 342
  • Page 343 343
  • Page 344 344
  • Page 345 345
  • Page 346 346
  • Page 347 347
  • Page 348 348
  • Page 349 349
  • Page 350 350
  • Page 351 351
  • Page 352 352
  • Page 353 353
  • Page 354 354
  • Page 355 355
  • Page 356 356
  • Page 357 357
  • Page 358 358
  • Page 359 359
  • Page 360 360
  • Page 361 361
  • Page 362 362
  • Page 363 363
  • Page 364 364
  • Page 365 365
  • Page 366 366
  • Page 367 367
  • Page 368 368
  • Page 369 369
  • Page 370 370
  • Page 371 371
  • Page 372 372
  • Page 373 373
  • Page 374 374
  • Page 375 375
  • Page 376 376
  • Page 377 377
  • Page 378 378
  • Page 379 379
  • Page 380 380
  • Page 381 381
  • Page 382 382
  • Page 383 383
  • Page 384 384
  • Page 385 385
  • Page 386 386
  • Page 387 387
  • Page 388 388
  • Page 389 389
  • Page 390 390
  • Page 391 391
  • Page 392 392
  • Page 393 393
  • Page 394 394
  • Page 395 395
  • Page 396 396
  • Page 397 397
  • Page 398 398
  • Page 399 399
  • Page 400 400
  • Page 401 401
  • Page 402 402
  • Page 403 403
  • Page 404 404
  • Page 405 405
  • Page 406 406
  • Page 407 407
  • Page 408 408
  • Page 409 409
  • Page 410 410
  • Page 411 411
  • Page 412 412
  • Page 413 413
  • Page 414 414
  • Page 415 415
  • Page 416 416
  • Page 417 417
  • Page 418 418
  • Page 419 419
  • Page 420 420
  • Page 421 421
  • Page 422 422
  • Page 423 423
  • Page 424 424
  • Page 425 425
  • Page 426 426
  • Page 427 427
  • Page 428 428
  • Page 429 429
  • Page 430 430
  • Page 431 431
  • Page 432 432
  • Page 433 433
  • Page 434 434
  • Page 435 435
  • Page 436 436
  • Page 437 437
  • Page 438 438
  • Page 439 439
  • Page 440 440
  • Page 441 441
  • Page 442 442
  • Page 443 443
  • Page 444 444
  • Page 445 445
  • Page 446 446
  • Page 447 447
  • Page 448 448
  • Page 449 449
  • Page 450 450
  • Page 451 451
  • Page 452 452
  • Page 453 453
  • Page 454 454
  • Page 455 455
  • Page 456 456
  • Page 457 457
  • Page 458 458
  • Page 459 459
  • Page 460 460
  • Page 461 461
  • Page 462 462
  • Page 463 463
  • Page 464 464
  • Page 465 465
  • Page 466 466
  • Page 467 467
  • Page 468 468
  • Page 469 469
  • Page 470 470
  • Page 471 471
  • Page 472 472
  • Page 473 473
  • Page 474 474
  • Page 475 475
  • Page 476 476
  • Page 477 477
  • Page 478 478
  • Page 479 479
  • Page 480 480
  • Page 481 481
  • Page 482 482
  • Page 483 483
  • Page 484 484
  • Page 485 485
  • Page 486 486
  • Page 487 487
  • Page 488 488
  • Page 489 489
  • Page 490 490
  • Page 491 491
  • Page 492 492
  • Page 493 493
  • Page 494 494
  • Page 495 495
  • Page 496 496
  • Page 497 497
  • Page 498 498
  • Page 499 499
  • Page 500 500
  • Page 501 501
  • Page 502 502
  • Page 503 503
  • Page 504 504
  • Page 505 505
  • Page 506 506
  • Page 507 507
  • Page 508 508
  • Page 509 509
  • Page 510 510
  • Page 511 511
  • Page 512 512
  • Page 513 513
  • Page 514 514
  • Page 515 515
  • Page 516 516
  • Page 517 517
  • Page 518 518
  • Page 519 519
  • Page 520 520
  • Page 521 521
  • Page 522 522
  • Page 523 523
  • Page 524 524
  • Page 525 525
  • Page 526 526
  • Page 527 527
  • Page 528 528
  • Page 529 529
  • Page 530 530
  • Page 531 531
  • Page 532 532
  • Page 533 533
  • Page 534 534
  • Page 535 535
  • Page 536 536
  • Page 537 537
  • Page 538 538
  • Page 539 539
  • Page 540 540
  • Page 541 541
  • Page 542 542
  • Page 543 543
  • Page 544 544
  • Page 545 545
  • Page 546 546
  • Page 547 547
  • Page 548 548
  • Page 549 549
  • Page 550 550
  • Page 551 551
  • Page 552 552
  • Page 553 553
  • Page 554 554
  • Page 555 555
  • Page 556 556
  • Page 557 557

u-blox LEXI-R4-SARA-R4_AT Interface Manual

Category
Networking
Type
Interface Manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI