AirPrime - HL78xx - AT Commands Interface Guide - Rev12 PDF
AirPrime - HL78xx - AT Commands Interface Guide - Rev12 PDF
AirPrime - HL78xx - AT Commands Interface Guide - Rev12 PDF
41111821
12
August 04, 2020
AT Commands Interface Guide
Important Notice
Due to the nature of wireless communications, transmission and reception of data can never be
guaranteed. Data may be delayed, corrupted (i.e., have errors) or be totally lost. Although significant
delays or losses of data are rare when wireless devices such as the Sierra Wireless modem are used
in a normal manner with a well-constructed network, the Sierra Wireless modem should not be used
in situations where failure to transmit or receive data could result in damage of any kind to the user or
any other party, including but not limited to personal injury, death, or loss of property. Sierra Wireless
accepts no responsibility for damages of any kind resulting from delays or errors in data transmitted or
received using the Sierra Wireless modem, or for failure of the Sierra Wireless modem to transmit or
receive such data.
The driver or operator of any vehicle should not operate the Sierra Wireless modem while in control of
a vehicle. Doing so will detract from the driver or operator’s control and operation of that vehicle. In
some states and provinces, operating such communications devices while in control of a vehicle is an
offence.
Limitations of Liability
This manual is provided “as is”. Sierra Wireless makes no warranties of any kind, either expressed or
implied, including any implied warranties of merchantability, fitness for a particular purpose, or
noninfringement. The recipient of the manual shall endorse all risks arising from its use.
The information in this manual is subject to change without notice and does not represent a
commitment on the part of Sierra Wireless. SIERRA WIRELESS AND ITS AFFILIATES
SPECIFICALLY DISCLAIM LIABILITY FOR ANY AND ALL DIRECT, INDIRECT, SPECIAL,
GENERAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES INCLUDING,
BUT NOT LIMITED TO, LOSS OF PROFITS OR REVENUE OR ANTICIPATED PROFITS OR
REVENUE ARISING OUT OF THE USE OR INABILITY TO USE ANY SIERRA WIRELESS
PRODUCT, EVEN IF SIERRA WIRELESS AND/OR ITS AFFILIATES HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES OR THEY ARE FORESEEABLE OR FOR CLAIMS BY ANY
THIRD PARTY.
Notwithstanding the foregoing, in no event shall Sierra Wireless and/or its affiliates aggregate liability
arising under or in connection with the Sierra Wireless product, regardless of the number of events,
occurrences, or claims giving rise to liability, be in excess of the price paid by the purchaser for the
Sierra Wireless product.
Patents
This product may contain technology developed by or for Sierra Wireless Inc.
This product is manufactured or sold by Sierra Wireless Inc. or its affiliates under one or more patents
licensed from MMP Portfolio Licensing.
Copyright
© 2019 Sierra Wireless. All rights reserved.
Trademarks
Sierra Wireless®, AirPrime®, AirLink®, AirVantage®, WISMO®, ALEOS® and the Sierra Wireless and
Open AT logos are registered trademarks of Sierra Wireless, Inc. or one of its subsidiaries.
Watcher® is a registered trademark of NETGEAR, Inc., used under license.
Windows® and Windows Vista® are registered trademarks of Microsoft Corporation.
Macintosh® and Mac OS X® are registered trademarks of Apple Inc., registered in the U.S. and other
countries.
QUALCOMM® is a registered trademark of QUALCOMM Incorporated. Used under license.
Other trademarks are the property of their respective owners.
Contact Information
Sales information and technical support, including Web: sierrawireless.com/company/contact-us/
warranty and returns Global toll-free number: 1-877-687-7795
6:00 am to 5:00 pm PST
Document History
Version Date Updates
Deleted:
• 1.2.3 Multiple AT Commands on the Same Command Line
2.0 July 13, 2018
• 5.4 CMER Command: Mobile Equipment Event Reporting
• 5.6 +CCID Command: Request SIM Card Identification
Added:
• 2.10 &C Command: Set Data Carrier Detect (DCD) Function Mode
• 2.11 &D Command: Set Data Terminal Ready (DTR) Function Mode
• 2.12 &S Command: DSR Option
• 2.13 &R Command: RTS/CTS Option
• 2.15 S4 Command: Set Response Formatting Character
• 3.11 +CMUX Command: Multiplexer
• 3.12 +WPPP Command: PDP Context Authentication Configuration
• 5.17 +CEDRXRDP Command: eDRX Read Dynamic Parameters
• 5.24 +KSLEEP Command: Power Management Control
• 5.25 +KRIC Command: Ring Indicator Control
• 5.26 +CPOF Command: Power Off
• 5.27 +CPWROFF Command: Power Off
3.0 July 31, 2018 • 5.28 +WIMEI Command: IMEI Write and Read
• 5.29 +KSYNC Command: Application Synchronization Signal
• 8.7 +CGCONTRDP Command: PDP Context Read Dynamic
Parameter
• 8.8 +CGSCONTRDP Command: Secondary PDP Context Read
Dynamic Parameter
• 9.9 SSL Configuration
• 9.10 SSL Certificate Manager
• 9.11.9 +KTCP_IND Notification: TCP Status
• 9.11.10 +KTCPSTART Command: Start a TCP Connection in Direct
Data Flow
• 10.1 +WDSC Command: Device Services Configuration
Updated:
• <cnx cfg> in 9 Protocol Specific Commands
• 10.5 +WDSI Command: Device Services Indications
Added:
• 1.4 SIM Application Toolkit
• 4.1 D Command: Dial Number
• 5.2 +CCID Command: Request SIM Card Identification
Updated:
• 2.5 &F Command: Restore Factory Settings
• 2.6 &V Command: Display Current Configuration
4.0 October 02, 2018 • 2.7 &W Command: Write Current Configuration
• 3.6 +KGSN Command: Request Product Serial Number and
Software Version
• 5.14 +CTZR Command: Time Zone Reporting
• 5.19 +KBNDCFG Command: Set Configured LTE Band(s)
• 5.20 +KBND Command: Get Active LTE Band(s)
• 5.21+KGPIO Command: Hardware IO Control
• 5.22 +KGPIOCFG Command: GPIO Configuration
• 5.23 +KCELL Command: Cell Environment Information
Updated:
• 5.24 +KSLEEP Command: Power Management Control
• 5.25 +KRIC Command: Ring Indicator Control
• 5.29 +KSYNC Command: Application Synchronization Signal
• 5.30 +KCARRIERCFG Command: Set Operator
• 9.3 Session ID
October 02, 2018 • 9.8.3 +KIPOPT Command: General Options Configuration
4.0 • 9.9 SSL Configuration
• 9.10.1 +KCERTSTORE Command: Store Root CA and Local
Certificates to Internal Storage
• 9.10.2 +KPRIVKSTORE Command: Store Private Key Associated
to a Local Certificate
• 10 AVMS Commands
• Table 4 Command Timeout
Updated:
4.1 October 03, 2018 • 1.4 SIM Application Toolkit
• 10.1 +WDSC Command: Device Services Configuration
4.2 October 04, 2018 Updated 5.19 +KBNDCFG Command: Set Configured LTE Band(s)
Added:
• 2.16 +IFC Command: DTE-DCE Local Flow Control
• 3.13 +HWREV Command: Request Hardware Revision
• 5.31 +KMON Command: Enable/Disable Monitor Mode
Updated:
• 2.9 +IPR Command: Set Fixed Local/DTE Rate
• 3.1 I Command: Request Identification Information
• 3.12 +WPPP Command: PDP Context Authentication Configuration
• 5.1 +CCLK Command: Real Time Clock
• 5.7 +CSQ Command: Signal Quality
• 5.8 +KSREP Command: Mobile Start-up Reporting
• 5.15 +CPSMS Command: Power Saving Mode Setting
5.0 October 29, 2018
• 5.16 +CEDRXS Command: eDRX Setting
• 5.17 +CEDRXRDP Command: eDRX Read Dynamic Parameters
• 5.23 +KCELL Command: Cell Environment Information
• 5.24 +KSLEEP Command: Power Management Control
• 6.4 +COPS Command: Operator Selection
• 6.8 +CEREG Command: EPS Network Registration Status
• 8.11 +CGSMS Command: Select Service for MO SMS Messages
• 9.11.1 +KTCPCFG Command: TCP Connection Configuration
• 9.12.1 +KUDPCFG Command: UDP Connection Configuration
• 10.6 +WDSR Command: Device Services Reply
• 10.7 +WDSS Command: Device Services Session
• Table 4 Command Timeout
5.1 October 30, 2018 Updated 6.4 +COPS Command: Operator Selection
Added:
6.0 November 27, 2018 • 5.32 +KSRAT Command: Set Radio Access Technology
• 11 Test Commands
Updated:
• 2.9 +IPR Command: Set Fixed Local/DTE Rate
• 2.10 &C Command: Set Data Carrier Detect (DCD) Function Mode
• 2.11 &D Command: Set Data Terminal Ready (DTR) Function Mode
• 2.12 &S Command: DSR Option
• 3.7 +CSCS Command: Set TE Character Set
• 3.12 +WPPP Command: PDP Context Authentication Configuration
• 4.2 +CEER Command: Extended Error Report
• 5.4 +CFUN Command: Set Phone Functionality
• 5.6 +CPAS Command: Phone Activity Status
• 5.16 +CEDRXS Command: eDRX Setting
• 5.18 +CESQ Command: Extended Signal Quality
• 5.19 +KBNDCFG Command: Set Configured LTE Band(s)
• 5.20 +KBND Command: Get Active LTE Band(s)
• 5.24 +KSLEEP Command: Power Management Control
6.0 November 27, 2018
• 5.30 +KCARRIERCFG Command: Set Operator
• 6.4 +COPS Command: Operator Selection
• 6.5 +CPOL Command: Preferred PLMN List
• 6.6 +CREG Command: Network Registration
• 6.8 +CEREG Command: EPS Network Registration Status
• 9.4 Connection of PDP Contexts
• 9.8.3 +KIPOPT Command: General Options Configuration
• 9.9 SSL Configuration
• 9.12.2 +KUDPRCV Command: Receive Data through a UDP
Connection
• Table 4 Command Timeout
• 14.3.2 CEER Error Codes
Deleted:
• 6.3 CNUM Command: Subscriber Number
• 7 Phone Book Management
Updated:
6.1 December 04, 2018 • 5.16 +CEDRXS Command: eDRX Setting
• 2.13 &R Command: RTS/CTS Option
Added:
• 3.14 +KALTCFG: Set and Get Custom Configuration
• 3.15 +KHWIOCFG: Enable and Disable IO Features
• 5.33 +KNWSCANCFG Command: Configure Network Scan Policy
• 5.34 +CRCES Command: Read Coverage Enhancement Status
• 5.35 +KADC Command: Analog Digital Converter
7.0 February 28, 2019 • 5.36 +WESHDOWN Command: Emergency Shutdown
• 5.37 +KCELLMEAS Command: Request Network Coverage
Information
• 8.12 +CSODCP Command: Send Originating Data via the Control
Plane
• 8.13 +CRTDCP Command: Report Terminating Data via the Control
Plane
• 9.11.10 +KTCPSTAT Command: Get TCP Socket Status
Added:
• 10.8 +WDSTPF Command: Device Services Third Party FOTA
7.0 February 28, 2019
• 12 GNSS Commands
• 13 NV Commands
Updated:
• 2.9 +IPR Command: Set Fixed Local/DTE Rate
• 2.14 S2 Command: Set Character for the Escape Sequence (Data
to Command Mode)
• 3.1 I Command: Request Identification Information
• 5.4 +CFUN Command: Set Phone Functionality
• 5.16 +CEDRXS Command: eDRX Setting
• 5.20 +KBND Command: Get Active LTE Band(s)
• 5.21 +KGPIO Command: Hardware IO Control
• 5.25 +KRIC Command: Ring Indicator Control
• 5.26 +CPOF Command: Power Off
• 5.27 +CPWROFF Command: Power Off
• 5.30 +KCARRIERCFG Command: Set Operator
• 5.31 +KMON Command: Enable/Disable Monitor Mode
• 6.5 +CPOL Command: Preferred PLMN List
• 7.2 +CMGD Command: Delete Message
• 7.9 +CNMI Command: New Message Indication
• 8.5 +CGDCONT Command: Define PDP Context
• 9.7.6 +KCNXUP Command: Bring the PDP Connection Up
• 9.8.2 +KURCCFG Command: Enable or Disable the URC from
Protocol Commands
• 9.8.3 +KIPOPT Command: General Options Configuration
• 9.10.1 +KCERTSTORE Command: Store Root CA and Local
Certificates to Internal Storage
• 9.10.2 +KPRIVKSTORE Command: Store Private Key Associated
to a Local Certificate
• 9.11.2 +KTCPCNX Command: Start TCP Connection
• 9.11.8 +KTCP_DATA Notification: Incoming Data through a TCP
Connection
• 9.12.1 +KUDPCFG Command: UDP Connection Configuration
• 9.12.2 +KUDPRCV Command: Receive Data through a UDP
Connection
• 10.1 +WDSC Command: Device Services Configuration
• 10.5 +WDSI Command: Device Services Indications
• Table 4 Command Timeout
• 14.6.1 Client Mode
Updated:
• 5.4 +CFUN Command: Set Phone Functionality
• 5.21 +KGPIO Command: Hardware IO Control
• 5.22 +KGPIOCFG Command: GPIO Configuration
• 5.29 +KSYNC Command: Application Synchronization Signal
7.1 March 06, 2019
• 5.36 +WESHDOWN Command: Emergency Shutdown
• 8.5 +CGDCONT Command: Define PDP Context
• 8.7 +CGCONTRDP Command: PDP Context Read Dynamic
Parameter
• 11 Test Commands
Added:
• 5.38 +KSIMSEL Command: SIM Selection
• 5.39 +KSIMDET Command: SIM Detection
• 5.40 +KUSBCOMP Command: Enable/Disable USB Mode
• 6.10 +CNUM Command: Subscriber Number
• 9.13 HTTP Client Specific Commands
• 9.14 FTP Client Specific Commands
• 14.4 FTP Reply Codes
• 14.7 Switch Data/Command Mode DTR +++ ATO Behavior Table
Updated:
• 3.12 +WPPP Command: PDP Context Authentication Configuration
• 3.14 +KALTCFG: Set and Get Custom Configuration
• 5.20 +KBND Command: Get Active LTE Band(s)
8.0 April 18, 2019 • 5.23 +KCELL Command: Cell Environment Information
• 5.29 +KSYNC Command: Application Synchronization Signal
• 5.33 +KNWSCANCFG Command: Configure Network Scan Policy
• 5.35 +KADC Command: Analog Digital Converter
• 5.36 +WESHDOWN Command: Emergency Shutdown
• 5.37 +KCELLMEAS Command: Request Network Coverage
Information
• 6.9 +CEMODE Command: UE Modes of Operation for EPS
• 8.10 +CGPADDR Command: Show PDP Address
• 9.3 Session ID
• 9.8.1 +KPATTERN Command: Custom End of Data Pattern
• 9.11.1 +KTCPCFG Command: TCP Connection Configuration
• 10.8 +WDSTPF Command: Device Services Third Party FOTA
• 12.3 +GNSSNMEA Command: Configure NMEA Frames Flow
• 14.1 Command Timeout and Other Information
8.1 April 23, 2019 Updated 9.14.3 +KFTPRCV Command: Receive FTP Files
Updated:
• 5.4 +CFUN Command: Set Phone Functionality
• 5.30 +KCARRIERCFG Command: Set Operator
9.0 July 22, 2019
• 10.8 +WDSTPF Command: Device Services Third Party FOTA
• 14.1 Command Timeout and Other Information
• 14.3.1 CME Error Codes
Added 5.41 +KTEMPMON Command: Temperature Monitor
9.1 August 27, 2019
Updated Table 4 Command Timeout
Updated:
• 5.41 +KTEMPMON Command: Temperature Monitor
9.2 September 11, 2019
• 12.4 +GNSSCONF Command: Configure the Location Service and
GNSS Receiver
Updated:
• 3.14 +KALTCFG: Set and Get Custom Configuration
• 3.15 +KHWIOCFG: Enable and Disable IO Features
• 5.16 +CEDRXS Command: eDRX Setting
9.3 September 18, 2019 • 5.25 +KRIC Command: Ring Indicator Control
• 5.37 +KCELLMEAS Command: Request Network Coverage
Information
• 8.5 +CGDCONT Command: Define PDP Context
• 9.7.1 +KCNXCFG Command: GPRS Connection Configuration
Added:
• 5.42 +KCIOTOPT Command: UE Network Capability Information
Configuration
Updated:
• 3.14 +KALTCFG: Set and Get Custom Configuration
• 3.15 +KHWIOCFG: Enable and Disable IO Features
• 3.16 +WDSD Command: Device Services Local Download
• 5.16 +CEDRXS Command: eDRX Setting
• 5.23 +KCELL Command: Cell Environment Information
• 5.25 +KRIC Command: Ring Indicator Control5.27 +CPWROFF
Command: Power Off
• 5.31 +KMON Command: Enable/Disable Monitor Mode
• 5.32 +KSRAT Command: Set Radio Access Technology
10 February 2020
• 5.40 +KUSBCOMP Command: Enable/Disable USB Mode
• 5.41 +KTEMPMON Command: Temperature Monitor
• 6.6 +CREG Command: Network Registration
• 8.2 +CGACT Command: PDP Context Activate or Deactivate
• 9.11.1 +KTCPCFG Command: TCP Connection Configuration
• 9.12.7 +KUDP_DATA Notification: Incoming Data through a UDP
Connection
• 9.14.1 +KFTPCFG Command: FTP Connection Configuration
• 9.14.2 +KFTPCNX Command: Start FTP Connection
• 9.14.5 +KFTPDEL Command: Delete FTP Files
• 9.14.9 +KFTPLS Command: List File Size of a Specific File
• 14.1 Command Timeout and Other Information Table 4 Command
Timeout
Added:
• 5.43 +KEDRXCFG Command: Configure eDRX
• 8.14 +KNMPSD Command: No More PS Data
Updated:
• 5.1 +CCLK Command: Real Time Clock
• 5.19 +KBNDCFG Command: Set Configured LTE Band(s)
• 5.23 +KCELL Command: Cell Environment Information
11 April 17, 2020 • 5.41 +KTEMPMON Command: Temperature Monitor
• 7.9 +CNMI Command: New Message Indication
• 9.9.1 +KSSLCRYPTO Command: Cipher Suite Configuration
• 9.10.1 +KCERTSTORE Command: Store Root CA and Local
Certificates to Internal Storage
• 9.10.2 +KPRIVKSTORE Command: Store Private Key Associated
to a Local Certificate
• 9.10.3 +KCERTDELETE Command: Delete Local Certificate from
the Index
• 13.3 +NVBU Command: NV Backup Status and Control
Added:
• 5.44 +KSELACQ Command: Configure Preferred Radio Access
Technology List (PRL)
• 5.45 +KDRXCFG Command: Configure LTE DRX
• 9.11.12 +KTCP_ACK Notification: Status Report for Latest TCP
Data Session
Updated:
• 3.11 +CMUX Command: Multiplexer
• 3.14 +KALTCFG: Set and Get Custom Configuration
• 5.8 +KSREP Command: Enable/Disable Startup URC; Set UART
Enable Timeout
• 5.16 +CEDRXS Command: eDRX Setting
• 5.19 +KBNDCFG Command: Set Configured LTE Band(s)
• 5.23 +KCELL Command: Cell Environment Information
• 5.24 +KSLEEP Command: Power Management Control
• 5.25 +KRIC Command: Ring Indicator Control
• 5.32 +KSRAT Command: Set Radio Access Technology
12 August 04, 2020 • 5.37 +KCELLMEAS Command: Request LTE Network Coverage
Information and Configure URC on Wakeup
• 5.38 +KSIMSEL Command: SIM Selection
• 5.40 +KUSBCOMP Command: Enable/Disable USB Mode
• 5.43 +KEDRXCFG Command: Configure eDRX
• 9.9.1 +KSSLCRYPTO Command: Cipher Suite Configuration
• 9.10.1 +KCERTSTORE Command: Store Root CA and Local
Certificates to Internal Storage
• 9.10.2 +KPRIVKSTORE Command: Store Private Key Associated
to a Local Certificate
• 9.10.3 +KCERTDELETE Command: Delete Local Certificate from
the Index
• 9.11.1 +KTCPCFG Command: TCP Connection Configuration
• 9.11.4 +KTCPSND Command: Send Data through a TCP
Connection
• 9.11.11 +KTCPSTART Command: Start a TCP Connection in Direct
Data Flow
• 9.12.1 +KUDPCFG Command: UDP Connection Configuration
• 12.2 +GNSSSTOP Command: Stop the GNSS Session
The User Equipment (UE) consists of the mobile equipment (ME) and the (U)SIM messages may be
stored in either, but the present document does not distinguish between messages stored in the
(U)SIM or in the ME. The management of message storage in the two parts of the UE is a matter for
the UE implementation.
1.2.1. Parameters
In this document, default parameters are underlined and optional parameters are enclosed in square
brackets.
Optional parameters or sub-parameters can be omitted unless they are followed by other parameters.
A parameter in the middle of a string can be omitted by replacing it with a comma.
When the parameter is a character string, the string must be enclosed in quotation marks.
All space characters will be ignored when using strings without quotation marks.
1.6. Abbreviations
Abbreviation Definition
Abbreviation Definition
Abbreviation Definition
MO Mobile Originated
MOC Mobile Originated Call (outgoing call)
MS Mobile Station
MSB Most Significant Bit
MSISDN Mobile Station International ISDN Number
MT Mobile Terminal
MTC Mobile Terminated Call (incoming call)
N.A. Not applicable
NCK Network Control Key
NITZ Network Information and Time Zone
NSCK Network Subset Control Key
NTC Negative Temperature Coefficient
N.U. Not used
O Optional
OA Outgoing Access
OPL Operator PLMN List
OS Operating System
OTA Over the Air
PAD Portable Application Description
PAP Password Authentication Protocol
PC Personal Computer
PCCP PC character set Code Page
PCK Personalization Control Key
PCL Power Control Level
PCM Protection Circuit Module
PCN Personal Communication Network
PCS 1900 Personal Communication Service
PDP Packet Data Protocol
PDU Protocol Description Unit
PIN Personal Identification Number
PLMN Public Land Mobile Networks
PNN PLMN Network Name
PPP Point-to-Point Protocol/Peer to Peer
PSTN Public Switched Telephone Network
PTS Product Technical Specification
PUCT Price per Unit and Currency Table
PUK PIN Unlock Key
PWM Pulse Width Modulation
QoS Quality of Service
RAM Random Access Memory
RDMS Remote Device Management Services
RI Ring Indicator
RIL Radio Interface Layer
RLP Radio Link Protocol
Abbreviation Definition
Execute command
Syntax Response
+++ OK
Reference Notes
V.25Ter • This command is only available during data mode. The +++ character
sequence suspends the data flow over the AT interface and switches to
command mode. This allows entering AT commands while maintaining the data
connection to the remote device.
• To return to data mode, use ATO[n].
• Line needs one second silence before and one second after (do not end with
terminating character).
• The "+" character may be changed with ATS2.
• The +++ characters are not transmitted in the data flow.
Test command
Syntax Response
ATO[<n>] TA returns to data mode from command mode:
CONNECT <text>
Parameter
<n> 0 Switch from command mode to data mode
1 – 200 Session ID
Reference Notes
V.25Ter ATO is the alternative command to the +++ escape sequence described in section 2.1.
When a data call has been established and TA is in command mode, ATO causes the TA
to resume the data connection and return to data mode.
Execute command
Syntax Response
ATE[<value>] OK
or
+CME ERROR: <err>
Parameter
<value> 0 Echo OFF
1 Echo ON
Notes • This setting determines whether the TA echoes characters received from the
TE in the command state.
• <value> is set for all AT ports.
Execute command
Syntax Response
AT&K[<mode>] OK
Parameter
<mode> 0 Disable all flow control
3 Enable RTS/CTS flow control
Reference Notes
Rockwell Rev4 Sierra Wireless recommends the use of hardware flow control.
Execute command
Syntax Response
AT&F[<value>] OK
Parameter
<value> 0 or Omitted Restore parameters to factory settings
HL78xx
Reference Notes
V.25Ter • See also AT&V.
• Restore factory settings to active profile.
• Default factory settings for HL78xx are:
E1 Q0 V1 X4 &C1 &D1 &R1 &S0 +IFC=2,2 &K3 +IPR=115200 +FCLASS0
S00:0 S01:0 S03:13 S04:10 S05:8 S07:255 S08:0 S10:1
Examples AT&F
OK
AT&F0
OK
AT&F1
ERROR
Execute command
Syntax Response
AT&V[<value>] ACTIVE PROFILE:
<current configuration>
STORED PROFILE 0:
<user0 default configuration>
STORED PROFILE 1:
<user1 default configuration>
OK
Parameter
<value> 0 or Omitted All Profiles
Reference Notes
Sierra Wireless • At startup, the latest profile stored with AT&W is restored to the Active profile (no
Proprietary restoration if AT&W has not been used).
• The configuration is a text string on multiple lines as shown in the example
below. This string may vary depending on the manufactory, the product and the
user setup.
• AT&V lists +IFC and S01 parameters which are directly editable. +IFC answer
reflects the flow control parameters set by AT&K.
Example E1 Q0 V1 X4 &C1 &D1 &R1 &S0 +IFC=2,2 &K3 +IPR=115200 +FCLASS0
S00:0 S01:0 S03:13 S04:10 S05:8 S07:255 S08:0 S10:1
ATZ AT&F
AT&W
Execute
command
Response
Syntax OK
AT&W[<value>]
Parameter
<value> 0 or Omitted Save in STORED PROFILE 0
1 Save in STORED PROFILE 1
Reference Notes
V.25Ter • This command saves the current configuration in a non-erasable place.
• See also AT&V.
Configuration saved:
E Echo
Q Set result code presentation mode
V Verbose
X Extended result code
&C DCD control
&D DTR behavior
&R RTS control
&S DSR control
+IFC Reflect Flow Control set by AT&K
&K Flow control
+IPR Set Fixed Local/DTE Rate
FCLASS FCLASS
S0 Set number of rings before automatically answering the call
S3 Write command line termination character
S4 Set response formatting character
S5 Write command line editing character
S7 Set number of seconds to wait for connection completion
S8 Comma dial modifier time
S10 Automatic disconnect delay
Example AT&W // Save current configuration to Profile 0
OK
Execute command
Syntax Response
ATZ[<value>] OK
Parameter
<value> 0 Reset and restore user configuration with profile 0
1 Reset and restore user configuration with profile 1
Reference Notes
V.25ter See also AT&V
Test command
Syntax Response
AT+IPR=? +IPR: (list of supported auto-detectable <rate>s)[,(list of fixed-only <rate>s)]
OK
Read command
Syntax Response
AT+IPR? +IPR: <rate>
OK
Write command
Syntax Response
AT+IPR=<rate> OK
or
ERROR
Parameter
<rate> Rate in bits per second
1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200 (default value), 230400, 460800,
921600
Reference Notes
ITU-T V.250 • Configuration is saved in non-volatile memory using AT&W.
• Once the OK response is received, the new <rate> is effective after about 2s.
Execute command
Syntax Response
AT&C<value> OK
Parameter
<value> 0 DCD line is always active
1 DCD line is active in the presence of data carrier only (data call
ongoing)
Reference Notes
V.25ter See data stored by &W for default value.
Execute command
Syntax Response
AT&D<value> OK
Parameters
<value> 0 TA ignores status on DTR
1 DTR drops from active to inactive - change to command mode
while retaining the connected data call
2 DTR drop from active to inactive - disconnect data call, change to
command mode.
Reference Notes
V.25ter See data stored by &W for default value.
Execute command
Syntax Response
AT&S OK
[<override>]
Parameter
<override> 0 or Omitted DSR signal is always active
1 DSR signal is always inactive
HL78xx
Reference Notes
V.25ter See data stored by &W for default value.
Execute command
Syntax Response
AT&R<option> OK
Parameter
<option> 1 Only for compatibility. See AT&K for hardware handshaking.
Reference Notes
V.25ter See data stored by &W for default value.
Read command
Syntax Response
ATS2? <n>
OK
Write command
Syntax Response
ATS2=<n> OK
Parameter
<n> 0-255
Reference Notes
V.25ter • It is mandatory to keep the “+” default character (n=43) for protocol specific
commands (TCP, UDP, FTP, HTTP, etc.)
• Parameters are not saved in non-volatile memory.
Read command
Syntax Response
ATS4? <n>
OK
Write command
Syntax Response
ATS4=<n> OK
Parameter
<n> 10 Response formatting character <LF>: line feed.
Reference Notes
V.25ter • <n> determines the character recognized by TA to terminate answer line. The
value is set to 10 and cannot be changed.
• See data stored by &W for default value.
Test command
Syntax Response
AT+IFC=? +IFC: (list of supported <DCE_by_DTE>s),(list of supported <DTE_by_DCE>s)
OK
Read command
Syntax Response
AT+IFC? +IFC: <DCE_by_DTE>,<DTE_by_DCE>
OK
Write command
Syntax Response
AT+IFC= OK
<DCE_by_DTE>,
<DTE_by_DCE> Parameters
<DCE_by_DTE> Local flow control parameter
0 None
2 RTS (default value)
HL78xx
Reference Notes
Sierra Wireless • Hardware flow control is only effective for AT UART.
Proprietary • Configuration is saved in non-volatile memory using AT&W.
• The valid pairs of values for AT+IFC are '0,0' and '2,2' as only 'Auto RTS CTS -
Hardware' flow control or no flow control are supported.
• +IFC response reflects the flow control parameters set by the AT&K command.
Examples AT+IFC=?
+IFC: (0,2),(0,2)
OK
// Possible settings:
AT+IFC=0,0
OK
AT+IFC?
+IFC: 0,0
OK
AT+IFC=2,2
OK
AT+IFC?
+IFC: 2,2
OK
Execute
command
Response
Syntax // depends on <n>
ATI[<n>] OK
Parameters
<n> 0 or Omitted Display model information (equivalent to +CGMM/+GMM)
3 Display revision identification (equivalent to +CGMR/+GMR)
8 Display modem software version
9 Display component details:
<modem SW version>
<Long revision identification>
<Build Date and Time>
IMEI-SV: <IMEI-SV version>
Legato RTOS: <Legato RTOS version and binary date>
SBUB: <SBUB>
SBFW: <SBFW>
RPuK: <RPuK>
FPuK: <FPuK>
RBUB: <RB>
RBFW: <RB>
<Component>: <Component version>
<Component>: <Component version>
<Component>: <Component version>
…
<IMEI-SV version> 16 digits IMEISV (8 digits for TAC + 6 digits for SNR + 2 SVN
digits)
HL78xx
<RPuK> CRC32 checksum of the root public key in OTP (empty if secure boot is
not active for the bootloader), displayed in hexadecimal.
<FPuK> CRC32 checksum of the firmware package public key (empty if secure
boot is not active for the firmware package), displayed in hexadecimal.
ATI0
HL7800
OK
ATI3
AHL7800.1.2.0.20171116
OK
ATI8
HL7800.1.2.3
OK
HL78xx
PHY: 12.50.202571
PMP: 202576
SBUB: 0
SBFW: 0
RPuK:
FPuK:
RBUB: 0
RBFW: 0
OK
Test command
Syntax Response
AT+CGMI=? OK
AT+GMI=?
Execute command
Syntax Response
AT+CGMI Sierra Wireless
AT+GMI OK
HL78xx
Examples AT+CGMI
Sierra Wireless
OK
AT+GMI
Sierra Wireless
OK
Test command
Syntax Response
AT+CGMM=? OK
AT+GMM=?
Execute command
Syntax Response
AT+CGMM <model>
AT+GMM OK
Parameter
<model> Model indentification text; maximum of 2048 characters (including line
terminators)
Notes This command is identical to ATI and ATI0.
Examples AT+CGMM
HL7800 //When using an HL7800 module
OK
AT+GMM
HL7800 //When using an HL7800 module
OK
Test command
Syntax Response
AT+CGMR=? OK
AT+GMR=?
HL78xx
Execute command
Syntax Response
AT+CGMR <SW release>
AT+GMR OK
Parameter
<SW release> Software release
Notes This command is identical to ATI3.
Examples AT+CGMR
AHL7800.1.2.3.1.20171211
OK
AT+GMR
AHL7800.1.2.3.1.20171211
OK
Test command
Syntax Response
AT+CGSN=? +CGSN: (list of supported <snt>s)
OK
Execute command
Syntax Response
AT+CGSN When <snt>=0 (or omitted) and command is successful:
[=<snt>] <sn>
OK
or
+CME ERROR: <err>
Parameters
<snt> 0 Returns the IMEI
1 Returns the IMEI
2 Returns the IMEISV
3 Returns the SVN
HL78xx
Test command
Syntax Response
AT+KGSN=? +KGSN: (list of supported <number type>s)
OK
Execute command
Syntax Response
AT+KGSN= If <number type> = 0:
<number type> +KGSN: <IMEI>
OK
If <number type> = 1:
+KGSN: <IMEISV>
OK
If <number type> = 2:
+KGSN: <IMEISV_STR>
OK
If <number type> = 3:
+KGSN: <FSN>
OK
If <number type> = 4
+KGSN: <CSN>
OK
Parameters
<IMEI> 15-digit IMEI (8 digits for TAC + 6 digits for SNR + 1 check digit)
<IMEISV> 16-digit IMEISV (8 digits for TAC + 6 digits for SNR + 2 SVN digits)
HL78xx
AT+KGSN=1
+KGSN: 3515780000230001
OK
AT+KGSN=2
+KGSN: 35157800002300-6 SV:01
OK
AT+KGSN=3
+KGSN: T5640400011101
OK
AT+KGSN=4
+KGSN: 00000000000000
OK
Test command
Syntax Response
AT+CSCS=? +CSCS: (list of supported <chset>s)
OK
Read command
Syntax Response
AT+CSCS? +CSCS: <chset>
OK
or
+CME ERROR: <err>
HL78xx
Write command
Syntax Response
AT+CSCS= OK
[<chset>]
or
+CME ERROR: <err>
Parameter
<chset>
"UCS2" 16-bit universal multiple-octet coded character set (ISO/IEC 10646)
"8859-1" ISO 8859 Latin 1-character set
"IRA" International reference alphabet
"HEX" Character strings only consist of hexadecimal numbers from 00 to FF. For
example, “032FE6” equals three 8-bit characters with decimal values 3, 47
and 230. No converstions to the original MT character set shall be done
"PCCP437" PC character set code page 437
Reference Notes
27.007 Rev8 • This command only affects SMS AT commands.
• The value of <chset> is saved in non-volatile memory.
Test command
Syntax Response
AT+CIMI=? OK
Execute command
Syntax Response
AT+CIMI <IMSI>
OK
or
+CME ERROR: <err>
Parameter
<IMSI> International Mobile Subscriber Identity
Reference 27.007 Rev12
Test command
Syntax Response
AT+GSN=? OK
Execute command
Syntax Response
AT+GSN <IMEI> (identification text for determination of the individual ME)
OK
Reference Notes
27.007 Rev13 • This command can work with or without a SIM.
• See also AT+KGSN.
Execute command
Syntax Response
AT+GCAP +GCAP: +CLTE-M1
OK
Reference ITU-T V.250
Test command
Syntax Response
AT+CMUX=? +CMUX: (list of supported <mode>s),(list of supported <subset>s),(list of supported
<port_speed>s),(list of supported <N1>s),(list of supported <T1>s), (list of supported
<N2>s),(list of supported <T2>s),(list of supported <T3>s),(list of supported <k>s)
OK
Read command
Syntax Response
AT+CMUX? +CMUX: <mode>,<subset>,<port speed>,<N1>,<T1>,<N2>,<T2>,<T3>[,<k>]
OK
HL78xx
Write command
Syntax Response
AT+CMUX= OK
<mode>
[,[<subset>] or
[,[<port_speed>]
[,[<N1>][,[<T1>] +CME ERROR: <error>
[,[<N2>][,[<T2>] OK
[,[<T3>][,[<k>]
]]]]]]]] Parameters
<mode> Multiplexer Transparency Mechanism
0 Basic option
1 Advanced option (not supported)
<T2> 2 – 255 Response timer for the multiplexer control channel in units of ten
milliseconds; default value = 30 (300 ms). Note that <T2> must be longer than <T1>.
<T3> 1 – 255 Wake up response timer in seconds; default value = 10. This
parameter is currently not supported. In case of read command, 0 is returned.
<k> 1 – 7 Window size for Advanced operation with Error Recovery options; default
value = 2. This parameter is currently not supported. In case of read command, 0 is
returned.
Reference Notes
[27.007] § 5.7 • This command enables the multiplexing protocol control channel as defined in
3GPP GSM27.010. It sets parameters for the Control Channel (DLC0). If
optional parameters are left out, the default values are used except for <port
speed>; the current baudrate for the communication channel will remain (the
read command provides current baudrate). The final response code OK or CME
ERROR: <err> is returned using the old interface speed; the parameters
become active only after sending OK.
HL78xx
• The module handles the frame data step by step in CMUX mode. If there are
any wrong data in the frame, e.g., wrong CRC, nothing will be returned to the
terminal, and the module will wait for a valid frame data.
• If AT+CFUN is entered with <rst>=1, all open CMUX channels will be closed and
the module will reset.
• There is no activity timeout to return to AT mode after entering MUX mode.
• MUX DLC ports are not persistent over power cycles. After a power cycle, DLC
ports need to be re-established.
• When an established MT call is hanged up from the caller side, NO CARRIER
will only be sent to the port on which the call was established (i.e. the port on
which ATD/ATA was sent).
Test command
Syntax Response
AT+WPPP=? +WPPP: (list of supported <Auth>s),(list of supported <cid>s)
OK
Read command
Syntax Response
AT+WPPP? +WPPP: <Auth>,[<cid>],[<username>],[<password>]
OK
Write command
Syntax Response
AT+WPPP= OK
<Auth>,[<cid>],
[<username>], or
[<password>]
+CME ERROR <err>
Parameters
<Auth> Type of authentication supported
0 None
1 PAP
2 CHAP
HL78xx
Reference Notes
Sierra Wireless • The write command can be used only if the module has no PDP context activated.
Proprietary To set the parameters, it is required to deactivate the context or switch the radio off
Command before sending the write command and reactivate or switch the radio on after.
• If credentials <username> and/or <password> are modified while the radio is off
(CFUN=0 or CFUN=4), the device must be reset to take them into account.
Examples AT+WPPP=?
+WPPP: (0-2),(1-5)
OK
AT+WPPP=1,1,“myusername”,“mypassword”
OK
AT+WPPP?
+WPPP: 1,1,“myusername”,“mypassword”
OK
Test command
Syntax Response
AT+HWREV=? OK
Execute command
Syntax Response
AT+HWREV +HWREV: <hardware revision>
OK
Parameter
<hardware revision> Module hardware revision represented by 2 digits,
separated by a decimal point
Reference Note
Sierra Wireless • This command gives the module’s hardware revision.
Proprietary • This command is available even if SIM is not inserted.
Command
Examples AT+HWREV=?
OK
AT+HWREV
+HWREV: 1.0
OK
Test command
Syntax Response
AT+KALTCFG=? +KALTCFG: (list of supported <mode>s),(list of supported <param>s)
OK
Write command
Syntax Response
AT+KALTCFG= OK
<mode>,
<param> or
[,<value>]
+CME ERROR: <err>
Parameters
<mode> 0 Set configuration
1 Get configuration
<param>
“RRC_INACTIVITY_TIMER” Inactivity timer for RRC state mismatch recovery
“PS_DEV_MOB_TYPE” Configure optimizations for mobility purpose
<value>
Value when <param> = “RRC_INACTIVITY_TIMER”:
0 – Disable RRC inactivity timer
1 – 10800 (timer in seconds).
Default – 35.
Value when <param> = “PS_DEV_MOB_TYPE”:
1 Mobile (default)
2 Static
Reference Notes
Sierra Wireless • <value> is not relevant when <mode>=1.
Proprietary • Important: When <param> = "RRC_INACTIVITY_TIMER", the value on the
device side must be longer than the inactivity timer running on the network side.
• “RRC_INACTIVITY_TIMER” value is persistent after reset and Firmware
upgrade.
• “PS_DEV_MOB_TYPE” value is persistent after reset and Firmware upgrade.
Examples // Set parameter RRC_INACTIVITY_TIMER to default value (35 seconds)
AT+KALTCFG=0,"RRC_INACTIVITY_TIMER"
OK
HL78xx
// Disable RRC_INACTIVITY_TIMER
AT+KALTCFG=0,"RRC_INACTIVITY_TIMER",0
OK
Test command
Syntax Response
AT+KHWIOCFG= +KHWIOCFG: (list of supported <featureID>s),(list of supported <mode>s)
? +KHWIOCFG: (list of supported <featureID>s),(list of supported <mode>s),(list of
supported <IO>s)
OK
Read command
Syntax Response
AT+KHWIOCFG? + KHWIOCFG: <featureID>,<mode>
[…]
+ KHWIOCFG: 3,<mode>,<IO>
OK
HL78xx
Write command
Syntax Response
AT+KHWIOCFG= OK
<featureID>,
<mode> [,<IO>] or
+CME ERROR: <err>
Parameters
<featureID> 0 Power On button
1 32kHz clock output
2 26MHz clock output
3 Low power mode monitoring
4 External RF voltage control
5 TX_ON indicator
HL78xx
Test command
Syntax Response
AT+WDSD=? +WDSD: (list of supported <Size>s)
OK
Write command
Syntax Response
AT+WDSD= <NACK>
<Size> // User sends data
OK
or
+CME ERROR: <err>
Parameter
<Size> 1 – <maximum size> Package size in bytes
Reference Notes
Sierra Wireless • This command is available when the module has finished its initialization.
Proprietary • The response to AT+WDSD=<Size> is the <NACK> character when the device
is ready to receive data using the 1K-Xmodem or 128-Xmodem protocol.
• No reset is made during the package download.
• A timeout will happen (and a +CME ERROR: 3 is returned) if no data is sent to
the device in 5 minutes.
• When +WDSD completes (all data is received by the module), a +WDSI: 3
notification will be received requesting a user agreement to install the package.
The only supported +WDSR reply is AT+WDSR=4 (accept the install) – installs
cannot be delayed.
• The +WDSR option 5 (Delay the Install) does not apply to this command.
Examples AT+WDSD=?
+WDSD: (1-24643584)
OK
Test command
Syntax Response
ATD=? 1234567890*#+ABCDPTW,@!
OK
Read command
Syntax Response
ATD? 1234567890*#+ABCDPTW,@!
OK
Execute command
Syntax Response
ATD[<n>] OK If successfully connected
CONNECT Connection has been established
RING The DCE has detected an incoming call signal from the network
NO CARRIER The connection cannot be established
BUSY Engaged (busy) signal detected
NO ANSWER If no hang up is detected after a fixed network timeout
CONNECT <data rate> Same as CONNECT but includes the data rate
RING CTM The MS has detected an incoming CTM call signal from the
network; this code is proprietary
CONNECT FAX Same as CONNECT but includes the indication related to a fax call
Parameter
<n> String of dialing digits and optionally V.25ter modifiers (dialing digits): 0-9, * , #, +,
A, B, C, D, P, T, W, ,, @, ! (maximum length: 20 digits)
Reference Notes
V.25Ter • This command may generally be aborted when receiving an ATH command
during execution.
• Response OK may arrive just after the ATD command or after the call is active
(see AT+COLP).
• <n> is ignored when it is set to ",", "T", "!", "W" or "@"
• When an established MT call is hanged up from the caller side, NO CARRIER
will only be sent to the port on which the call was established (i.e. the port on
which ATD was sent).
Examples ATD*99***3#
CONNECT
~ÿ}#À!}!}!} }4}"}&} } } } }%}&R}8}0D}'}"}(}"ná~~ÿ}#À!}!}!} }4}"}&} } } } }%}&R}8}0D}'}
"}(}"ná~~ÿ}#À!}!}!} }4}"}&} } } } }%}&R}8}0D}'}"}(}"ná~~ÿ}#À!}!}!} }4}"}&} } } } }%}&R
}8}0D}'}"}(}"ná~~ÿ}#À!}!}!} }4}"}&} } } } }%}&R}8}0D}'}"}(}"ná~~ÿ}#À!}!}!} }4}"}&} } }
} }%}&R}8}0D}'}"}(}"ná~~ÿ}#À!}!}!} }4}"}&} } } } }%}&R}8}0D}'}"}(}"ná~~ÿ}#À!}!}!} }4}
"}&} } } } }%}&R}8}0D}'}"}(}"ná~~ÿ}#À!}!}!} }4}"}&} } } } }%}&R}8}0D}'}"}(}"ná~~ÿ}#À
!}!}!} }4}"}&} } } } }%}&R}8}0D}'}"}(}"ná~
NO CARRIER
ATD=?
HL78xx
1234567890*#+ABCDPTW,@!
OK
Test command
Syntax Response
AT+CEER=? OK
Write command
Syntax Response
AT+CEER +CEER: <report>
OK
Parameter
<report> Error information given by the network in text format. Empty if no report is
available. Possible <report> values are listed in 14.3.2 CEER Error Codes.
Reference 27.007 Rev12
Test command
Syntax Response
AT+CMEE=? +CMEE: (list of supported <n>s)
OK
Read command
Syntax Response
AT+CMEE? +CMEE: <n>
OK
Execute command
Syntax Response
AT+CMEE=[<n>] OK
Parameter
<n> 0 Disable +CME ERROR: <err> result code and use ERROR instead
1 +CME ERROR: <err> result code and use numeric <err> values
Reference 27.007 Rev12
Test command
Syntax Response
AT+CCLK=? OK
Read command
Syntax Response
AT+CCLK? +CCLK: <time>
or
+CME ERROR: <err>
Write command
Syntax Response
AT+CCLK= OK
<time>
or
+CME ERROR: <err>
Parameter
<time> String type value with format "yy/MM/dd,hh:mm:ss±zz", where characters
indicate year (last two digits), month, day, hour, minutes, seconds and time zone
(indicates the difference, expressed in quarters of an hour, between the local time and
GMT; range = -96 to +96). E.g. 6th of May 1994, 22:10:00 GMT+2 hours equals to
"94/05/06,22:10:00+08"
Reference Notes
27.007 Rev12 • <time> is not retained after a power cycle or software reset and it cannot be
updated by NITZ or SIB16.
Test command
Syntax Response
AT+CCID=? OK
HL78xx
Read command
Syntax Response
AT+CCID? +CCID: <ICCID>
OK
or
+CME ERROR: <error>
Execute command
Syntax Response
AT+CCID +CCID: <ICCID>
OK
or
+CME ERROR: <error>
Parameter
<ICCID> Integrated Circuit Card ID of the SIM card
Execute command
Syntax Response
AT+CLAC <AT command 1>
[<CR><LF><AT command 2>[..]]
OK
or
+CME ERROR: <err>
Parameter
<AT command> AT command (including the prefix “AT”)
Notes This command provides the AT command list available for the user.
Test command
Syntax Response
AT+CFUN=? +CFUN: (list of supported <fun>s), (list of supported <rst>s)
OK
or
+CME ERROR: <err>
Read command
Syntax Response
AT+CFUN? +CFUN: <fun>
OK
or
+CME ERROR: <err>
Write command
Syntax Response
AT+CFUN=<fun> OK
[,<rst>]
or
+CME ERROR: <err>
Parameters
<fun> 0 Minimum functionality
1 Full functionality
4 Disable phone both transmit and receive RF circuits
5 – 127 Not supported
Test command
Syntax Response
AT+CPIN=? OK
HL78xx
Read command
Syntax Response
AT+CPIN? +CPIN: <code>
OK
or
+CME ERROR: <err>
Write command
Syntax Response
AT+CPIN=<pin> OK
[,<newpin>]
or
+CME ERROR: <err>
Parameters
<code> READY MT is not pending for any password
SIM PIN MT is waiting for SIM PIN to be given
SIM PUK MT is waiting for SIM PUK to be given
SIM PIN2 MT is waiting for SIM PIN2 to be given (this <code> is
recommended to be returned only when the last executed
command resulted in PIN2 authentication failure (i.e. +CME
ERROR: 17); if PIN2 is not entered right after the failure, it
is recommended that MT does not block its operation)
SIM PUK2 MT is waiting for SIM PUK2 to be given (this <code> is
recommended to be returned only when the last executed
command resulted in PUK2 authentication failure (i.e. +CME
ERROR: 18); if PUK2 and new PIN2 are not entered right
after the failure, it is recommended that ME does not block
its operation).
PH-SIM PIN MT is waiting for the phone-to-SIM card password to be
given
PH-NET PIN MT is waiting for the network personalization password to
be given
Test command
Syntax Response
AT+CPAS=? +CPAS: (list of supported <pas>es)
OK
or
+CME ERROR: <err>
HL78xx
Execute command
Syntax Response
AT+CPAS +CPAS: <pas>
OK
or
+CME ERROR: <err>
Parameter
<pas> 0 Ready (ME allows commands from TA/TE)
Reference Notes
27.007 Rev12 This command reflects the data connection status.
Test command
Syntax Response
AT+CSQ=? +CSQ: (list of supported <rssi>s),(list of supported <ber>s)
OK
Execute command
Syntax Response
AT+CSQ +CSQ: <rssi>,<ber>
OK
or
+CME ERROR: <err>
Parameters
<rssi> Received signal strength indication
0 -113 dBm or less
1 – 30 -111 to -53 dBm
31 -51 dBm or greater
99 Not known or not detectable
Test command
Syntax Response
AT+KSREP=? +KSREP: (supported <act>s),(supported <timeout>s)
OK
Read command
Syntax Response
AT+KSREP? +KSREP: <act>,<stat>,<timeout>
OK
Write command
Syntax Response
AT+KSREP= OK
<act>
[,<timeout>] Parameters
<act> Indicates if the module must send a +KSUP URC during the startup
0 Disabled – Module does not send the URC
1 Enabled – Module sends the URC
<timeout> Maximum time between boot (wakeup/reset) and UART interface being
enabled
Supported values:
0 – UART interface is enabled as soon as UART configuration (e.g. baud rate,
parity, etc.) is applied.
4000 (Default), 30000 – If module has not fully booted (i.e. all subsystems
initialized) by this time, the UART interface will be enabled immediately.
Note – Until the module is fully booted (i.e. all module subsystems initialized,
including UART), full AT command functionality is not guaranteed.
Unsolicited Response
Notification +KSUP: <stat>
Reference Notes
Sierra Wireless • Current configuration is kept in non-volatile memory after reset.
Proprietary • The unsolicited notification is sent once after the boot process, and after waking
up from Lite Hibernate or Hibernate.
Test command
Syntax Response
AT+CSIM=? OK
Write command
Syntax Response
AT+CSIM= +CSIM: <length>,<response>
<length>, OK
<command>
or
+CME ERROR: <err>
Parameters
<length> Integer type; length of the characters that are sent to TE in <command> or
<response>
Test command
Syntax Response
AT+CCHO=? OK
HL78xx
Write command
Syntax Response
AT+CCHO= <session_id>
<dfname> OK
or
+CME ERROR: <err>
Parameters
<dfname> All selectable applications in the UICC are referenced by a DF name
coded on 1 – 16 bytes
Test command
Syntax Response
AT+CCHC=? OK
Write command
Syntax Response
AT+CCHC= OK
<session_id>
or
+CME ERROR: <err>
Parameter
<sessionid> Session ID to target a specific application on the USIM using logical
channels mechanisms.
Reference 27.007 Rev12
Test command
Syntax Response
AT+CRSM=? OK
Write command
HL78xx
Syntax Response
AT+CRSM= +CRSM: <sw1>,<sw2>[,<response>]
<command> OK
[,<fileid>[,<P1>,
<P2>,<P3>
[,<data> or
[,<pathid>]]]] +CME ERROR: <err>
Parameters
<command> 176 READ BINARY
178 READ RECORD
192 GET RESPONSE
214 UPDATE BINARY
220 UPDATE RECORD
242 STATUS
203 RETRIEVE DATA
219 SET DATA
<fileid> Integer type; this is the identifier of an elementary data file on the SIM.
Mandatory for every command except STATUS.
<P1>, <P2>, <P3> Integer type defining the request. These parameters are mandatory
for every command, except GET RESPONE and STATUS. The values are described in
3GPP TS 51.011 [28]
<pathid> String type that contains the path of an elementary file on the SIM/USIM in
hexadecimal format as defined in ETSI TS 102 221 (e.g. "7F205F70" in SIM and USIM
case). This parameter will only be used in the mode "select by path from MF" as defined
in ETSI TS 102 221 [60].
<sw1>, <sw2> Integer type containing from information the SIM about the
execution of the actual command. These parameters are delivered to the TE in either
successful or failed executions of the command.
Test command
Syntax Response
AT+CTZU=? +CTZU: (list of supported <onoff>s)
OK
Read command
Syntax Response
AT+CTZU? +CTZU: <onoff>
OK
Write command
Syntax Response
AT+CTZU OK
=<onoff>
or
+CME ERROR: <err>
Parameter
<onoff> 0 Disable automatic time zone update via NITZ
1 Enable automatic time zone update via NITZ
Reference 27.007 Rev12
Test command
Syntax Response
AT+CTZR=? +CTZR: (list of supported <reporting>s)
OK
Read command
Syntax Response
AT+CTZR? +CTZR: <reporting>
OK
Write command
Syntax Response
AT+CTZR= OK
<reporting>
or
+CME ERROR: <err>
Parameters
HL78xx
<tz> Sum of the local time zone (difference between the local time and GMT
expressed in quarters of an hour) plus daylight saving time. The format is "±zz",
expressed as a fixed width, 2-digit integer with range -48 to +56. To maintain a fixed
width, numbers in the range -9 to +9 are expressed with a leading zero, e.g. "-09", "+00"
and "+09".
Test command
Syntax Response
AT+CPSMS=? +CPSMS: (list of supported <mode>s),
(list of supported <Requested_Periodic-RAU>s),
(list of supported <Requested_GPRS-READY-timer>s),
(list of supported <Requested_Periodic-TAU>s),
(list of supported <Requested_Active-Time>s)
Read command
Syntax Response
AT+CPSMS? +CPSMS: <mode>,
[<Requested_Periodic-RAU>],
[<Requested_GPRS-READY-timer>],
[<Requested_Periodic-TAU>],
[<Requested_Active-Time>]
HL78xx
Write command
Syntax Response
AT+CPSMS= OK
[<mode>
[,<Requested_ Parameters
Periodic-RAU> <mode> Indication to disable or enable the use of PSM in the UE; integer type
[,<Requested_
GPRS-READY- 0 Disable the use of PSM
timer> 1 Enable the use of PSM
[,<Requested_
Periodic-TAU> <Requested_Periodic-RAU> Requested extended periodic RAU. String type; one
[,<Requested_ byte in an 8 bit-format
Active-Time>]]]]]
<Requested_GPRS-READY-timer> Requested GPRS READY timer value
(T3314) to be allocated to the UE in GERAN/UTRAN. String type; one byte in an 8-bit
format
Test command
Syntax Response
AT+CEDRXS=? +CEDRXS: (range of supported <mode>s),(range of supported <AcT-type>s),(range of
supported <Requested_eDRX_value>s)
Syntax Response
AT+CEDRXS? [+CEDRXS: <AcT-type>, <Requested_eDRX_value>
[<CR><LF>+CEDRXS: <AcT-type>, <Requested_eDRX_value>
[…]]]
OK
Write command
Syntax Response
+CEDRXS= OK
[<mode>
[,<AcT-type> Parameters
[,<Requested_ <mode> Integer type, indicates to disable or enable the use of eDRX in the UE
eDRX_value>]]]
0 Disable the use of eDRX
1 Enable the use of eDRX
HL78xx
2 Enable the use of eDRX and enable the unsolicited result code
+CEDRXP: <AcT-type>[,<Requested_eDRX_value>
[,<NW-provided_eDRX_value>[,<Paging_time_window>]]]
3 Disable the use of eDRX and discard all parameters for eDRX
<Paging_time_window> String type; half a byte in a 4-bit format. The paging time
window referes to bit 8 to 5 of octet 3 of the Extended DRX parameters information
element
Reference Notes
27.007 Rev13 • Important: To enable/disable/configure eDRX, use only +KEDRXCFG or
+CEDRXS. Do not use a combination of both commands.
• If the ability to configure the eDRX Paging Time Window (PTW) is required, use
+KEDRXCFG instead of +CEDRXS.
• Configuration is saved in non-volatile memory and is therefore still effective after a
power cycle.
Test command
Syntax Response
AT+ OK
CEDRXRDP=?
HL78xx
Read command
Syntax Response
AT+CEDRXRDP +CEDRXRDP: <AcT-type>[,<Requested_eDRX_value[,<NW-
provided_eDRX_value>[,<Paging_time_window>]]]
OK
Parameters
<AcT-type> Indicates the type of access technology
0 Access technology does not use eDRX
4 E-UTRAN (WB-S1 mode)
5 E-UTRAN (NB-S1 mode)
<Paging_time_window> String type; half a byte in a 4-bit format. The paging time
window refers to bit 8 to 5 of octet 3 of the Extended DRX parameters information
element
Reference Notes
TS 27.007 Rev13 This command is used to specify the relationship between the type of access technology
and the requested eDRX value.
Test command
Syntax Response
AT+CESQ=? +CESQ: (list of supported <rxlev>s),(list of supported <ber>s),(list of supported
<rscp>s),(list of supported <ecno>s),(list of supported <rsrq>s),(list of supported
<rsrp>s)
OK
Execute command
Syntax Response
AT+CESQ +CESQ: <rxlev>,<ber>,<rscp>,<ecno>,<rsrq>,<rsrp>
OK
Parameters
<rxlev> Integer type; received signal strength level (see 3GPP TS 45.008 [20]
subclause 8.1.4)
0 rssi < -110 dBm
1 -110 dBm ≤ rssi < -109 dBm
2 -109 dBm ≤ rssi < -108 dBm
…
61 -50 dBm ≤ rssi < -49 dBm
62 -49 dBm ≤ rssi < -48 dBm
HL78xx
<rscp> Integer type; received signal code power (see 3GPP TS 25.133 [95]
subclause 9.1.1.3 and 3GPP TS 25.123 [96] subclause 9.1.1.1.3)
255 Not known or not detectable
<ecno> Integer type; ratio of the received energy per PN chip to the total received
power spectral density (see 3GPP TS 25.133 [95] subclause)
255 Not known or not detectable
<rsrq> Integer type; reference signal received quality (see 3GPP TS 36.133 [96]
subclause 9.1.7)
0 rsrq < -19.5 dB
1 -19.5 dB ≤ rsrq < -19 dB
2 -19 dB ≤ rsrq < -18.5 dB
…
32 -4 dB ≤ rsrq < -3.5 dB
33 -3.5 dB ≤ rsrq < -3 dB
34 -3 dB ≤ rsrq
255 Not known or not detectable
<rsrp> Integer type; reference signal received power (see 3GPP TS 36.133 [96]
subclause 9.1.4)
0 rsrp < -140 dBm
1 -140 dBm ≤ rsrp < -139 dBm
2 -139 dBm ≤ rsrp < -138 dBm
…
95 -46 dBm ≤ rsrp < -45 dBm
96 -45 dBm ≤ rsrp < -44 dBm
97 -44 dBm ≤ rsrp
255 Not known or not detectable
Reference Notes
27.007 Rev12 • If the current serving cell is not a GERAN cell, <rxlev> and <ber> are set to
value 99.
• If the current serving cell is not a UTRA FDD or UTRA TDD cell, <rscp> is set
to 255.
• If the current serving cell is not a UTRA FDD cell, <ecno> is set to 255.
• If the current serving cell is not an E-UTRA cell, <rsrq> and <rsrp> are set to
255.
• Consequently, the HL78xx will return:
99 for <rxlev> and <ber>
255 for <rscp> and <ecno>
HL78xx
Test command
Syntax Response
AT+KBNDCFG=? +KBNDCFG: <RAT>,(list of supported <bnd bitmap>s)
OK
Read command
Syntax Response
AT+KBNDCFG? +KBNDCFG: <RAT>,(list of configured <bnd bitmap>s)
OK
Write command
Syntax Response
AT+KBNDCFG +KBNDCFG: <RAT>,(<bnd bitmap>s to configure)
=<RAT>,<bnd OK
bitmap>
Parameters
<RAT> Radio Access Technology
0 CAT-M1
1 NB-IoT (HL7800/HL7802 only)
2 GSM (for HL7802 only)
<bnd bitmap> Band bitmap in hexadecimal format without the 0x prefix. This is
the logical representation of 1<<(BandNumber -1).
(Currently only used for RAT CAT-M1 and NB-1.)
HL78xx
HL78xx
Read command
Syntax Response
AT+KBND? +KBND: <RAT>,(the active <bnd bitmap>)
OK
Parameters
<RAT> Radio Access Technology
0 CAT-M1 (this is the only RAT available on the HL7800-M)
1 NB-IoT
2 GSM (for HL7802 only)
<bnd bitmap> Band bitmap in hexadecimal format without the 0x prefix. This is
the logical representation of 1<<(BandNumber -1).
(Currently only used for RAT CAT-M1 or NB-IoT)
HL78xx
Reference Notes
Sierra Wireless • This command returns the LTE band that the module is currently using and the
Proprietary corresponding RAT.
• If there is no current active band, the returned bitmap is 0.
• +CME_ERROR: 3 is returned is case of bad syntax.
• When using AT+KBNDCFG=<RAT>,<bnd bitmap>, radio re-initialization is
necessary to consider new configured band(s). Otherwise, AT+KBND? won’t be
functional. This can be done by resetting the module (AT+CFUN=1,1).
• Switching RAT is possible with the +KSRAT command.
Examples AT+KBND? // Get the activated network band: LTE band 66 for CAT-M1
+KBND: 0,00020000000000000000
OK
Test command
Syntax Response
AT+KGPIO=? +KGPIO: (list of supported <IO>s),(list of supported <cde>s)
OK
Read command
Syntax Response
AT+KGPIO? OK
HL78xx
Write command
Syntax Response
AT+KGPIO=<IO>, If <cde> = 2:
<cde> +KGPIO: <IO>, <current_value>
OK
Else
OK
Parameters
<IO> 1-8, 10, 11, 14, 15 Selected IO
AT+KGPIO?
OK
AT+KGPIOCFG=1,0,2
OK
AT+KGPIO=1,1
OK
AT+KGPIO=1,0
OK
Test command
Syntax Response
AT+KGPIOCFG= +KGPIOCFG: (list of supported <n>s),(list of supported <dir>s), (list of supported <pull
? mode>s)
OK
HL78xx
Read command
Syntax Response
AT+KGPIOCFG? +KGPIOCFG: <n>,<dir>,<pull mode>[<CR><LF>
+KGPIOCFG: <n>,<dir>,<pull mode>
[...]]
OK
Write command
Syntax Response
AT+KGPIOCFG= OK
<n>,<dir>,
<pull mode> Parameters
<n> 1-8, 10, 11, 14, 15 GPIO number
<dir> Direction
0 Output
1 Input
<pull mode> 0 Pull down. Internal pull down resistor available. Only used in input
mode.
1 Pull up. Internal pull up resistor available. Only used in input mode.
2 No pull. Internal pull up/down resistor NOT available. Only used in
output mode.
Notes • The current configuration is saved in non-volatile memory before a reset.
• Pull down/up mode provides a stable input level.
• AT+KGPIOCFG=? and AT+KGPIOCFG? return a dynamic list of supported
GPIOs. GPIOs assigned to a specific purpose are not listed.
• This command can be used without SIM.
Examples AT+KGPIOCFG=?
+KGPIOCFG: (1,2,3,4,5,6,7,8,10,11,14,15),(0-1),(0-2)
OK
AT+KGPIOCFG?
+KGPIOCFG: 1,0,2
+KGPIOCFG: 2,0,2
+KGPIOCFG: 3,0,2
+KGPIOCFG: 4,0,2
+KGPIOCFG: 5,0,2
+KGPIOCFG: 6,0,2
+KGPIOCFG: 7,0,2
+KGPIOCFG: 8,0,2
+KGPIOCFG: 10,0,2
+KGPIOCFG: 11,0,2
+KGPIOCFG: 14,0,2
+KGPIOCFG: 15,0,2
OK
AT+KGPIOCFG=1,0,2
OK
AT+KGPIOCFG=1,1,1
OK
Test command
Syntax Response
AT+KCELL=? +KCELL: (list of supported <revision>s)
OK
Read command
Syntax Response
AT+KCELL? OK
Write command
Parameters
<revision> 0 Camped cell (pre-4.5.0.0)
2 All surrounding cells
<rich_scan_config>
0 Normal scan (Default) – Returns the strongest cell on
each <Earfcn>.
1 Rich scan – Returns all cells on each <Earfcn> (i.e. the strongest
cell plus all intracells). Note that this increases power consumption
and scan time as compared to a normal scan.
<RSSI> (Serving Cell) 0 – 63 Received signal level of the BCCH carrier. Add -110
to convert value to dBm.
(Neighbor Cell) 0 – 63 Add -110 to convert value to dBm.
<GSM_TA> 0 – 63 Timing advance; only available for serving cell
<LTE_CI> Cell Identity in 8 hexadecimal digits with length = 28 bits. (Ref: 3GPP TS
36.331, 6.3.4, CellIdentity IE)
HL78xx
HL78xx
Examples AT+KCELL=?
+KCELL: (0,2),(0-1),(0-1)
OK
// Normal scan
at+kcell=2,1
OK
+CEREG: 4
+KCELL: 5070,30,061FEC0A,030227,78,35080
+KCELL: 5145,376,01AE180A,030222,60,11006
+KCELL: 0
+CEREG: 5,"2AFE","01AE180A",7
// Rich scan
AT+KCELL =2,1,1
OK
+CEREG: 4
+KCELL: 5145,376,01AE180A,030222,64,11006
+KCELL: 5070,30,061FEC0A,030227,80,35080
+KCELL: 5070,46,061FEC0C,030227,93,35080
+KCELL: 0
+CEREG: 5,"2AFE","01AE180A",7
For more details, refer to AirPrime HL7800 Low Power Modes Application Note (reference number:
2174229).
HL78xx
Test command
Syntax Response
AT+KSLEEP=? +KSLEEP: (list of supported <mngt>s)[,(list of supported <level>s)[,(list of supported
<delay>s)]
OK
Read command
Syntax Response
AT+KSLEEP? +KSLEEP: <mngt>[,<level>[,<delay>]]
OK
Write command
Syntax Response
AT+KSLEEP= OK
<mngt>[,<level>
[,<delay>]] Parameters
<mngt> Defines how the module enter and leave power saving mode
0 Sleep mode permission is driven by a HW signal (DTR). If the signal is active (low
level), the module doesn’t enter sleep mode.
1 Standalone sleep mode. The module decides by itself when it enters sleep mode.
2 Sleep mode is always disabled
<level> Defines the lowest power saving mode that the module can enter. This
parameter is mandatory when <mngt>=0 or 1; not allowed for <mngt>=2.
0 Sleep
1 Lite Hibernate
2 Hibernate
HL78xx
AT+KSLEEP?
+KSLEEP: 0,0,0
OK
AT+KSLEEP=1,2
OK
AT+KSLEEP?
+KSLEEP: 1,2,0
OK
AT+KSLEEP=2
OK
AT+KSLEEP?
+KSLEEP: 2
OK
AT+KSLEEP=0,1,10
OK
AT+KSLEEP?
+KSLEEP: 0,1,10
OK
Test command
Syntax Response
AT+KRIC=? +KRIC: (list of supported <masks>s),(list of supported <shape>s),(list of supported
<pulse duration>s),(list of supported <Ri inverse gpio>s),(list of supported <pull>s)
OK
Read command
Syntax Response
AT+KRIC? +KRIC: <mask>,<shape>,<pulse duration>,<RI inverse gpio>,<pull>
OK
HL78xx
Write command
Syntax Response
AT+KRIC= OK
<mask>
[,<shape> Parameters
[,<pulse
duration>[,<RI <mask> Use of RI signal; bit field type. To set several activation triggers, sum up
inverse the values
gpio>[,<pull>]]]] 0 RI not used (Default)
2 RI activated on SMS (+CMT, +CMTI)
16 RI activated on network state (+CEREG)
32 RI activated on TCP connection request (+KTCP_SRVREQ)
64 RI activated on TCP Data reception (+KTCP_DATA)
128 RI activated on UDP Data reception (+KUDP_DATA)
HL78xx
Examples AT+KRIC=?
+KRIC: (0-240),(0),(1-5),(0,2),(0,1)
OK
AT+KRIC?
+KRIC: 0,0,1,0 // RI deactivated
OK
AT+KRIC?
+KRIC: 192,0,1,0
OK
Execute command
Syntax Response
AT+CPOF OK
Notes • This command powers the module off.
• OK is immediately returned before the power off sequence.
• The only way to wake the module up is to set the WAKEUP pin high.
• When the Power On feature (+KHWIOCFG) is enabled and the power button is
ON, +CPOF will return OK and the module will power off as soon as the power
button is switched OFF.
Test command
Syntax Response
AT+CPWROFF=? OK
HL78xx
Execute command
Syntax Response
AT+CPWROFF OK
[=<mode>]
or
ERROR
Parameter
<mode> Power down mode
1 Fast power down mode
Notes • Not specifying a parameter value for the execute command will perform normal
IMSI detach before powering down.
• <mode>=1 will perform fast power down without an IMSI detach request being
sent to the network.
• The only way to wake the module up is to set the WAKEUP pin high. The
WAKEUP pin must be de-asserted within 1 second of executing
AT+CPWROFF to power off properly.
• When the Power On feature (+KHWIOCFG) is enabled and the power button is
ON, +CPWROFF will return OK and the module will power off as soon as the
power button is switched OFF.
Test command
Syntax Response
AT+WIMEI=? OK
Read command
Syntax Response
AT+WIMEI? +WIMEI: <IMEI>
OK
Write command
Syntax Response
AT+WIMEI= +WIMEI: <IMEI>
<IMEI> OK
Parameter
<IMEI> 14 or 15-digit IMEI as defined in GSM 23.003
HL78xx
at+wimei?
+WIMEI: 354610060035829
OK
at+wimei?
+WIMEI: 354610060035829
OK
Test command
Syntax Response
AT+KSYNC=? +KSYNC: (list of supported <mode>),(list of supported <IO>s)
OK
Read command
Syntax Response
AT+KSYNC? +KSYNC: <mode>,<IO>
OK
Write command
Syntax Response
AT+KSYNC= +KSYNC: <IO>, <current_value>
<mode>,<IO> OK
HL78xx
Parameters
<mode> Synchronization signal mode
0 Disable the generation of synchronization signal
2 Manage the generation of signal according to network status:
Permanently ON – The module is powered on, but not registered in the network
Slow flash (LED is ON for 200ms, OFF for 2s) – The module is powered on
and registered in the network
OFF – The module is either switched off or the flash LED has been disabled by
the user
<IO> 1-8, 10, 11, 14, 15, 20 Defines which GPIO is used as output to indicate the
network status
Notes • <mode> and <IO> settings are automatically saved.
• This command will force the GPIO pins as output, regardless of the
AT+KGPIOCFG configuration.
• Only one GPIO signal can be generated at any time.
• AT+KSYNC=? returns a dynamic list of supported GPIOs. GPIOs assigned to a
specific purpose are not listed.
• This command can be used without a SIM.
Examples AT+KSYNC=?
+KSYNC: (0,2),(1,2,3,4,5,6,7,8,10,11,14,15,20)
OK
AT+KSYNC=2,1
OK
AT+KSYNC?
+KSYNC: 2,1
OK
AT+KSYNC=2,1
OK
HL78xx
Test command
Syntax Response
AT+ +KCARRIERCFG: (list of supported <operator_idx>es)
KCARRIERCFG= OK
?
Read command
Syntax Response
AT+ +KCARRIERCFG: <operator_idx>
KCARRIERCFG? OK
Write command
HL78xx
Syntax Response
AT+ OK
KCARRIERCFG
=<operator_idx> Parameter
<operator_idx> 0 Default
1 Verizon
2 CMCC
3 RJIL
4 KDDI
5 AT&T
6 USCC
7 Docomo
8 Softbank
9 LGU+
10 KT
11 T-Mobile
12 SKT
13 TELSTRA
14 China Telecom
15 Sierra Wireless
Reference Notes
Sierra Wireless Configuration is saved immediately in non-volatile memory. The answer to the write
Proprietary command is therefore displayed a few seconds after it is sent. However, the new
configuration is only taken into account on the next reboot.
Examples AT+KCARRIERCFG=?
+KCARRIERCFG: (0-15)
OK
AT+KCARRIERCFG?
+KCARRIERCFG: 0 // Default configuration selected
OK
Test command
Syntax Response
AT+KMON=? +KMON: (0-2)
OK
HL78xx
Read command
Syntax Response
AT+KMON? +KMON: <n>
OK
Write command
Syntax Response
AT+KMON=<n> OK
or
+CME ERROR: 3
Parameter
<n> Monitor mode configuration
0 Monitor mode disabled (automatic reboot when a crash occurs)
1 Monitor mode enabled (no automatic reboot, backtrace provided for analysis)
2 Mixed monitor mode (backtrace is provided before automatic reboot)
Reference Notes
Sierra Wireless • This command provides the ability to deactivate monitor mode for customer
Proprietary configurations.
• Monitor mode (<n>=1):
o This is a special state that the module enters when a software
exception happens. The module displays the backtrace and all low-
level information needed for debug. Monitor mode prevents the
module from rebooting since it must be manually reset.
o When deploying devices, <n>=0 or 2 are recommended. If <n>=1 is
selected, the device will not automatically reboot in the event of a
crash, and will require the user to manually reboot.
o Is not persistent over power cycle (cold boot). When the module boots,
if <n>=1, the mode changes automatically to 2 (the default value).
• If the Write command is used and the requested configuration is the same as
the current configuration, nothing changes.
• If the Write command is used and the requested configuration is different than
the current configuration:
o The requested configuration is written into flash
o The configuration change is persistent (does not have to be re-entered
after each module reboot), except for <n>=1 as noted above.
Examples AT+KMON=?
+KMON: (0-2)
OK
AT+KMON?
+KMON: 0
OK
Test command
Syntax Response
AT+KSRAT=? +KSRAT: (supported <mode>s),(supported <reboot>s)
OK
Read command
Syntax Response
AT+KSRAT? +KSRAT: <mode>
OK
Write command
Syntax Response
AT+KSRAT= OK
<mode>
[,<reboot>] Parameter
<mode> 0 In the Write format, <mode>=0 is used to switch to the first RAT
in the preferred RAT list (PRL), and fall back to subsequent RATS
in the PRL if cell coverage is lost. If the PRL is empty, switch to
CAT-M1. To set the PRL, see AT+KSELACQ.
// HL7800-M
AT+KSRAT=? // Available modes and reboot values
+KSRAT: (0),(0-1) // CAT-M1 RAT available. Reboot values 0 and 1.
OK
// HL7802
AT+KSRAT=? // Available modes and reboot values
+KSRAT: (0-2),(0-1) // CAT-M1, NB-IoT and GSM RATs available. Reboot values 0 and
1.
OK
HL78xx
Test command
Syntax Response
AT+ +KNWSCANCFG: (list of supported <mode>s),(list of supported <scheme>s),(list of
KNWSCANCFG= supported <min>s),(list of supported <max>s),(list of supported <step>s)
? OK
Read command
Syntax Response
AT+ +KNWSCANCFG: <mode0>,<scheme0>,<min0>,<max0>[,<step0>]
KNWSCANCFG? +KNWSCANCFG: <mode1>,<scheme1>,<min1>,<max1>[,<step1>]
OK
HL78xx
Write command
Syntax Response
AT+ OK
KNWSCANCFG
=<mode> or
[,<scheme>,
<min>,<max> +CME ERROR <err>
[,<step>]]
Parameters
<mode> 0 Out of coverage network scan
1 Initial scan
Other values Reserved for future use
AT+KNWSCANCFG?
+KNWSCANCFG: 0,1,2,30 // OOC scan: Default configuration
+KNWSCANCFG: 1,0,10,100,10 // Initial scan: linear scheme, min=10s, max=100s,
//step=10s
OK
HL78xx
AT+KNWSCANCFG?
+KNWSCANCFG: 0,0,3,90,2 // OOC scan: linear scheme, min=3s, max=90s,
// step=2s
+KNWSCANCFG: 1,0,10,100,10 // Initial scan: linear scheme, min=10s,
// max=100s, step=10s
OK
AT+KNWSCANCFG?
+KNWSCANCFG: 0,0,3,90,2 // linear scheme, min=3s, max=90s, step=2s
+KNWSCANCFG: 1,0,15,150 // Initial scan: expo scheme, min=15s, max=150s
OK
AT+KNWSCANCFG?
+KNWSCANCFG: 0,1,2,30 // OOC scan: expo scheme, min=2s, max=30s
+KNWSCANCFG: 1,0,15,150 // Initial scan: expo scheme, min=15s, max=150s
OK
//Mode 1:
AT+KNWSCANCFG=1
OK
AT+KNWSCANCFG?
+KNWSCANCFG: 0,1,2,30 // OOC scan: expo scheme, min=2s, max=30s
+KNWSCANCFG: 1,1,2,30 // initial scan: expo scheme, min=2s, max=30s
OK
Test command
Syntax Response
AT+CRCES=? OK
HL78xx
Execute command
Syntax Response
AT+CRCES +CRCES:<AcT>,<CE_level>,<CC>
OK
Parameters
<AcT> Integer type; access technology of the serving cell
0 Serving cell has no coverage enhancement
1 E-UTRAN
2 EC-GSM-IoT (A/Gb mode)
3 E-UTRAN (NB-S1 mode)
<CE_level> Integer type; Coverage Enhancement (CE) level of the MT in the serving
cell. Applicable only if <Act>=1 (E-UTRAN) or <Act>=3 (E-UTRAN (NB-S1 mode)).
0 No Coverage Enhancement in the serving cell
1 Coverage Enhancement level 0
2 Coverage Enhancement level 1
3 Coverage Enhancement level 2
4 Coverage Enhancement level 3
<CC> Integer type; Coverage Class (CC) of the MT in the serving cell. Applicable only if
<Act>=2 (EC-GSM-IoT).
0 No Coverage Class in the serving cell
1 Coverage Class 1
2 Coverage Class 2
3 Coverage Class 3
4 Coverage Class 4
5 Coverage Class 5
Reference 27.007 Rel 14
Test command
Syntax Response
AT+KADC=? +KADC: (list of supported <Meas id>s),(list of supported <Meas time>s)
OK
Write command
Syntax Response
AT+KADC= For <Meas id>= 2:
<Meas id>, +KADC: <Meas result>,<Meas id>,<Meas time>[,<Temperature>]
<Meas time>
For other values of <Meas id>:
+KADC: <Meas result>,<Meas id>,<Meas time>
OK
or
+CME ERROR: <err>
HL78xx
Parameters
<Meas id> Measurement ID
2 THERM (internal CTN)
4 ADC0
7 ADC1
<Temperature> Temperature in °C
Reference Notes
Sierra Wireless • Only ADC0 (<Meas id>=4) and ADC1 (<Meas id=7) are available as external
Proprietary input.
• Available range for input ADC0 and ADC1 is [0; 1.8] V.
• If <Meas result> is not available, the answer will display this field as empty.
• This AT command does not require a SIM card.
Examples AT+KADC=2,3
+KADC: ,2,3,25 // no µV measurement available; temperature on internal CTN is 25°C
OK
Test command
Syntax Response
AT+WESHDOWN +WESHDOWN: (list of supported <mode>s),(list of supported <gpio_index>s)
=? OK
Read command
Syntax Response
AT+WESHDOWN +WESHDOWN: <mode>, <gpio_index>
? OK
Write command
Syntax Response
AT+WESHDOWN OK
=<mode>
[,<gpio_index>] or
+CME ERROR: <err>
Parameters
<mode> 0 Disable emergency shutdown feature by GPIO
1 Enable emergency shutdown feature by GPIO
2 Trigger emergency shutdown
HL78xx
<gpio_index> 1-8, 10, 11, 14, 15 Defines which GPIO will be used as input to trigger
the emergency shutdown on the falling edge. Default value = 4.
Reference Notes
Sierra Wireless • <gpio_index> is not needed when <mode>=0 or 2.
Proprietary • Configuration is saved in non-volatile memory and is therefore still effective
after a power cycle.
• GPIOs may already be assigned to other commands such as +KRIC or
+KSYNC. <gpio_index> must be an unassigned GPIO.
• AT+WESHDOWN=? returns a dynamic list of supported GPIOs. GPIOs assigned
to a specific purpose are not listed.
• It might occasionally happen that the OK response to AT+WESHDOWN=2 is not
received on the serial link by the application due to quick shutdown.
• This command can be used without SIM.
• This command performs fast power down without an IMSI detach request being
sent to the network.
• Only one GPIO at a time can be configured for emergency shutdown. The only
way to wake the module up is to set the WAKEUP pin high.
Examples AT+WESHDOWN=?
+WESHDOWN: (0-2),(1,2,3,4,5,6,7,8,10,11,14,15)
OK
AT+WESHDOWN?
+WESHDOWN: 0 // Emergency shutdown by GPIO is not active
OK
AT+WESHDOWN?
+WESHDOWN: 1,4 // A falling edge on GPIO4 will shut down the module
OK
Test command
Syntax Response
AT+KCELLMEAS +KCELLMEAS: (supported <revision>s),(supported <timeout>s)
=? OK
HL78xx
Read command
Syntax Response
AT+KCELLMEAS +KCELLMEAS: <timeout>
? OK
Write command
Syntax Response
AT+KCELLMEAS For <revision>=0, <timeout> is not supported:
=<revision> +KCELLMEAS: <RSRP>,<Downlink Path Loss>,<PUSCH Tx Power>,<PUCCH Tx
[,<timeout>] Power>,<SiNR>
OK
Parameters
<revision> Revision of network information.
0 Standard cell coverage details
1 Extended cell coverage details or timeout value
HL78xx
<UL Repetition Factor> Number of times that mobile-originated (MO) data will be
retransmitted
Supported ranges depend on UE state and RAT:
For UE state = IDLE/RACH:
CAT-M: 1-128
NB-IoT: 1-2048
For UE state = Connected:
CAT-M: 1-2048
NB-IoT: 1-2048
(Note – UL repetition factor values will be higher for higher CE levels.)
Notes • Do not use this command in GSM. The command applies to LTE only.
• This command only returns valid radio measurements if the device has a SIM
and is in RRC connected state.
• +KCELLMEAS URC notes:
o Triggered by setting the WAKEUP pin high.
o Disabled automatically after any data transmission (including TAU) and
remains disabled until the Active Timer (T3324) expires and a
+CREG: 4 URC is received.
If the WAKEUP pin is low when +CREG: 4 is received, module returns
to sleep.
o If no data transmission, but wakup pin is set high and a +CEREG:1 or 5
URC is received, then setting the WAKEUP pin low allows the module
to return to sleep.
Examples AT+KCELLMEAS=?
+KCELLMEAS: (0-1),(0-1200)
OK
AT+KCELLMEAS=0
+KCELLMEAS: -85.0,68.0,-6.3,9.0,23.0
OK
AT+KCELLMEAS=1,10
+KCELLMEAS: 10 // URC received after successful camping attempt
OK
AT+KCELLMEAS=1,10
+KCELLMEAS: ,,,,,,, // URC received after unsuccessful camping attempt
OK
Test command
Syntax Response
AT+KSIMSEL=? +KSIMSEL: (list of supported <mode>s)
OK
Read command
Syntax Response
AT+KSIMSEL? +KSIMSEL: <mode>[, <GPIO>[, <sim_used>]]
OK
Write command
Syntax Response
AT+KSIMSEL= [+KSIMSEL: 4, <sim1_pres>, <sim2_pres>, <sim3_pres>]
<mode>
[,<GPIO>] Parameters
<mode> SIM selection mode
0 Force to select external SIM (default value if there is no embedded SIM)
4 Read SIM presence status
9 Select internal SIM if present. The presence of an external SIM will be ignored
20 Select external SIM if present, else select internal SIM (default value if embedded
SIM is present)
<sim3_pres> -1, 0 Internal SIM is not present (only possible values without embedded
SIM)
1 Internal SIM is present (only possible value with embedded SIM)
Test command
Syntax Response
AT+KSIMDET=? +KSIMDET: (list of supported <mode>s)
OK
Read command
Syntax Response
AT+KSIMDET? +KSIMDET: <mode>
OK
Write command
Syntax Response
AT+KSIMDET=< +KSIMDET: <mode>
mode> OK
Parameter
<mode> Status of unsolicited SIM notification events
0 Disable SIM detection
1 Enable SIM detection
Unsolicited Response
Notification +SIM: <status>
Parameter
<status> Event status
0 Removed
1 Inserted
Reference Notes
Sierra Wireless • This command can be supported even without a SIM card.
Proprietary • This command is only applicable to external SIM card detection.
• Disabling SIM detection is not allowed when +KSIMSEL <mode>=20.
• UIM1_DET (GPIO 3) is used for SIM1 detection. When SIM detection is
disabled, GPIO 3 will be free for customer use via the +KGPIO command.
• Settings are kept after module reboot.
Examples // Enable SIM detection URC indications
AT+KSIMDET=1
OK
HL78xx
// Test command
AT+KSIMDET=?
+KSIMDET: (0-1)
OK
Test command
Syntax Response
AT+KUSBCOMP +KUSBCOMP: (supported <mode>s), (supported <acm0>s), (supported <acm1>s),
=? (supported <acm2>s)
OK
Read command
Syntax Response
AT+KUSBCOMP +KUSBCOMP: <mode>,<acm0>,<acm1>,<acm2>
? OK
HL78xx
Write command
Syntax Response
AT+KUSBCOMP OK
=<mode>[,<acm0
>[,<acm1>[,<acm or
2>]]]
+CME ERROR: 3
Parameter
<mode> USB mode config
0 USB disabled (default)
1 CDC-ACM mode (PID: 0xC001) — Three interfaces supported.
If no optional <acm#> parameters are specified, the default interface assignments
are:
USB-ACM0 — AT port
USB-ACM1 — AT/PPP data port
USB-ACM2 — NMEA data port
If any optional <acm#> parameters are specified, then any <acm> that is not
specified will be assigned 0 (none).
HL78xx
AT+KUSBCOMP?
+KUSBCOMP: 0,0,0,0 // All ACMs = 0 because USB is disabled
OK
// Enable USB, ACM0 uses 0 (none), and ACM1/ACM2 use specified assignments
AT+KUSBCOMP=1,,1,2
OK
AT+KUSBCOMP?
+KUSBCOMP:1,0,1,2 // ACM0 uses port 0, ACM1/ACM2 use specified ports
OK
Test command
Syntax Response
AT+KTEMPMON +KTEMPMON: (list of supported <mode>s),(list of supported <temperature>s),(list of
=? supported <urcMode>s),(list of supported <action>s),(list of supported <hystTime>s),
(list of supported <repGPIO>s)
OK
Read command
Syntax Response
AT+KTEMPMON +KTEMPMON: <mode>,<temperature>,<urcMode>,<action>,<hystTime>,<repGPIO>
? OK
Write command
Syntax Response
AT+KTEMPMON +KTEMPMON: <level>,<value>
=<mode>, OK
[<temperature>
[,<urcMode>
HL78xx
[,<action> Parameters
[,<hystTime> <mode> 0 Disable the module’s internal temperature monitor
[,<repGPIO>]]]]] 1 Enable the module’s internal temperature monitor
<action> 0 No action
1 Automatic shut down when the temperature is beyond
<temperature>
2 The output pin <repGPIO> is tied HIGH when <temperature> is
reached; when the temperature is normal, the output pin <repGPIO>
is tied LOW.
Note that if this parameter is required, it is mandatory to set the <repGPIO> parameter.
<hystTime> 0 – 255 Hysteresis time in seconds. All <action> will only happen if
<temperature> is maintained for at least this period. If value is set to 0, it means <action>
will be taken immediately. Default value = 30.
//default setting
AT+KTEMPMON?
HL78xx
+KTEMPMON: 0,90,0,0,30,255
OK
AT+KTEMPMON?
+KTEMPMON: 1,70,0,0,30,255
OK
AT+KTEMPMON?
+KTEMPMON: 1,70,0,0,20,255
OK
AT+KTEMPMON?
+KTEMPMON: 1,70,0,2,20,1
OK
Test command
Syntax Response
AT+KCIOTOPT= +KCIOTOPT: (list of supported <opt_item>s),(list of supported <val>s)[,(list of supported
? <act>s)]
OK
Read command
Syntax Response
AT+KCIOTOPT? +KCIOTOPT:
<opt_item=0>,<val_act_0>,<val_act_1>
<opt_item=1>,<val_act_0>,<val_act_1>
<opt_item=2>,<val_act_0>,<val_act_1>
<opt_item=3>,<val_act_0>,<val_act_1>
OK
HL78xx
Write command
Syntax Response
AT+KCIOTOPT= OK
<opt_item>,
<val> Parameters
[,<act>]
<opt_item> CIOT optimization/support item (Specific elements of Network Attach
Request Octet 8 (3GPP TS 24.301))
0 Extended PCO IE (Octet 8, bit 8)
1−3 Not implemented, reserved for future use
<val> Value
<val_act_0>, <val_act_1> Values for Cat-M1 and NB-IoT, respectively
0 Disabled
1 Enabled
//default setting
AT+KCIOTOPT?
+KCIOTOPT: 0,0,0
+KCIOTOPT: 1,0,0
+KCIOTOPT: 2,0,0
+KCIOTOPT: 3,0,0
OK
AT+KCIOTOPT?
+KCIOTOPT: 0,0,0
+KCIOTOPT: 1,0,0
+KCIOTOPT: 2,0,0
+KCIOTOPT: 3,0,0
OK
OK
Test command
Syntax Response
+KEDRXCFG= OK
[<mode>]
[,[<AcT-type>] Parameters
[,[<Requested_e <mode> Integer type, indicates to disable or enable the use of eDRX in the UE
DRX_value>]
[,[<Requested_P 0 Disable the use of eDRX
TW_value>]]]] 1 Enable the use of eDRX. (Also enables 3GPP standard +CEDRXP URC.)
2 Enable the use of eDRX and enable the unsolicited result code
+CEDRXP: <AcT-type>[,<Requested_eDRX_value>
[,<NW-provided_eDRX_value>[,<NW-provided_PTW_value>]]]
3 Disable the use of eDRX and discard all parameters for eDRX to the factory
default values.
HL78xx
HL78xx
// Enable eDRX with previously configured parameters for currently active RAT
AT+KEDRXCFG=1
OK
// Enable eDRX for Cat-M1 with previously configured T(eDRX), and T(PTW)=2.56s
AT+KEDRXCFG=1,4,,1
OK
Test command
Syntax Response
AT+KSELACQ=? +KSELACQ: (supported <mode>s),(supported <RAT1>s),( supported <RAT2>s),
(supported <RAT3>s)
OK
Read command
Syntax Response
AT+KSELACQ? +KSELACQ: <RAT1>[,<RAT2>[,<RAT3>]]
OK
Write command
HL78xx
Syntax Response
+KSELACQ= OK
[<mode>] or
[,<RAT1> ERROR
[,<RAT2>
[,<RAT3>]]]
Parameters
<mode> Integer type, configure option
0 Configure PRL
1 Reserved
HL78xx
// In mode 0, set RAT1 to 1 (CAT-M), RAT2 to 2 (NB-IoT), and RAT3 to 3 (GSM). After
manually rebooting, the module will begin scanning for CAT-M cells first. If no cells are
found, module will fallback first to NB-IoT, then GSM, then restart from the beginning of
the PRL.
AT+KSELACQ=0,1,2,3
OK
// In mode 0, clear PRL. After manually rebooting, the module will enter, in order of
priority, either
• the RAT last set with AT+KSRAT (if set when PRL was empty), or
• the RAT that was the first item in the previous PRL.
AT+KSELACQ=0,0
OK
OK
OK
Test command
Syntax Response
AT+KDRXCFG=? +KDRXCFG: (range of supported <DRX_value>s)
Read command
Syntax Response
AT+KDRXCFG? +KDRXCFG: <DRX_value>
OK
Write command
Syntax Response
+KDRXCFG= OK
<DRX_value>]
Parameters
<DRX_value> Integer type, DRX cycle length
0 No preference (network-assigned)
6 320 ms
7 640 ms
8 1280 ms
9 2560 ms
Notes • This command allows the user to configure the LTE DRX cycle length used by
the module. This value is transmitted to the network as part of the Attach
process. If the module is already attached to the network, a Tracking Area
Update will update the network with the a newly configured value.
Most commercial networks will use one of the longer DRX values (1.28s or
2.56s) if the module does not specify a preference. It is mandatory for the
network to accept the DRX value requested by the module.
• Configurations persist across power cycles.
Reference Sierra Wireless proprietary
HL78xx
Test command
Syntax Response
AT+CLCK=? +CLCK: (list of supported <fac>s)
OK
or
+CME ERROR: <err>
Write command
Syntax Response
AT+CLCK=<fac>, If <mode> = 2 and command is successful
<mode> OK
[,<passwd> +CLCK: <status>[,<class1>[<CR>,<LF>
[,<class>]] +CLCK: <status>,class2…]]
or
+CME ERROR: <err>
Parameters
<fac> Values reserved by the present document:
"PS" PH-SIM (lock Phone to SIM/UICC card installed in the currently selected
card slot) (MT asks for the password when other than current SIM/UICC
card is inserted; MT may remember certain previously used cards thus not
requiring password when they are inserted)
"SC" SIM (lock SIM/UICC card) (SIM/UICC asks password in MT power-up and
when this lock command issued)
"PN" Network Personalization
"PU" Network subset Personalization
<mode> 0 Unlock
1 Lock
2 Query status
<passwd> String type; shall be the same as password specified for the facility from
the ME user interface or with command +CPWD
HL78xx
Test command
Syntax Response
AT+CPWD=? +CPWD: list of supported (<fac>,<pwdlength>)s
OK
Write command
Syntax Response
AT+CPWD= OK
<fac>,<oldpwd>,
<newpwd>
or
+CME ERROR: <err>
Parameters
<fac> "PS" PH-SIM (lock Phone to SIM/UICC card installed in the currently selected
card slot) (MT asks for the password when other than current SIM/UICC
card is inserted; MT may remember certain previously used cards thus not
requiring password when they are inserted)
"P2" SIM PIN2 password specified for the facility from the user interface or with
a command.
"SC" SIM (lock SIM/UICC card) (SIM/UICC asks password in MT power-up and
when this lock command issued)
"PN" Network Personalization
"PU" Network subset Personalization
Test command
Syntax Response
AT+COPN=? OK
Execute command
Syntax Response
AT+COPN +COPN: <numeric1>,<alpha1>[<CR><LF>
+COPN: <numeric2>,<alpha2>
[...]]
OK
or
+CME ERROR: <err>
Parameters
<numeric> String type; operator in numeric format (see +COPS)
Test command
Syntax Response
AT+COPS=? +COPS: [list of supported (<stat>, long alphanumeric <oper>, short alphanumeric
<oper>, numeric <oper>[,< AcT>])s][,,(list of supported <mode>s),(list of supported
<format>s)]
OK
or
+CME ERROR: <err>
Read command
Syntax Response
AT+COPS? +COPS: <mode>[,<format>,<oper>[,<AcT>]]
OK
or
+CME ERROR: <err>
HL78xx
Write command
Syntax Response
AT+COPS= OK
[<mode>
[,<format>
or
[,<oper>
[,< AcT>]]]] +CME ERROR: <err>
Parameters
<mode> 0 Automatic; in this case other fields are ignored, and registration is
done automatically by ME
1 Manual (other parameters like format and operator need to be
passed)
2 Deregister from network
3 Sets <format> value. In this case <format> becomes a mandatory
input
<oper> String type given in format <format>; this field may be up to 16 character
long for long alphanumeric format, up to 8 characters for short alphanumeric format and
5 characters long for numeric format (MCC/MNC codes)
<AcT> 7 E-UTRAN
9 E-UTRAN (NB-S1 mode)
Reference Notes
27.007 Rev12 AT+COPS=? is only available when the device is not in RRC Connected state (when it
still has data to transmit or receive). AT+COPS=? will return ERROR if the device is in
RRC Connected state. To ensure that the device is not in RRC Connected state, the
device can be explicitly detached from the network using AT+CGATT=0, for example.
Test command
Syntax Response
AT+CPOL=? +CPOL: (list of supported <index>es),(list of supported <format>s)
OK
or
+CME ERROR: <err>
HL78xx
Read command
Syntax Response
AT+CPOL? +CPOL: <index1>,<format>,<oper1>[,<GSM_AcT1>,<GSM_Compact_AcT1>,
<UTRAN_AcT1>,<E-UTRAN_AcT1>][<CR><LF>
+CPOL: <index2>,<format>,<oper2>[,<GSM_AcT2>,<GSM_Compact_AcT2>,
<UTRAN_AcT2>,<EUTRAN_AcT2>][...]]
OK
or
+CME ERROR: <err>
Write command
Syntax Response
+CPOL=[<index>] OK
[,<format>
[,<oper> or
[,<GSM_AcT>,
<GSM_Compact_ +CME ERROR: <err>
AcT>,
<UTRAN_AcT>, Parameters
<EUTRAN_AcT>] <indexn> Integer type; order number of operator in the SIM/USIM preferred operator
]] list
Test command
Syntax Response
AT+CREG=? +CREG: (list of supported <n>s)
OK
Read command
Syntax Response
AT+CREG? +CREG: <n>,<stat>[,[<lac>],[<ci>],[<AcT>][,<cause_type>,<reject_cause>]]
OK
Write command
Syntax Response
AT+CREG=[<n>] OK
or
+CME ERROR: <err>
Parameters
<n> 0 Disable network registration unsolicited result code
1 Enable network registration unsolicited result code +CREG: <stat>
2 Enable network registration and location information unsolicited result
code +CREG: <stat>[,<lac>,<ci>[,<Act>]]
3 Enable network registration, location information and cause value
information unsolicited result code
+CREG:<stat>[,[<lac>],[<ci>],[<AcT>][,<cause_type>,
<reject_cause>]]
<lac> String-type; 2-byte location area code in hexadecimal format (e.g. "00C3")
<AcT> 0 GSM
7 E-UTRAN
9 E-UTRAN (NB-S1 mode)
Test command
Syntax Response
AT+CPLS=? +CPLS: (list of supported < list>s)
OK
Read command
Syntax Response
AT+CPLS? +CPLS: < list>
OK
Write command
Syntax Response
AT+CPLS= OK
[<cpls_list>]
or
+CME ERROR: <err>
Parameter
<list> 0 User controlled PLMN selector with Access Technology EFPLMNwAcT. If not
found in the SIM/UICC, then the PLMN preferred list is EFPLMNsel (this file
is only available in SIM card or GSM application selected in UICC)
1 Operator controlled PLMN selector with Access Technology EFOPLMNwAcT
2 HPLMN selector with Access Technology EFHPLMNwAcT
Reference 27.007 Rev12
Test command
Syntax Response
AT+CEREG=? +CEREG: (list of supported <n>s)
OK
Read command
Syntax Response
AT+CEREG? when <n>=0, 1, 2 or 3 and command is successful:
+CEREG: <n>,<stat>[,[<tac>],[<ci>],[<AcT>[,<cause_type>,<reject_cause>]]]
OK
HL78xx
Execute command
Syntax Response
AT+CEREG= OK
[<n>]
or
+CME ERROR: <err>
Parameters
<n> 0 Disable network registration unsolicited result code
1 Enable network registration unsolicited result code +CEREG: <stat>
2 Enable network registration and location information unsolicited result
code +CEREG: <stat>[,[<tac>],[<ci>],[<AcT>]]
3 Enable network registration, location information and EMM cause value
information unsolicited result code
+CEREG: <stat>[,[<tac>],[<ci>],[<AcT>][,<cause_type>,
<reject_cause>]]
4 For a UE that wants to apply PSM, enable network registration and
location information unsolicited result code
+CEREG: <stat>[,[<tac>],[<ci>],[<AcT>][,,[,[<Active-
Time>],[<Periodic-TAU>]]]]
5 For a UE that wants to apply PSM, enable network registration, location
information and EMM cause value information unsolicited result code
+CEREG: <stat>[,[<tac>],[<ci>],[<AcT>][,
[<cause_type>],[<reject_cause>][,[<Active-Time>],
[<Periodic-TAU>]]]]
<tac> 2-byte tracking area code in hexadecimal format (e.g. "00C3" equals 195 in
decimal)
HL78xx
<Active-Time> 1-byte in an 8-bit format. Indicates the Active Time value (T3324)
allocated to the UE in E-UTRAN. The Active Time value is coded as one byte (octet 3) of
the GPRS Timer 2 information element coded as bit format (e.g. "00100100" equals 4
minutes). For the coding and the value range, see the GPRS Timer 2 IE in 3GPP TS
24.008 [8] Table 10.5.163/3GPP TS 24.008. Also see 3GPP TS 23.682 [149] and 3GPP
TS 23.401 [82].
<Periodic-TAU> 1-byte in an 8-bit format. Indicates the extended periodic TAU value
(T3412) allocated to the UE in E-UTRAN. The extended periodic TAU value is coded as
one byte (octet 3) of the GPRS Timer 3 information element coded as bit format (e.g.
"01000111" equals 70 hours). For the coding and the value range, see the GPRS Timer
3 IE in 3GPP TS 24.008 [8] Table 10.5.163a/3GPP TS 24.008. Also see 3GPP TS
23.682 [149] and 3GPP TS 23.401 [82].
Reference 27.007 Rev12
Test command
Syntax Response
AT+CEMODE=? +CEMODE: (list of supported <mode>s)
OK
Read command
Syntax Response
AT+CEMODE? +CEMODE: <mode>
OK
Write command
Syntax Response
AT+CEMODE= OK
[<mode>]
or
+CME ERROR: <err>
Parameter
<mode> Indicates mode of operation
0 PS mode 2 of operation
1 CS/PS mode 1 of operation
2 CS/PS mode 2 of operation
3 PS mode 1 of operation
HL78xx
Reference Notes
27.007 Rev12 In NB-IoT, only <mode>=0 is supported.
Test command
Syntax Response
AT+CNUM=? OK
Execute command
Syntax Response
AT+CNUM +CNUM: [<alpha1>],<number1>,<type1>[,<speed>,<service>[,<itc>]][<CR><LF>
+CNUM: [<alpha2>],<number2>,<type2>[,<speed>,<service>[,<itc>]][...]]
OK
or
+CME ERROR: <err>
Parameters
<alphax> Optional alphanumeric string associated with <numberx>; used character set
should be the one selected with command +CSCS
<mem3> String type; preferred memory to which received SMs are to be stored (unless forwarded
directly to TE; refer to +CNMI); refer <mem1> for defined values; received CBMs are
always stored in "BM" (or some manufacturer specific storage) unless directly forwarded
to TE; received status reports are always stored in "SR" (or some manufacturer specific
storage) unless directly forwarded to TE. Default value is “SM”.
<stat> Status of message in memory. Integer type in PDU mode, or string type in text mode.
Available values are as follows:
0 "REC UNREAD" Received unread message (i.e. new message)
1 "REC READ" Received read message
2 "STO UNSENT" Stored unsent message (only applicable to SMs)
3 "STO SENT" Stored sent message (only applicable to SMs)
4 "ALL" All messages (only applicable to +CMGL command)
<total1> Integer type; total number of message locations in <mem1>
<total2> Integer type; total number of message locations in <mem2>
<total3> Integer type; total number of message locations in <mem3>
<used1> Integer type; number of messages currently in <mem1>
<used2> Integer type; number of messages currently in <mem2>
<used3> Integer type; number of messages currently in <mem3>
Test command
Syntax Response
AT+CMGD=? +CMGD: (list of supported <index>es)[,(list of supported <delflag>s)]
OK
Write command
Syntax Response
AT+CMGD= OK
<index>
[,<delflag>]
HL78xx
or
+CMS ERROR: <err>
or
+CME ERROR: <err>
Parameter
<delflag> Integer indicating multiple message deletion request
0 (or omitted) Delete the message specified in <index>
1 Delete all read messages from preferred message storage, leaving
unread messages and stored mobile originated messages (whether sent
or not) untouched
2 Delete all read messages from preferred message storage and sent
mobile originated messages, leaving unread messages and unsent mobile
originated messages untouched
3 Delete all read messages from preferred message storage, sent and
unsent mobile originated messages leaving unread messages untouched
4 Delete all messages from preferred message storage including unread
messages
Notes Execution command deletes message from preferred message storage <mem1>,
location <index>. If <delflag> is present and not set to 0 then the ME shall ignore
<index> and follow the rules for <delflag> shown above.
Test command
Syntax Response
AT+CMGF=? +CMGF: (list of supported <mode>s)
OK
Read command
Syntax Response
AT+CMGF? +CMGF: <mode>
OK
Execute command
Syntax Response
AT+CMGF= OK
[<mode>]
or
+CMS ERROR: err>
Parameter
<mode> 0 PDU mode (default when implemented)
1 Text mode
Notes <mode> is saved in non-volatile memory per AT port over module reboot.
Test command
Syntax Response
AT+CMGL=? +CMGL: (list of supported <stat>s)
OK
Execute command
Syntax Response
AT+CMGL If in text mode, command is successful and SMS-SUBMITs and/or SMS-DELIVERs:
[=<stat>] +CMGL: <index>,<stat>, <oa/da>,[<alpha>], [<scts>][,<tooa/toda>,<length>]
<CR><LF><data>[<CR><LF>
+CMGL: <index>,<stat>, <da/oa>,[<alpha>], [<scts>][,<tooa/toda>, <length>]
<CR><LF><data>
[...]]
or
+CMS ERROR: <err>
Parameters
For parameter information and values, refer to section 7.1 Parameters Definition.
Test command
Syntax Response
AT+CMGR=? OK
HL78xx
Write command
Syntax Response
AT+CMGR= If text mode (+CMGF=1), command is successful, and SMS-DELIVER:
<index> +CMGR: <stat>,<oa>,[<alpha>],<scts>[,<tooa>,<fo>,<pid>,<dcs>,<sca>,<tosca>,
<length>]<CR><LF><data>
or
+CMS ERROR: <err>
Parameters
For parameter information and values, refer to section 7.1 Parameters Definition.
Test command
Syntax Response
AT+CMGS=? OK
Write command
Syntax Response
If text mode If text mode (+CMGF=1) and sending is successful:
(+CMGF=1): [+CMGS: <mr>[,<scts>]]
AT+CMGS=<da> OK
[,<toda>]<CR>
text is entered
if PDU mode (+CMGF=0) and sending is successful:
<ctrl-Z/ESC>
[+CMGS: <mr>]
OK
or
+CMS ERROR: <err>
HL78xx
If PDU mode
(+CMGF=0): Parameters
AT+CMGS= For parameter information and values, refer to section 7.1 Parameters Definition.
<length><CR>
PDU is given
<ctrl-Z/ESC>
Notes • The TA shall send a four-character sequence
<CR><LF><greater_than><space> (IRA 13, 10, 62, 32) after command line is
terminated with <CR>; after that PDU can be given from TE to ME/TA.
• The PDU shall be hexadecimal format (similarly as specified for <pdu>) and
given in one line; ME/TA converts this coding into the actual octets of PDU.
• When the length octet of the SMSC address (given in the PDU) equals zero,
the SMSC address set with +CSCA is used; in this case the SMSC Type-of-
Address octet shall not be present in the PDU, i.e. TPDU starts right after
SMSC length octet.
• Sending can be cancelled by giving <ESC> character.
• <ctrl-Z> must be used to indicate the ending of PDU.
• +CMGS: <mr>[,<scts>] is not available in +CMGS intermediate response as
SMS is sent over IMS using 3GPP2 SMS PDU format and protocol.
Test command
Syntax Response
AT+CMGW=? OK
Write command
Syntax Response
If text mode +CMGW: <index>
(+CMGF=1): OK
AT+CMGW[=
<oa/da>
or
[,<tooa/toda>
[,<stat>]]]<CR> +CMS ERROR: <err>
text is entered
<ctrl-Z/ESC> Parameters
For parameter information and values, refer to section 7.1 Parameters Definition.
If PDU mode
(+CMGF=0):
AT+CMGW=
<length>[,<stat>]
<CR>
PDU is given
<ctrl-Z/ESC>
Notes • Execution command stores a message to memory storage <mem2>, and
memory location <index> of the stored message is returned.
• By default, message status will be set to 'stored unsent', but parameter <stat>
also allows other status values to be given. (ME/TA manufacturer may choose
to use different default <stat> values for different message types.)
• Entering of PDU is done similarly as specified in +CMGS.
Test command
Syntax Response
AT+CMSS=? OK
Write command
Syntax Response
AT+CMSS= If text mode (+CMGF=1) and sending is successful:
<index>[,<da> +CMSS: <mr>[,<scts>]
[,<toda>]]
If PDU mode (+CMGF=0) and sending is successful:
+CMSS: <mr>
OK
or
+CMS ERROR: <err>
Parameters
For parameter information and values, refer to section 7.1 Parameters Definition.
Notes • Execution command sends message with location value <index> from
message storage <mem2> to the network (SMS-SUBMIT or SMS-COMMAND).
If new recipient address <da> is given for SMS-SUBMIT, it shall be used
instead of the one stored with the message.
• Reference value <mr> is returned to the TE on successful message delivery.
Optionally (when +CSMS <service> value is 1 and network supports the
feature), <scts> is returned in text mode.
Test command
Syntax Response
AT+CNMI=? +CNMI: (list of supported <mode>s), (range of supported <mt>s), (list of supported
<bm>s), (range of supported <ds>es), (range of supported <bfr>s)
OK
Read command
Syntax Response
AT+CNMI? +CNMI: <mode>,<mt>,<bm>,<ds>,<bfr>
OK
HL78xx
Write command
Syntax Response
+CNMI=[<mode> OK
[,<mt>[,<bm>
[,<ds>[,<bfr>]]]]] or
+CMS ERROR: <err>
or
ERROR
Parameters
<mode> 1 Discard indication and reject new received message unsolicited
result codes when TA-TE link is reserved. Otherwise forward them
directly to the TE.
2 Buffer unsolicited result codes in the TA when TA-TE link is
reserved (e.g. in on-line data mode) and flush them to the TE after
reservation. Otherwise forward them directly to the TE.
Test command
Syntax Response
AT+CSCA=? OK
Read command
Syntax Response
AT+CSCA? +CSCA: <sca>,<tosca>
OK
Write command
Syntax Response
AT+CSCA=<sca> OK
[,<tosca>]
or
+CMS ERROR: <err>
Parameters
For parameter information and values, refer to section 7.1 Parameters Definition.
Test command
Syntax Response
AT+CSMP=? +CSMP: (list of supported <fo>s), (list of supported <vp>s), (list of supported <pid>s,
(list of supported <dcs>s)
OK
Read command
Syntax Response
AT+CSMP? +CSMP: <fo>,<vp>,<pid>,<dcs>
OK
Write command
Syntax Response
AT+CSMP=[<fo> OK
[,<vp>[,<pid>
[,<dcs>]]]]
Parameters
For parameter information and values, refer to section 7.1 Parameters Definition.
HL78xx
Read command
Syntax Response
AT+CPMS? +CPMS:
<mem1>,<used1>,<total1>,<mem2>,<used2>,<total2>,<mem3>,<used3>,<total3>
OK
or
+CMS ERROR: <err>
Write command
Syntax Response
AT+CPMS= +CPMS: <used1>,<total1>,<used2>,<total2>,<used3>,<total3>
<mem1> OK
[,<mem2>
[,<mem3>]]
or
+CMS ERROR: <err>
Parameters
For parameter information and values, refer to section 7.1 Parameters Definition.
Notes <mem1>, <mem2> and <mem3> are saved in non-volatile memory over module reboot.
Test command
Syntax Response
AT+CSDH=? +CSDH: (list of supported <show>s)
OK
Read command
Syntax Response
AT+CSDH? +CSDH: <show>
OK
Write command
Syntax Response
AT+CSDH= OK
[<show>]
or
+CME ERROR: <err>
HL78xx
Parameter
<show> 0 Do not show header values defined in commands +CSCA and
+CSMP (<sca>, <tosca>, <fo>, <vp>, <pid> and <dcs>) nor
<length>, <toda> or <tooa> in +CMGL, +CMGR result codes for
SMS-DELIVERs and SMS-SUBMITs in text mode; for SMS-
COMMANDs in +CMGR resultcode, do not show <pid>, <mn>,
<da>, <toda>, <length> or <cdata>
1 Show values in result codes
Unsolicited Response
Notification +CMT: [<alpha>], <length><CR><LF><pdu>
+CMT: <oa>,[<alpha>],<scts>[,<tooa>,<fo>,<pid>,<dcs>,<sca>,<tosca>,<length>]
<CR> <LF> <data>
Reference Notes
[27.005] • All parameters are extracted from received message.
• Detailed header information is shown in text mode result codes according to
+CSDH.
Test command
Syntax Response
AT+CGATT=? +CGATT: (list of supported <state>s)
OK
Read command
Syntax Response
AT+CGATT? +CGATT: <state>
OK
Write command
Syntax Response
AT+CGATT= OK
[<state>]
or
ERROR
Parameter
<state> State of PS attachment
0 Detached
1 Attached
Reference 27.007 Rev12
Test command
Syntax Response
AT+CGACT=? +CGACT: (list of supported <state>s)
OK
Read command
Syntax Response
AT+CGACT? [+CGACT: <cid>,<state>]
[<CR><LF>+CGACT: <cid>,<state>
[...]]
OK
HL78xx
Write command
Syntax Response
AT+CGACT= OK
[<state>[,<cid>
[,<cid>[,...]]]]
or
+CME ERROR: <err>
Parameters
<state> Indicates the state of PDP context activation
0 Deactivated
1 Activated
Test command
Syntax Response
AT+CGCMOD=? +CGCMOD: (list of <cid>s addociated with active contexts)
OK
Write command
Syntax Response
AT+CGCMOD= OK
[<cid>[,<cid>
[,...]]]
or
+CME ERROR: <err>
Parameter
<cid> Numeric parameter which specifies a particular PDP context definition (see
+CGDCONT and +CGDSCONT)
Reference 27.007 Rev10
Test command
Syntax Response
AT+CGTFT=? +CGTFT: <PDP_type>, (list of supported <packet filter identifier>s) , (list of supported
<evaluation precedence index>s), (list of supported <source address and subnet
mask>s), (list of supported <protocol number (ipv4) / next header (ipv6)>s), (list of
supported <destination port range>s), (list of supported <source port range>s), (list
of supported <ipsec security parameter index (spi)>s), (list of supported <type of
service (tos) (ipv4) and mask / traffic class (ipv6) and mask>s), (list of supported
<flow label (ipv6)>s), (list of supported <direction>s)
[<CR><LF>+CGTFT: <PDP_type>, (list of supported <packet filter identifier>s), (list
of supported <evaluation precedence index>s), (list of supported <source address
and subnet mask>s), (list of supported <protocol number (ipv4) / next header
(ipv6)>s), (list of supported <destination port range>s),(list of supported <source port
range>s), (list of supported <ipsec security parameter index (spi)>s), (list of
supported <type of service (tos) (ipv4) and mask / traffic class (ipv6) and mask>s),
(list of supported <flow label (ipv6)>s), (list of supported <direction>s)[...]]
Read command
Syntax Response
AT+CGTFT? +CGTFT: <cid>, <packet filter identifier>,<evaluation precedence index>, <source
address and subnet mask>, <protocol number (ipv4) / next header (ipv6)>,
<destination port range>, <source port range>, <ipsec security parameter index
(spi)>, <type of service (tos) (ipv4) and mask / traffic class (ipv6) and mask>, <flow
label (ipv6)>, <direction>
[<CR><LF>+CGTFT: <cid>, <packet filter identifier>, <evaluation precedence
index>, <source address and subnet mask>, <protocol number (ipv4) / next
header (ipv6)>, <destination port range>, <source port range>, <ipsec security
parameter index (spi)>, <type of service (tos) (ipv4) and mask / traffic class (ipv6)
and mask>, <flow label (ipv6)>, <direction>
[...]]
Execute command
Syntax Response
AT+CGTFT= OK
[<cid>,[<packet
filter identifier>,
or
<evaluation
precedence ERROR
index> [,<source
address and Parameter
subnet mask> <cid> Numeric parameter which specifies a particular PDP context definition (see
[,<protocol +CGDCONT and +CGDSCONT)
number (ipv4) /
next header
(ipv6)> <packet filter identifier> Numeric parameter with value range from 1 to 16
[,<destination
port range> <evaluation precedence index> Numeric parameter with value range from 0 to 255
[,<source port
range>
<source address and subnet mask> String tpe given as a dot-separated numeric
[,<ipsec security
(0 – 255) parameter of the form "a1.a2.a3.a4.m1.m2.m3.m4" for IPv4 or
parameter index
"a1.a2.a3.a4.a5.a6.a7.a8.a9.a10.a11.a12.a13.
(spi)> [,<type of
a14.a15.a16.m1.m2.m3.m4.m5.m6.m7.m8.
service (tos)
m9.m10.m11.m12.m13.m14.m15.m16" for IPv6
(ipv4) and mask /
traffic class
(ipv6) and mask>
HL78xx
[,<flow label <protocol number (ipv4) / next header (ipv6)> Numeric parameter with value range
(ipv6)>, from 0 to 255
<direction>
]]]]]]]]]] <destination port range> String type given as a dot-separated numeric (0 – 65535)
parameter on the form ‘f.t.’
<ipsec security parameter index (spi)> Numeric value in hecadecimal format with
value range from 00000000 to FFFFFFFF
<type of service (tos) (ipv4) and mask / traffic class (ipv6) and mask> String type
given as a dot-separated numeric (0 – 255) parameter on the form ‘t.m.’
<flow label (ipv6)> Numeric value in hecadecimal format with value range from 00000
to FFFFF. Valid for IPv6 only
<direction> Specifies the transmission direction in which the packet filter shall be
applied
1 Uplink
2 Downlink
3 Birectional (up and downlink; default if omitted)
Reference Notes
27.007 Rev12 • Some of the listed attributes above may coexist in a Packet Filter while others
mutually exclude each other. For the list of possible combinations, refer to
3GPP TS 23.060.
• +CGTFT=<cid> causes all packet filters in the TFT for context number <cid> to
become undefined.
Test command
Syntax Response
AT+CGDCONT=? +CGDCONT: (range of supported <cid>s),<PDP_type>,,,(list of supported
<d_comp>s),(list of supported <h_comp>s),(list of supported <IPv4AddrAlloc>s),(list
of supported <request_type>s),(list of supported <P-CSCF_discovery>s),(list of
supported <IM_CN_Signalling_Flag_Ind>s),(list of supported <NSLPI>s),(list of
supported <securePCO>s),(list of supported <IPv4_MTU_discovery>s),(list of
supported <Local_Addr_Ind>s),(list of supported <Non-IP_MTU_discovery>s),(list of
supported <Reliable_Data_Service>s)
[<CR><LF>+CGDCONT: (range of supported <cid>s),<PDP_type>,,,(list of supported
<d_comp>s),(list of supported <h_comp>s),(list of supported <IPv4AddrAlloc>s),(list
of supported <request_type>s),(list of supported <P-CSCF_discovery>s),(list of
supported <IM_CN_Signalling_Flag_Ind>s),(list of supported <NSLPI>s),(list of
supported <securePCO>s),(list of supported <IPv4_MTU_discovery>s),(list of
supported <Local_Addr_Ind>s),(list of supported <Non-IP_MTU_discovery>s),(list of
supported <Reliable_Data_Service>s) [...]]
OK
HL78xx
Read command
Syntax Response
AT+CGDCONT? [+CGDCONT:
<cid>,<PDP_type>,<APN>,<PDP_addr>,<d_comp>,<h_comp>[,<IPv4AddrAlloc>
[,<request_type>[,<P-CSCF_discovery>[,<IM_CN_Signalling_Flag_Ind>[,<NSLPI>
[,<securePCO>[,<IPv4_MTU_discovery>[,<Local_Addr_Ind>
[,<Non-IP_MTU_discovery>[,<Reliable_Data_Service>]]]]]]]]]]]
[<CR><LF>+CGDCONT:<cid>,<PDP_type>,<APN>,<PDP_addr>,<d_comp>,
<h_comp>[,<IPv4AddrAlloc>[,<request_type>[,<P-CSCF_discovery>
[,<IM_CN_Signalling_Flag_Ind>[,<NSLPI>[,<securePCO>[,<IPv4_MTU_discovery>
[,<Local_Addr_Ind>[,<Non-IP_MTU_discovery>[,<Reliable_Data_Service>]]]]]]]]]]
OK
Execute command
Syntax Response
AT+CGDCONT= OK
[<cid>[,<PDP_
type>[,<APN> or
[,<PDP_addr>
[,<d_comp> ERROR
[,<h_comp>
[,<IPv4Addr Parameters
Alloc> <cid> PDP Context Identifier. A numeric parameter which specifies a particular PDP
[,<request_type> context definition. The parameter is local to the TE-MT interface and is used in other
[,<P-CSCF_ PDP context-related commands. The range of the permitted values (minimum value = 1)
discovery>[,<IM_ is returned by the test command.
CN_Signalling_
Flag_Ind>
<PDP_type> Packet Data Protocol type
[,<NSLPI>
[,<securePCO> "IP" Internet Protocol
[,<IPv4_MTU_ "IPV6" Internet Protocol version 6
discovery>] "IPV4V6" Virtual <PDP_type>introduced to handle dual IP stack UE capability
[,<Local_Addr_ “Non-IP” Transfer of non-IP data to external packet data network
Ind>][,<Non-
IP_MTU_
discovery>] <APN> Access Point Name
[,<Reliable_Data String parameter which is a logical name that is used to select the GGSN or the external
_Service>] packet data network. If the value is null or omitted, then the subscription value will be
]]]]]]]]]]]] requested.
<PDP_addr> String parameter that identifies the MT in the address space applicable to
the PDP. If the value is null or omitted then a value may be provided by the TE during
the PDP startup procedure or, failing that, a dynamic address will be requested. The
read command will continue to return the null string even if an address has been
allocated during the PDP startup procedure. The allocated address may be read using
+CGPADDR.
Note that IPv6 address obtained on LTE will be prefixed with a constant 8-byte address
"FE.80.00.00.00.00.00.00" if the network has not provided any.
Currently, this parameter is omitted.
HL78xx
<IPv4AddrAlloc> Numeric parameter that controls how MT/TA requests to get IPv4
address information
0 IPv4 address allocated through NAS signalling
1 IPv4 address allocated through DHCP
<request_type> Integer type; indicates the type of PDP context activation request for
the PDP context
0 PDP context is for new PDP context establishment or for handover from a non-
3GPP access network
1 PDP context is for emergency bearer services
2 PDP context is for new PDP context establishment
3 PDP context is for handover from a non-3GPP access network
4 PDP context is for handover of emergency bearer services from a non-3GPP
access network
<NSLPI> Integer type; indicates the NAS signalling priority requested for this PDP
context
0 Indicates that this PDP context is to be activated with the value for the low priority
indicator configured in the MT
1 Indicates that this PDP context is is to be activated with the value for the low
priority indicator set to "MS is not configured for NAS signalling low priority".
<IPv4_MTU_discovery> Integer type; influences how the MT/TA requests get the
IPv4 MTU size
0 Preference of IPv4 MTU size discovery not influenced by +CGDCONT
1 Preference of IPv4 MTU size discovery through NAS signalling
<Non-IP_MTU_discovery> Integer type; influences how the MT/TA requests get the
non-IP MTU size.
0 Preference of non-IP MTU size discovery not influenced by +CGDCONT
1 Preference of non-IP MTU size discovery through NAS signalling
HL78xx
Test command
Syntax Response
AT+CGDSCONT= +CGDSCONT: (range of <cid>s),(list of <cid>s for defined primary contexts),
? <PDP_type>,,,(list of supported <d_comp>s),(list of supported <h_comp>s),(list of
supported <IM_CN_Signalling_Flag_Ind>s)
[<CR><LF>+CGDSCONT: (range of <cid>s),(list of <cid>s for defined primary
contexts),
<PDP_type>,,,(list of supported <d_comp>s),(list of supported <h_comp>s),(list of
supported <IM_CN_Signalling_Flag_Ind>s)
[...]]
OK
Read command
Syntax Response
AT+CGDSCONT? [+CGDSCONT: <cid>, <p_cid>, <d_comp>, <h_comp>
[,<IM_CN_Signalling_Flag_Ind>]]
[<CR><LF>+CGDSCONT: <cid>, <p_cid>, <d_comp>,<h_comp>
[,<IM_CN_Signalling_Flag_Ind>]]
[...]]]
OK
HL78xx
Execute command
Syntax Response
AT+CGDSCONT= OK
[<cid>,<p_cid>
[,<d_comp> or
[,<h_comp>
ERROR
[,<IM_CN_
Signalling_Flag_
Ind>]]]] Parameter
<cid> PDP Context Identifier. A numeric parameter that specifies a particular PDP
context definition. The parameter is local to the TE-MT interface and is used in other
PDP context-related commands. The range of the permitted values (minimum value = 1)
is returned by the test command.
Test command
Syntax Response
+CGCONTRDP=? +CGCONTRDP: (list of <cid>s associated with active contexts)
OK
HL78xx
Execute command
Syntax Response
+CGCONTRDP [+CGCONTRDP: <cid>,<bearer_id>,<apn>[,<local_addr and subnet_mask>
[=<cid>] [,<gw_addr>[,<DNS_prim_addr>[,<DNS_sec_addr>[,<P-CSCF_prim_addr>
[,<P-CSCF_sec_addr>[,<IM_CN_Signalling_Flag>[,<LIPA_indication>[,<IPv4_MTU>
[,<WLAN_Offload>[,<Local_Addr_Ind>[,<Non-IP_MTU>
[,<Serving_PLMN_rate_control_value>[,<Reliable_Data_Service]]]]]]]]]]]]]]]
[<CR><LF>+CGCONTRDP: <cid>,<bearer_id>,<apn>[,<local_addr and
subnet_mask>[,<gw_addr>[,<DNS_prim_addr>[,<DNS_sec_addr>[,<P-
CSCF_prim_addr>[,<P-CSCF_sec_addr>[,<IM_CN_Signalling_Flag>
[,<LIPA_indication>[,<IPv4_MTU>[,<WLAN_Offload>[,<Local_Addr_Ind>
[,<Non-IP_MTU>[,<Serving_PLMN_rate_control_value>
[,<Reliable_Data_Service]]]]]]]]]]]]]]
[...]]
OK
or
ERROR
Parameters
<cid> Integer type; specifies a particular non-secondary PDP context definition. The
parameter is local to the TE-MT interface and is used in other PDP context-related
commands (see +CGDCONT and +CGDSCONT).
<bearer_id> Numeric parameter which identifies the bearer; EPS Bearer in EPS
<apn> Access Point Name; string parameter which is a logical name that is used to
select the GGSN or the external packet data network. If the value is null or omitted, then
the subscription value will be requested.
<local_addr and subnet_mask> String type; shows the IP address and subnet mask
of the MT. The string is given as dot-separated numeric (0-255) parameters.
<gw_addr> String type; shows the Gateway Address of the MT. The string is given as
dot-separated numeric (0-255) parameters.
<DNS_prim_addr> String parameter which shows the IP Address of the primary DNS
Server
<LIPA_indication> Indicates that the PDP context provides connectivity using a LIPA
PDN connection. This parameter cannot be set by the TE.
0 Indication not received that the PDP context provides connectivity using a LIPA
PDN connection
1 Indication received that the PDP context provides connectivity using a LIPA PDN
connection
HL78xx
Parameters
<cid> Integer type; specifies a particular active secondary PDP context or Traffic Flows
definition. The parameter is local to the TE-MT interface and is used in other PDP
context-related commands (see +CGDCONT and +CGDSCONT).
<p_cid> Integer type; specifies a particular PDP context definition or default EPS
context Identifier which has been specified by +CGDCONT. The parameter is local to the
TE-MT interface (see +CGDSCONT)
<bearer_id> Numeric parameter which identifies the bearer; EPS Bearer in EPS
Test command
Syntax Response
AT+CGEREP=? +CGEREP: (list of supported <mode>s),(list of supported <bfr>s)
OK
Read command
Syntax Response
AT+CGEREP? +CGEREP: <mode>, <bfr>
OK
or
ERROR
Write command
Syntax Response
AT+CGEREP= OK
[<mode>[,<bfr>]]
or
ERROR
Parameters
<mode> 0 Buffer unsolicited result codes in the MT; if MT result code buffer is
full, the oldest ones can be discarded. No codes are forwarded to
the TE.
1 Discard unsolicited result codes when MT-TE link is reserved (e.g.
in on-line data mode); otherwise forward them directly to the TE
2 Buffer unsolicited result codes in the MT when MT-TE link is
reserved (e.g. in on-line data mode) and flush them to the TE when
MT-TE link becomes available; otherwise forward them directly to
the TE (2 is the default value)
HL78xx
Parameters
<reason> 0 IPv4 only allowed
1 IPv6 only allowed
2 Single address bearers only allowed
3 Single address bearers only allowed and MT initiated context
activation for a second address type bearer was not successful
Test command
Syntax Response
AT+CGPADDR=? +CGPADDR: (list of supported <cid>s)
OK
HL78xx
Write command
Syntax Response
AT+CGPADDR= +CGPADDR: <cid>[,<PDP_addr_1>[,<PDP_addr_2>]]
[<cid>,<cid> [<CR><LF>
[,...]]]
+CGPADDR: <cid>[,<PDP_addr_1>[,<PDP_addr_2>]]][...]]
OK
Parameters
<cid> Numeric parameter which specifies a particular PDP context definition (see
+CGDCONT and +CGDSCONT). If no <cid> is specified, the addresses for all activated
contexts are returned.
Test command
Syntax Response
AT+CGSMS=? +CGSMS: (list of currently available <service>s)
OK
Read command
Syntax Response
AT+CGSMS? +CGSMS: <service>
OK
Write command
Syntax Response
AT+CGSMS= OK
[<service>]
or
ERROR
HL78xx
Parameter
<service> Indicates the service or service preference to be used
0 Packet Domain
1 Circuit Switched
Reference Notes
27.007 Rev12 In 4G RAT, Packet Domain service means IMS messaging on EPS bearers and Circuit
Switched service means transmission on Signalling Gateways.
Test command
Syntax Response
AT+CSODCP=? +CSODCP: (range of supported <cid>s),(maximum number of octets of user data
indicated by <cpdata_length>),(list of supported <RAI>s),(list of supported
<type_of_user_data>s)
OK
Write command
Syntax Response
AT+CSODCP= OK
<cid>,
<cpdata_length>,
or
<cpdata>[,<RAI>
[,<type_of_user_ +CME ERROR: <err>
data>]]
Parameters
<cid> Integer type. A numeric parameter which specifies a particular PDP context or
EPS bearer context definition. This parameter is local to the TE-MT interface and
identifies the PDP or EPS bearer contexts which have been setup via AT command (see
the +CGDCONT and +CGDSCONT commands).
<cpdata> String of octets. Contains the user data container contents (refer to 3GPP
TS 24.301 [83] subclause 9.9.4.24). When there is no data to transmit, <cpdata> should
be an empty string (""). This parameter is not subject to conventional character
conversion as per +CSCS.
<RAI> Integer type. Indicates the value of the release assistance indication; refer to
3GPP TS 24.301 [83] subclause 9.9.4.25.
0 No information available
1 The MT expects that exchange of data will be completed with the transmission of
the ESM DATA TRANSPORT message.
2 The MT expects that exchange of data will be completed with the receipt of an
ESM DATA TRANSPORT message.
HL78xx
Test command
Syntax Response
AT+CRTDCP=? +CRTDCP: (list of supported <reporting>s),(range of supported <cid>s),(maximum
number of octets of user data indicated by <cpdata_length>)
OK
Read command
Syntax Response
AT+CRTDCP? +CRTDCP: <reporting>
OK
Write command
Syntax Response
AT+CRTDCP= OK
[<reporting>]
or
+CME ERROR: <err>
Parameters
<reporting> Integer type; controls reporting of mobile terminated control plane data
events
0 Disable reporting of MT control plane data.
1 Enable reporting of MT control plane data by the unsolicited result code
+CRTDCP
<cid> Integer type. A numeric parameter which specifies a particular PDP context or
EPS bearer context definition. This parameter is local to the TE-MT interface and
identifies the PDP or EPS bearer contexts which have been setup via AT command (see
the +CGDCONT and +CGDSCONT commands).
<cpdata> String of octets. Contains the user data container contents (refer to 3GPP
TS 24.301 [83] subclause 9.9.4.24). When there is no data to transmit, the <cpdata>
should be an empty string (""). This parameter is not subject to conventional character
conversion as per +CSCS.
HL78xx
Reference Notes
27.007 Rev14 The write command is used to enable and disable reporting of data from the network to
the MT that is transmitted via the control plane in downlink direction. If reporting is
enabled, the MT returns the following unsolicited result code when data is received from
the network: +CRTDCP: <cid>,<cpdata_length>,<cpdata>.
Write command
Syntax Response
AT+KNMPSD OK
Parameters
None
Notes
• Command indicates to the module that there is no more data to transmit or
receive.
• Important: This command should be used only when there is no more data
expected to transmit or receive. Otherwise, additional signaling will be required
to reestablish the radio connection and additional power will be consumed.
• This command brings the LTE RRC layer to the Idle state immediately, rather
than waiting for a network-controlled timeout (typically 10 – 20 seconds).
9.3. Session ID
Protocol specific AT commands share the same range of session IDs. A session ID, <session_id>, is
a unique number and ranges from 1 to 6.
HL78xx
Test command
Syntax Response
AT+KCNXCFG=? +KCNXCFG: (list of possible <cnx conf>s),"GPRS",(range of possible length of
<apn>),(range of possible length of <login>),(range of possible length of <password>),
<af>,<ip>,<dns1>,<dns2>,<ip_v6>,<dns1_v6>,<dns2_v6>
OK
Read command
Syntax Response
AT+KCNXCFG? +KCNXCFG: <cnx cnf>, "GPRS", <apn>,<login>,<password>,<af>,<ip>,<dns1>,
<dns2>[,<ip_v6>,<dns1_v6>,<dns2_v6>],<state>
[...]>
OK
HL78xx
Write command
Syntax Response
AT+KCNXCFG= OK
<cnx cnf>,
"GPRS",<apn> Parameters
[,[<login>]
[,[<password>] <cnx cnf> PDP context configuration. Numeric parameter which specifies a particular
[,<af> [,[<ip>] PDP context configuration
[,[<dns1>]
[,<dns2>]]]] <apn> (Access Point Name) a string parameter (max size 63 bytes), logical name
[,[<ip_v6>] used to select the GGSN or the external packet data network.
[,[<dns1_v6>]
[,<dns2_v6>]]]]]] <login> string type (max size 24 bytes), indicates the username of the cnx
<password> string type (max size 24 bytes), indicates the password of the cnx
<af> Address family used for the connection (up to 3GPP Release 7 compliant)
IPV4 IPv4 only
IPV6 IPv6 only
IPV4V6 IPv4 and IPv6
<ip> String type. Static IP not supported only dynamic address supported, the value
should be “0.0.0.0” or an empty string.
<dns1>, <dns2> String type. If the mobile is supposed to work with dynamic DNS
addresses, the value should be “0.0.0.0” or an empty string.
<ip_v6> IPV6 String type. If the mobile is supposed to work with a dynamic
address, the value should be “::” or an empty string.
<dns1_v6>, <dns2_v6> IPV6 String type. If the mobile is supposed to work with
dynamic DNS addresses, the value should be “::” or an empty string.
HL78xx
Reference Notes
Sierra Wireless • <ip> IP static not supported
Proprietary • This AT command is used to configure the bearer to be used for the future IP
services.
• By default, the IP and DNS address are dynamic (those values would be
affected by the network during the PDP connection).
• This connection will be used by the module to access to the IP services
described in subsequent chapters. AT+KCNXCFG is only defined to set the
current parameters. The defined connection will be automatically opened when
needed by the IP services (e.g. UDP service).
• The use of IPV4 and/or IPV6 addresses is configured by PDP context
configuration.
• <cnx cfg> values correspond to PDP context ID.
• When the connection is up, the read command returns the actual values used
by the connection interface.
• If reuse of existing activated PDP context is required, <apn> can be set as an
empty string or as the existing APN string returned by +CGDCONT read
command.
• Settings are only restored if the TCP server or UDP server is restored.
HL78xx
Test command
Syntax Response
AT+KCNXTIMER +KCNXTIMER: (list of supported <cnx cnf>s),(list of supported <tim1>s),(list of
=? supported <nbtrial>s),(list of supported <tim2>s) ,(list of supported <idletime>s)
OK
Read command
Syntax Response
AT+KCNXTIMER +KCNXTIMER: <cnx cnf>,<tim1>,<nbtrial>,<tim2>,<idletime>
? […]
OK
HL78xx
Write command
Syntax Response
AT+KCNXTIMER OK
=<cnx cnf>[,
[<tim1>][, Parameters
[<nbrtrial>]
[,<tim2>] <cnx cnf> PDP context configuration. Numeric parameter which specifies a particular
[,<idletime>]]]] PDP context configuration
<tim1> 1 – 120 s (30 s by default) If the module fails to activate the PDP context,
a timer of <tim1> will be started. When this timer expires, it will try to activate the PDP
context again.
<nbtrial> Attempt times from1 – 4 (2 by default). The module will try to activate the
PDP context for a maximum of <nbtrial> times.
<idletime> 0 – 1800 s (30 s by default) When all sessions are closed, the idle timer
starts with the idle time. When this timer expires, it will try to deactivate the PDP context.
Before the timer expires, connecting any session will stop this timer and the PDP context
is reused.
Reference Notes
Sierra Wireless This command will only have impact on TCP and UDP.
Proprietary
HL78xx
Test command
Syntax Response
AT+ +KCNXPROFILE: (list of possible <cnx cnf>s)
KCNXPROFILE OK
=?
Read command
Syntax Response
AT+ +KCNXPROFILE: <cnx cnf>
KCNXPROFILE? OK
HL78xx
Write command
Syntax Response
AT+ OK
KCNXPROFILE=
<cnx cnf> Parameter
<cnx cnf> PDP context configuration. Numeric parameter which specifies a particular
PDP context configuration
Reference Notes
Sierra Wireless This command sets the default PDP context configuration ID for +KTCPCFG and
Proprietary +KUDPCFG, if <cnx cnf> parameter is not given in these commands.
HL78xx
Test command
Syntax Response
AT+KCGPADDR +KCGPADDR: (list of possible <cnx_cnf>s)
=? OK
Write command
Syntax Response
For all +KCGPADDR: <cnx cnf>, <PDP_addr_1>
<cnx_cnf>s: [[+KCGPADDR: <cnx cnf>, <PDP_addr_2>]
AT+KCGPADDR …]
OK
For specific
<cnx_cnf>s: Parameters
AT+KCGPADDR= <cnx cnf> PDP context configuration. Numeric parameter which specifies a particular
<cnx_cnf> PDP context configuration
<PDP_addr> A string that identifies the MT in the address space applicable to the PDP
Reference Notes
Sierra Wireless • This AT command can be used after +KTCPCNX, +KUDPCFG, etc. to display the
Proprietary local IP address of the module
• For IPv6, more than one PDP addresses corresponding to the interface may be
displayed.
HL78xx
Unsolicited Response
Notification +KCNX_IND: <cnx cnf>,<status>,<af> (for <status> = 0, 1)
+KCNX_IND: <cnx cnf>,<status>,<attempt>,<nbtrial>,<tim1> (for <status> = 2)
+KCNX_IND: <cnx cnf>,<status> (for <status> = 3,6)
+KCNX_IND: <cnx cnf>,<status>,<attempt> (for <status> = 4)
+KCNX_IND: <cnx cnf>,<status>,<idletime> (for <status> = 5)
Parameters
<cnx cnf> PDP context configuration. Numeric parameter which specifies a particular
PDP context configuration
<af> 0 IPV4
1 IPV6
HL78xx
Test command
Syntax Response
AT+KCNXUP=? +KCNXUP: (list of possible <cnx_cnf>s)
OK
HL78xx
Test command
Syntax Response
AT+KPATTERN OK
=?
Read command
Syntax Response
AT+KPATTERN? +KPATTERN: <EOF pattern>
OK
Write command
Syntax Response
AT+KPATTERN OK
=<EOF pattern>
or
+CME ERROR <err>
Parameter
<EOF pattern> String type (max size 128 bytes). This is a pattern used to notify the
end of data (or file) during data or file transfer. This string doesn’t have to be human-
readable (not printable characters are allowed).
Reference Notes
Sierra Wireless • The default value of the pattern is: "--EOF--Pattern--".
Proprietary • It is the responsibility of the user to select an appropriate pattern according to
the data transferred (i.e. numeric pattern for text files and Readable string for
binary files).
• The <EOF pattern> pattern is detected within 100ms or higher timeout. The
timeout value is equal to <wait_time> of +KIPOPT.
• The received data is stored with buffer size <send size v4> or <send size v6>
so that the <EOF pattern> with size larger than it is not detected. The user
application should ensure that the value of <send size v4> or <send size v6> is
larger than the size of <EOF pattern>.
HL78xx
Test command
Syntax Response
AT+KURCCFG=? +KURCCFG: (list of supported <protoopt>s),(list of supported <noti_act>s),(list of
supported <indi_act>s)
OK
Read command
Syntax Response
AT+KURCCFG? +KURCCFG: list of supported (<protoopt>,<noti_act>,<indi_act>)
OK
Write command
Syntax Response
AT+KURCCFG= OK
<protoopt>,
<noti_act> Parameters
[,<indi_act>]
<protoopt> Protocol option to enable/disable URC
"TCPC" TCP client session
"TCPS" TCP server session
"UDPC" UDP client session
"UDPS" UDP server session
“FTP” FTP client session
“HTTP” HTTP client session
“HTTPS” HTTPS client session
"TCP" Both TCP client and TCP server sessions
"UDP" Both UDP client and UDP server sessions
HL78xx
AT+KURCCFG?
+KURCCFG: "TCPC",1,1
+KURCCFG: "TCPS",1,1
+KURCCFG: "UDPC",1,1
+KURCCFG: "UDPS",1,1
+KURCCFG: "FTP",1,1
+KURCCFG: "HTTP",1,1
+KURCCFG: "HTTPS",1,1
OK
HL78xx
Test command
Syntax Response
AT+KIPOPT=? +KIPOPT: 0,<UDP>,(1-100),(8-1472),(8-1452)
+KIPOPT: 0,<TCP-based>,(0-100),(0,8-1460),(0,8-1440)
+KIPOPT: 3,(0-1),(0-1)
OK
Read command
Syntax Response
AT+KIPOPT? +KIPOPT: 0,<proto>,<wait time>,<send size v4>,<send size v6>]
[...]
+KIPOPT: 3,<stop_on_error>, <stop_on_peer>
OK
Write command
Syntax Response
If <option_id>=0 OK
AT+KIPOPT=
<option_id>, or
<proto>,<wait +CME ERROR<err>
time>
[,<send size v4>
[,<send size Parameters
v6>]] <option_id> Option ID
0 Wait time, send size threshold configuration
If <option_id>=1 1 Internal use or compatibility purposes
AT+KIPOPT= 2 Internal use or compatibility purposes
<option_id> 3 PDP connection deactivated behavior
4 Internal use or compatibility purposes
If <option_id>=2
AT+KIPOPT= <proto> Protocol, string type
<option_id> “TCPC” TCP client session
“TCPS” TCP server session
“UDPC” UDP client session
HL78xx
<send size v4> Data packet size for IPv4 sessions. This parameter specifies the
minimum data packet size that needs to be sent to the peer.
Range:
For UDP: 8 – 1472, default value = 1020
For TCP: 0, 8 – 1460, default value = 0 (disabled)
<send size v6> Data packet size for IPv6 sessions. This parameter specifies the
minimum data packet size that needs to be sent to the peer.
Range:
For UDP: 8 – 1452, default value = 1020
For TCP: 0, 8 – 1440, default value = 0 (disabled). Note that value = 0 uses a wait time
of 100 ms.
HL78xx
Test command
Syntax Response
AT+ +KSSLCRYPTO: <profile_id>,<mkey_Algo>,<auth_algo>,<enc_algo>,<mac_algo>,
KSSLCRYPTO=? <tls_ver>,<auth>,<root_cert_idx>
OK
Read command
Syntax Response
AT+ +KSSLCRYPTO: <profile_id>,<mkey_algo>,<auth_algo>,<enc_algo>,<mac_algo>,
KSSLCRYPTO? <tls_ver>,<auth>,<root_cert_idx>
[…]]
OK
Write command
Syntax Response
AT+ OK
KSSLCRYPTO=
<profile_id>, Parameters
<mkey_Algo>,
<auth_algo>, <profile_id> Index of a set of parameters for configuring one SSL profile
<enc_algo>,
<mac_algo>, <mkey_algo> Key exchange algorithm selection
<tls_ver>,<auth>[ 1 RSA
,<root_cert_idx>] 8 ECDHE
HL78xx
<auth> Authentication
1 Authenticate server (Default)
3 Mutual authentication
Refer to the following table for the list of cipher suites supported by the AirPrime HL78xx.
TLS-RSA-WITH-AES-128-GCM-
RSA RSA AES-128-GCM SHA256
SHA256
TLS-RSA-WITH-AES-256-GCM-
RSA RSA AES-256-GCM SHA384
SHA384
TLS-RSA-WITH-AES-128-CCM RSA RSA AES-128-CCM NULL
TLS-RSA-WITH-AES-256-CCM RSA RSA AES-256-CCM NULL
TLS-RSA-WITH-AES-128-CCM-8 RSA RSA AES-128-CCM-8 NULL
TLS-RSA-WITH-AES-256-CCM-8 RSA RSA AES-256-CCM-8 NULL
TLS-ECDHE-RSA-WITH-AES-128-
ECDHE RSA AES-128-CBC SHA256
CBC-SHA256
TLS-ECDHE-RSA-WITH-AES-128-
ECDHE RSA AES-128-GCM SHA256
GCM-SHA256
TLS-ECDHE-ECDSA-WITH-AES-
ECDHE ECDSA AES-128-CBC SHA256
128-CBC-SHA256
TLS-ECDHE-ECDSA-WITH-AES-
ECDHE ECDSA AES-128-GCM SHA256
128-GCM-SHA256
TLS-ECDHE-ECDSA-WITH-AES-
ECDHE ECDSA AES-256-GCM SHA384
256-GCM-SHA384
TLS-ECDHE-ECDSA-WITH-AES-
ECDHE ECDSA AES-128-CCM NULL
128-CCM
TLS-ECDHE-ECDSA-WITH-AES-
ECDHE ECDSA AES-256-CCM NULL
256-CCM
TLS-ECDHE-ECDSA-WITH-AES-
ECDHE ECDSA AES-128-CCM-8 NULL
128-CCM-8
TLS-ECDHE-ECDSA-WITH-AES-
ECDHE ECDSA AES-256-CCM-8 NULL
256-CCM-8
HL78xx
Test command
Syntax Response
AT+KSSLCFG=? +KSSLCFG: <option id>,<option>
OK
Read command
Syntax Response
AT+KSSLCFG? +KSSLCFG: 0,<TLS Version>
+KSSLCFG: 2,<Session Mode>
OK
Write command
Syntax Response
AT+KSSLCFG If <option_id> = 0:
=<option id>, AT+KSSLCFG=<option_id>,<TLS Version>
<option> OK
If <option_id> = 1:
AT+KSSLCFG=<option_id>,<Random Seed>
OK
If <option_id> = 2:
AT+KSSLCFG=<option_id>,<Session Mode>
OK
Parameters
<option id> 0 Specify a TLS version to be used for hand shake
1 Setup random seed
2 Specify session mode
<Random Seed> String to be added into the entropy of the random number
generator
HL78xx
Test command
Syntax Response
AT+ +KCERTSTORE: (list of possible <data_type>s),(range of possible lengths of
KCERTSTORE=? <NbData>),(list of possible <index>es)
OK
Read command
Syntax Response
AT+ CONNECT
KCERTSTORE? [root_cert,<index>,<NbData><CR><LF>
<File_data><CR><LF>]
[local_cert,<index>,<NbData><CR><LF>
<File_data> <CR><LF>]
[...]
OK
or
+CME ERROR: <err>
Write command
Syntax Response
AT+ CONNECT
KCERTSTORE= OK
<data_type>
[,<NbData>
or
[,<index>]]
+CME ERROR: <err>
Parameters
<data_type> 0 Root certificate
1 Local certificate
HL78xx
Reference Notes
Sierra Wireless • The <index> parameter is the link between a local certificate and a private key
Proprietary (refer to +KPRIVKSTORE and +KCERTDELETE for more information).
• The data session is automatically ended when <ndata> data bytes are
sent/received, and the module returns to command state and returns OK.
• The data session can also be ended by <EOF pattern>, +++ or DTR.
• ATO is not available for this command.
• It is highly recommended to configure the module for hardware flow control
before using this command.
HL78xx
Test command
Syntax Response
AT+ +KPRIVKSTORE: (list of possible <index>s),( range of possible lengths of <NbData>)
KPRIVKSTORE OK
=?
Read command
Syntax Response
AT+ CONNECT
KPRIVKSTORE? private_key,<index>,<NbData><CR><LF>
<File_data> <CR><LF>
OK
or
+CME ERROR: <err>
Write command
Syntax Response
AT+ CONNECT
KPRIVKSTORE= OK
<index>
[,<NbData>]
or
+CME ERROR: <err>
Parameters
<index> 0 – 2 Index of the stored local certificate associated to this private key
HL78xx
Reference Notes
Sierra Wireless • The data session is automatically ended when <ndata> data bytes are
Proprietary sent/received, and the module returns to command state and returns OK.
• The data session can also be ended by <EOF pattern>, +++ or DTR.
• ATO is not available for this command.
• It is highly recommended to configure the module for hardware flow control
before using this command.
HL78xx
Test command
Syntax Response
AT+ +KCERTDELETE: (list of possible <data_type>s),(list of possible <index>s)
KCERTDELETE OK
=?
Read command
Syntax Response
AT+ +KCERTDELETE:
KCERTDELETE? OK
or
+CME ERROR: <err>
Write command
Syntax Response
AT+ OK
KCERTDELETE=
<data_type> or
[,<index>]
+CME ERROR: <err>
Parameters
<data_type> 0 Root certificate
1 Local certificate
HL78xx
Test command
Syntax Response
AT+ +KPRIVKDELETE: (list of possible <index>es)
KPRIVKDELETE
OK
=?
Write command
Syntax Response
AT+ OK
KPRIVKDELETE=
<index>
or
+CME ERROR: <err>
Parameter
<index> 0 – 2 Stored private key index
Reference Sierra Wireless Proprietary
HL78xx
Test command
Syntax Response
AT+KTCPCFG=? +KTCPCFG: (list of possible <cnx_cnf>s),(list of possible <mode>s),
<remote-name/ip>,(list of possible <tcp_port >s),(list of possible <source_port>s),(list
of possible <data_mode>s),(list of possible <URC-ENDTCP-enable>s),(list of possible
<af>s),<cipher_index>,(list of possible <restore_on_boot>s)
OK
Read command
Syntax Response
AT+KTCPCFG? +KTCPCFG: <session_id>,<status>,<cnx cnf>,<mode>[,<serverID>],
<tcp remote address>,<tcp_port>[,<source_port>],<data_mode>,
<URC-ENDTCP-enable>,<af>,<cipher_index>[,<restore_on_boot>]
[…]]
Write command
Syntax Response
AT+KTCPCFG= +KTCPCFG: <session_id>
[<cnx cnf>], OK
<mode>,
HL78xx
[<tcp remote
address>],<tcp_ Parameters
port>[,[<source_ <cnx cnf> Index of a set of parameters for configuring one TCP session (see
port>][,[<data_ +KCNXCFG)
mode>][,[<URC-
ENDTCP- <session_id> TCP session index
enable>][,[<af>][,
[<cipher_suite>]
[,[<restore_on_ <mode> 0 Client
boot>]]]]]]]] 1 Server
2 Child (generated by server sockets)
3 Secure client
<tcp remote address> IP address string or explicit name of the remote server.
Maximum length – 127 characters. For server configuration, this parameter is left blank
<tcp_port> TCP port number; numeric parameter with range 1 – 65535. This
parameter is the listening port for a server configuration.
<cipher_index> Cipher suite profile index to use for a secured socket; defined by
+KSSLCRYPTO
HL78xx
Reference Notes
Sierra Wireless • Maximum <session_id> is 6.
Proprietary • If the socket is defined as a <CLIENT> socket, <tcp_port> and <tcp remote
address> define the port and the IP address of the remote server we want to
connect.
• <URC_ENDTCP-enable> is not available for secure clients (secure clients will
not show the +KTCP_ACK URC).
• For child session, the property <data_mode> will be kept the same as the
server socket’s setting.
• This command can be used before setting up +KCNXCFG. Note however that
the latter is required to start the connection properly.
• The connection timeout for TCP socket is about 9 seconds with 3
retransmissions with 3 seconds delay.
• For <restore_on_boot>, only the first session is restored.
• For a restored client session (e.g. after a reset or exiting hibernation),
+KTCPCNX must be used to establish a connection before sending/receiving
any data.
HL78xx
Test command
Syntax Response
AT+KTCPCNX=? +KTCPCNX: (list of possible <session_id>s)
OK
HL78xx
Write command
Syntax Response
AT+KTCPCNX= OK
<session_id>
or
+CME ERROR: <err>
+KTCP_NOTIF: <session_id>, <tcp_notif>
Parameters
<session_id> TCP session index
<tcp_notif> Integer type. Indicates the cause of the TCP connection failure
0 Network error
1 No more sockets available; max. number already reached
2 Memory problem
3 DNS error
4 TCP disconnection by the server or remote client
5 TCP connection error
6 Generic error
7 Fail to accept client request’s
8 Data sending is OK but +KTCPSND was waiting for more or less characters
9 Bad session ID
10 Session is already running
11 All sessions are used
12 Socket connection timeout error
13 SSL connection error
14 SSL initialization error
Reference Notes
Sierra Wireless • This command is used for connecting to a remote server or listening to a bound
Proprietary port, depending on the selected mode of <session_id>.
• The socket connection will not be requested when the concerned PDP is active
and the configuration of +KCNXCFG is not the same as +CGDCONT.
HL78xx
Test command
Syntax Response
AT+KTCPRCV=? +KTCPRCV: (list of possible <session_id>s),(list of possible <ndata>s)
OK
Write command
Syntax Response
AT+KTCPRCV= CONNECT
<session_id>, …<EOF pattern>
<ndata> OK
HL78xx
or
+KTCP_NOTIF: <session_id>,<tcp_notif>
Parameters
<session_id> TCP session index
<ndata> Number of bytes the device wants to receive (max value 4294967295)
HL78xx
Test command
Syntax Response
AT+KTCPSND=? +KTCPSND: (list of possible <session_id>s),(list of possible <ndata>s)
OK
Write command
Syntax Response
AT+KTCPSND= CONNECT
<session_id>, OK
<ndata>
or
NO CARRIER
+CME ERROR: <err>
+KTCP_NOTIF: <session_id>,<tcp_notif>
Parameters
<session_id> TCP session index
HL78xx
Reference Notes
Sierra Wireless • All the data will be sent out ignoring <ndata>. If data sent is not equal to
Proprietary <ndata> then +KTCP_NOTIF will be displayed.
• <ndata> is the data size without <EOF pattern>.
• It is highly recommended to configure the module for hardware flow control
using AT&K3 before using this command.
• Refer to AT&D for the behavior of DTR drop.
• The data session can be ended by <EOF pattern>, +++ or DTR.
• The +KTCP_ACK URC appears when the data session is ended by
<EOF pattern> or by +++.
HL78xx
Test command
Syntax Response
AT+KTCPCLOSE +KTCPCLOSE: (list of possible <session_id>s), (list of possible <closing_type>s)
=? OK
Write command
Syntax Response
AT+KTCPCLOSE OK
=<session_id>
[,<closing_type>] or
+CME ERROR: <err>
NO CARRIER
+KTCP_NOTIF: <session_id>, <tcp_notif>
Parameters
<session_id> TCP session index
HL78xx
Test command
Syntax Response
AT+KTCPDEL=? +KTCPDEL: (list of possible <session_id>s)
OK
Write command
Syntax Response
AT+KTCPDEL= OK
<session_id>
or
+CME ERROR: <err>
Parameter
<session_id> TCP session index
Reference Notes
Sierra Wireless The session must be closed (using +KTCPCLOSE) before using this command.
Proprietary
HL78xx
Unsolicited Response
Notification +KTCP_SRVREQ: <session_id>,<subsession_id>,<client_ip>,<client_port>
Parameters
<session_id> TCP session index
AT+KCNXCFG=0,"GPRS","szsjmc.gd";
+KTCPCFG=0,1,,180
+KTCPCFG: 2
OK
HL78xx
+KTCP_SRVREQ: 1,3,"192.168.0.32",4614
//incoming a connection request from “192.168.0.32” via listening port 179, the remote
//port is 4614
+KTCP_SRVREQ: 2,4,"10.10.10.110",4665
//incoming a connection request from “10.10.10.110” via listening port 180, the remote
//port is 4665
+KTCP_SRVREQ: 2,5,"10.10.10.110",4668
//incoming a connection request from the same ip via the same listening port, the remote
//port is 4668
+KTCP_SRVREQ: 1,6,"192.168.1.117",1739
//incoming a connection request from “192.168.1.117” via listening port 179, the remote
//port is 1739
+KTCP_NOTIF: 4,4
//the connection of sub session id 4 (on listening port 180) is closed.
+KTCP_SRVREQ: 2,4,"10.10.10.8",4672
//incoming a connection request from “10.10.10.8” via listening port 180, the remote port
//is 4672
Reference Notes
Sierra Wireless • This notification is sent when a client requests a connection to the server. The
Proprietary connection is automatically accepted.
• The created session is driven as any other TCP session with its own session
ID. Use +KTCPSND, +KTCPRCV, +KTCPCLOSE, etc. to provide the service
associated to this TCP server.
• The TCP server corresponding to the session ID is still able to receive
connection requests from other clients. These requests are notified with
+KTCP_SRVREQ.
• The client IP address and port can also be checked using AT+KTCPCFG? after
the client is connected to the TCP server.
HL78xx
Unsolicited Response
Notification +KTCP_DATA: <session_id>,<ndata available>[,<data>]
Parameters
<session_id> TCP session index
HL78xx
Unsolicited Response
Notification +KTCP_IND: <session_id>,<status>
Parameters
<session_id> TCP session index
<status> TCP session status. 1 session is set up and ready for operation
Reference Sierra Wireless Proprietary
HL78xx
Test command
Syntax Response
AT+KTCPSTAT= OK
?
HL78xx
Read command
Syntax Response
AT+KTCPSTAT? OK
Write command
Syntax Response
For all TCP +KTCPSTAT: <session_id>,<status>,<tcp_notif>,<rem_data>,<rcv_data>
session IDs: […]
AT+KTCPSTAT OK
or or
AT+KTCPSTAT= +KTCPSTAT: <status>,<tcp_notif>,<rem_data>,<rcv_data>
<session_id> OK
Parameters
<session_id> TCP session index
HL78xx
Test command
Syntax Response
AT+KTCPSTART OK
=?
Read command
Syntax Response
AT+KTCPSTART OK
?
HL78xx
Write command
Syntax Response
AT+KTCPSTART CONNECT
=<session_id> OK
or
+CME ERROR: an error occurs, syntax error
+KTCP_NOTIF: <session_id>,<tcp_notif> : an error occurs
Parameters
<session_id> TCP session index
HL78xx
Unsolicited Response
Notification +KTCP_ACK: <session_id>,<ackdBytes>,<sentBytes>
Parameters
<session_id> TCP session index
HL78xx
Test command
Syntax Response
AT+KUDPCFG=? +KUDPCFG: (list of possible <cnx cnf>s),(list of possible <mode>s),(list of possible
<port>s),(list of possible <data_mode>s),<remote-name/ip>,(list of possible
<udp_port>s),(list of possible <af>s),(list of possible <restore_on_boot>s)
OK
Read command
Syntax Response
AT+KUDPCFG? +KUDPCFG: <session_id>,<cnx cnf>,<mode>,<port>,<data_mode>,<udp remote
address>,<udp_port>,<af>,<restore_on_boot>
[…]
OK
HL78xx
Write command
Syntax Response
AT+KUDPCFG= +KUDPCFG: <session_id>
[<cnx cnf>], OK
<mode>[,[<port>]
[,[<data_mode>]
or
[,[<udp remote
address>][,[<udp +CME ERROR: <err>
_port>][,[<af>][, +KUDP_NOTIF: <session_id>, <udp_notif>
[<restore_on_
boot>]]]]]]] Parameters
<session_id> UDP session index
<mode> 0 Client
1 Server
<cnx cnf> PDP context configuration. Numeric parameter which specifies a particular
PDP context configuration.
<udp_notif> Integer type. Indicates the cause of the UDP connection failure.
0 Network error
1 No more sockets available; max number already reached
2 Memory problem
3 DNS error
5 UDP connection error (host unreachable)
6 Generic error
8 Data sending is OK but +KUDPSND was waiting more or less characters
9 Bad session ID
10 Session is already running
11 All sessions are used
13 UDP SSL connection error
15 Bad server mode
<udp remote address> IP address string or explicit name of the remote host,
Default is empty (given by +KUDPSND).
HL78xx
Reference Notes
Sierra Wireless • For UDP socket in server mode, it is bound to a defined port number, incoming
Proprietary connection are notified by +KUDP_DATA. If remote address and port are given,
they are saved for use in +KUDPSND.
• Maximum <session_id> is 6.
• +KCNXCFG configuration should be set up to start the connection properly.
• The socket connection will not be requested when the concerned PDP is active
and the configuration of +KCNXCFG is not the same as +CGDCONT.
• For <restore_on_boot>, only the first session is restored.
HL78xx
Test command
Syntax Response
AT+KUDPRCV=? +KUDPRCV: (list of possible <session_id>s),(list of possible <ndata>s)
OK
Write command
Syntax Response
AT+KUDPRCV= CONNECT
<session_id>, …<EOF pattern>
<ndata> OK
+KUDP_RCV: <udp remote address>,<udp remote port>
or
NO CARRIER
+CME ERROR: <err>
+KUDP_NOTIF: <session_id>, <udp_notif>
Parameters
<session_id> UDP session index
<ndata> Number of bytes the device wants to receive (max value 4294967295)
HL78xx
Reference Notes
Sierra Wireless • This function is used to receive <ndata> data bytes through a previously
Proprietary opened UDP socket.
• <ndata> indicates the max data number that the terminal wishes to receive. If
the UDP socket contains more data than <ndata> bytes, then only <ndata>
bytes will be received, and more data can be read by running this command
again.
• <EOF pattern> would be added at the end of data automatically.
• When <ndata> (max value) bytes or only available data in the UDP socket have
been received, the module returns to command mode.
• It is highly recommended to configure the module for hardware flow control
using AT&K3 before using this command.
• Refer to AT&D for the behavior of DTR drop.
HL78xx
Test command
Syntax Response
AT+KUDPSND=? +KUDPSND: (list of possible <session_id>s),<remote-name/ip>,(list of possible
<udp_port>s),(list of possible <ndata>s)
OK
Write command
Syntax Response
AT+KUDPSND= CONNECT
<session_id>, OK
<udp remote
address>, or
<udp_port>, NO CARRIER
<ndata>
+CME ERROR: <err>
+KUDP_NOTIF: <session_id>,<udp_notif>
Parameters
<session_id> UDP session index
<udp remote address> IP address string or explicit name of the remote host
HL78xx
Reference Notes
Sierra Wireless • All data will be sent out ignoring <ndata>. If data sent is not equal to <ndata>
Proprietary then +KUDP_NOTIF will be displayed.
• <ndata> is the data size without <EOF pattern>.
• It is highly recommended to configure the module for hardware flow control
using AT&K3 before using this command.
• Refer to AT&D for the behavior of DTR drop.
• The maximum transmission unit (MTU) is 1500 Bytes.
• The <udp remote address> and <udp_port> are saved internally such that they
can be omitted in subsequent calls of +KUDPSND.
• The packet segmentation is controlled by +KIPOPT with <option_id>=0, and
the maximum UDP packet size is limited by <send size v4> (1472 bytes) or
<send size v6> (1452 bytes). Default value for both parameters is 1020 bytes.
• The data session can also be ended by <EOF pattern>, +++ or DTR.
HL78xx
Test command
Syntax Response
AT+KUDPCLOSE +KUDPCLOSE: (list of possible <session_id>s),(list of possible <keep_cfg>s)
=? OK
Write command
Syntax Response
AT+KUDPCLOSE OK
=<session_id>
[,<keep_cfg>] or
+KUDP_NOTIF: <session_id>, <udp_notif>
Parameters
<session_id> UDP session index
<keep_cfg> Specifies whether to delete the session configuration after closing it or not
0 Delete the session configuration
1 Keep the session configuration
Reference Notes
Sierra Wireless • This function closes the UDP session. If there is no other session running, the
Proprietary PDP context will be released.
• This function will delete the session configuration if <keep_cfg> = 0.
HL78xx
Test command
Syntax Response
AT+KUDPDEL=? +KUDPDEL: (list of possible <session_id>s)
OK
Write command
Syntax Response
AT+KUDPDEL= OK
<session_id>
or
+CME ERROR: <err>
Parameters
<session_id> UDP session index
Reference Notes
Sierra Wireless The session must be closed (using +KUDPCLOSE) before using this command.
Proprietary
HL78xx
Unsolicited Response
Notification +KUDP_IND: <session_id>,<status>
Parameters
<session_id> UDP session index
HL78xx
Unsolicited Response
Notification +KUDP_DATA: <session_id>,<ndata available>[,<udp remote address>,<udp
remote port>,<data>]
HL78xx
Parameters
<session_id> UDP session index
HL78xx
Test command
Syntax Response
AT+KHTTPCFG +KHTTPCFG: (list of possible <cnx_cnf>s),<server-name/ip>,(list of possible
=? <http_port>s),(list of possible <http_version>s),(range of possible length of <login>),
(range of possible length of <password>),(list of possible <started>s),(list of possible
<af>s,(list of <cipher_index>es))
OK
Read command
Syntax Response
AT+KHTTPCFG? +KHTTPCFG: <session_id>,<cnx cnf>,<http_server>,<http_port>,<http_version>,
<login>,<password>,<started>,<af>,<cipher_index>
OK
HL78xx
Write command
Syntax Response
AT+KHTTPCFG= +KHTTPCFG: <session_id>
<cnx cnf>, OK
<http_server>
[,<http_port>
[,<http_version> or
[,<login> +CME ERROR: <err>
[,<password>
[,<start> Parameters
[,<af> <cnx cnf> PDP context configuration; numeric parameter which specifies a particular
[,<cipher_index>] PDP context configuration (see +KCNXCFG)
]]]]]]
Note that the maximum number of simultaneous connections is limited to 2.
<login> String type, indicates the user name to be used during the HTTP
connection
<password> String type, indicates the password to be used during the HTTP
connection
<cipher_suite> Cipher suite profile index to use for a secured socket; defined by
+KSSLCRYPTO
Reference Notes
Sierra Wireless • <http_port> and <http_server> define the port and the IP address of the remote
Proprietary server to connect to.
• This command can be used before setting up +KCNXCFG. Note however that
the latter is required to start the connection properly.
• For <af> = 1 (IPV6), server address <http_server> in the IP address string
format can be optionally quoted with square brackets “[]”.
e.g. [FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]
HL78xx
Test command
Syntax Response
AT+KHTTPCNX= +KHTTPCNX: (list of possible <session_id>s)
? OK
Write command
Syntax Response
AT+KHTTPCNX= OK
<session_id>
or
+CME ERROR: <err>
+KHTTP_ERROR: <session_id>,<http_notif>
Parameters
<session_id> HTTP session index
<http_notif> Integer type. Indicates the cause of the HTTP connection failure
4 DNS error
5 HTTP connection error due to internal trouble
6 HTTP connection timeout
7 Flash access trouble
8 Flash memory full
9 Triple plus (+++) error (switch to command mode)
10 HTTP has no data
11 HTTP has partial data
Reference Notes
Sierra Wireless • This command is used to start the HTTP connection created by +KHTTPCFG
Proprietary with <start>=0.
• +KHTTPGET, +KHTTPHEAD and +KHTTPPOST automatically starts the
connection if it has not been started before using AT+KHTTPCNX.
HL78xx
Test command
Syntax Response
AT+ +KHTTPHEADER: (list of possible <session_id>s),<local_uri>
KHTTPHEADER OK
=?
Read command
Syntax Response
AT+ +KHTTPHEADER: <session_id>,<count>
KHTTPHEADER? […]
HL78xx
Write command
Syntax Response
AT+ CONNECT
KHTTPHEADER= …<EOF pattern>
<session_id> OK
[,<local_uri>]
or
+CME ERROR: <err>
Parameters
<session_id> HTTP session index
HL78xx
Test command
Syntax Response
AT+KHTTPGET +KHTTPGET: (list of possible <session_id>s),<request_uri >,(list of possible
=? <show_resp>s)
OK
Write command
Syntax Response
AT+KHTTPGET= CONNECT
<session_id>, …<EOF pattern>
<request_uri> OK
[,<show_resp>]
or
NO CARRIER
+CME ERROR: <err>
+KHTTP_ERROR: <session_id>,<http_notif>
Parameters
<session_id> HTTP session index
<request_uri> String type, indicates the information url to get during the HTTP
connection
HL78xx
<http_notif> Integer type. Indicates the cause of the HTTP connection failure
4 DNS error
5 HTTP connection error due to internal trouble
6 HTTP connection timeout
7 Flash access trouble
8 Flash memory full
9 Triple plus (+++) error (switch to command mode)
10 HTTP got no data
11 HTTP got partial data
HL78xx
Test command
Syntax Response
AT+KHTTPHEAD +KHTTPHEAD: (list of possible <session_id>s),<request_uri>
=? OK
Write command
Syntax Response
AT+KHTTPHEAD CONNECT
=<session_id>, …<EOF pattern>
<request_uri> OK
or
NO CARRIER
+CME ERROR: <err>
+KHTTP_ERROR: <session_id>,<http_notif>
Parameters
<session_id> HTTP session index
<request_uri> String type, indicates the information URL to get during HTTP
connection
HL78xx
Reference Notes
Sierra Wireless • This method is identical to +KHTTPGET except that the server MUST NOT
Proprietary return a message-body in the response. The meta-information contained in the
HTTP headers in response to a HEAD request SHOULD be identical to the
information sent in response to a GET request.
• HTTP does not support DTR1.
• HTTP does not support ATO.
HL78xx
Test command
Syntax Response
AT+KHTTPPOST +KHTTPPOST: (list of possible <session_id>s),<local_uri>,<request_uri>,(list of
=? possible <show_resp>s)
OK
Write command
Syntax Response
AT+KHTTPPOST CONNECT
=<session_id>, …<EOF pattern>
<local_uri>, OK
<request_uri>
[,<show_resp>]
or
NO CARRIER
+CME ERROR: <err>
+KHTTP_ERROR: <session_id>,<http_notif>
Parameters
<session_id> HTTP session index
HL78xx
Unsolicited Response
Notification +KHTTP_IND: <session_id>,<status>[,<data_len>,<st_code>,<st_reason>]
Parameters
<session_id> HTTP session index
HL78xx
Test command
Syntax Response
AT+ +KHTTPCLOSE: (list of possible <session_id>s), (list of possible <keep_cfg>s)
KHTTPCLOSE=? OK
Write command
Syntax Response
AT+ OK
KHTTPCLOSE=
<session_id> or
[,<keep_cfg>]
+CME ERROR: <err>
Parameters
<session_id> HTTP session index
HL78xx
Test command
Syntax Response
AT+KHTTPDEL +KHTTPDEL: (list of possible <session_id>s)
=? OK
Write command
Syntax Response
AT+KHTTPDEL= OK
<session_id>
or
+CME ERROR: <err>
Parameter
<session_id> HTTP session index
Reference Notes
Sierra Wireless The HTTP session must be closed (using +KHTTPCLOSE) before using this command.
Proprietary
HL78xx
Test command
Syntax Response
AT+KHTTPPUT= +KHTTPPUT: (list of possible <session_id>s),<local_uri>,<request_uri>,(list of
? possible <show_resp>s)
OK
Write command
Syntax Response
AT+KHTTPPUT= CONNECT
<session_id>, …<EOF pattern>
<local_uri>, OK
<request_uri>
[,<show_resp>]
or
NO CARRIER
+CME ERROR: <err>
+KHTTP_ERROR: <session_id>,<http_notif>
Parameters
<session_id> HTTP session index
HL78xx
HL78xx
Test command
Syntax Response
AT+ +KHTTPDELETE: (list of possible <session_id>s),<request_uri>,(list of possible
KHTTPDELETE= <show_resp>s)
? OK
Write command
Syntax Response
AT+ CONNECT
KHTTPDELETE= …<EOF pattern>
<session_id>, OK
<request_uri>
[,<show_resp>]
or
NO CARRIER
+CME ERROR: <err>
+KHTTP_ERROR: <session_id>,<http_notif>
Parameters
<session_id> HTTP session index
<request_uri> String type, indicates the information URL to get during the HTTP
connection
HL78xx
Reference Notes
Sierra Wireless • The user can abort downloading by sending “End of Data pattern” from the
Proprietary host. In this case, the module will end the transfer by transmitting the EOF
followed by NO CARRIER.
• Downloading can also be aborted (disconnected) using +++ or DTR as
specified in section 14.7 Switch Data/Command Mode DTR +++ ATO Behavior
Table.
HL78xx
Test command
Syntax Response
AT+KFTPCFG=? +KFTPCFG: (list of possible <cnx cnf>s),<server-name/ip>,(range of possible length of
<login>),(range of possible length of <password>),(list of possible <port_number>s),
(list of possible <mode>s),(list of possible <start>s),(list of possible <af>s)
OK
Read command
Syntax Response
AT+KFTPCFG? +KFTPCFG: <session_id>,<cnx cnf>,<server_name>,<login>,<password>,
<port_number>,<mode>,<started>,<af>
OK
Write command
Syntax Response
AT+KFTPCFG= +KFTPCFG:<session_id>
[<cnx cnf>], OK
<server_name>
[,<login> or
[,<password>
[,<port_number> +KFTP_ERROR: <session_id>,<ftp cause>
[,<mode>]
[,<start>] Parameters
[,<af>]]]] <cnx cnf> Index of a set of parameters for configuring one FTP session (see
+KCNXCFG)
<server_name> IP address string of the ftp server or domain name of the server
<login> String type, indicates the username to be used during the FTP
connection
HL78xx
<password> String type, indicates the password to be used during the FTP
connection. (Note: The password does not appear in the Read response. The field
displays as "".)
<ftp_cause> Integer type. Indicates the cause of the FTP connection failure
0 Sending or retrieving was impossible due to request timeout
1 Impossible to connect to the server due to DNS resolution failure
2 Impossible to download a file due to connection troubles
3 Download was impossible due to connection timeout
4 No network available
5 Flash access trouble
6 Flash memory full
7 Network error
XXX 3-digit reply code from the FTP server. See section 14.4 FTP Reply Codes
Reference Notes
Sierra Wireless • Write command sets the server name, login, password, port number and mode
Proprietary for ftp operations.
• This command (with <start> = 0) can be used before setting up +KCNXCFG
configuration. Note however that the latter is required to start the connection
properly.
• The connection timeout for TCP socket is about 9 seconds with 3
retransmissions with a 3-second delay.
• The result of the FTP connection is indicated by URC.
• The default timeout for FTP is 180 seconds.
• The password does not appear in the Read response. The field displays as "".
Examples AT+KFTPCFG=1,"ftp.connect.com","username","password",21,1
+KFTPCFG: 1
OK
AT+KFTPCFG =?
+KFTPCFG: (1),<remote-name/ip>,(0-65),(0-65),(1-65535),(0-1),(0-1),(0-1)
OK
HL78xx
AT+KFTPCFG?
+KFTPCFG: 1,1,”ftp.connect.com”,”username”,"",21,1,0,0
OK
HL78xx
Test command
Syntax Response
AT+KFTPCNX=? +KFTPCNX: (list of possible <session_id>s)
OK
Read command
Syntax Response
AT+KFTPCNX? ERROR
Write command
Syntax Response
AT+KFTPCNX= OK
<session_id>
or
NO CARRIER
+CME ERROR: <err>
+KFTP_ERROR: <session_id>,<ftp cause>
Parameters
<session_id> FTP session index
<ftp_cause> Integer type. Indicates the cause of the FTP connection failure.
0 Sending or retrieving was impossible due to request timeout
1 Impossible to connect to the server due to DNS resolution failure
2 Impossible to download a file due to connection troubles
3 Download was impossible due to connection timeout
4 No network available
5 Flash access trouble
6 Flash memory full
7 Network error
XXX 3-digit reply code from the FTP server. See section 14.4 FTP Reply Codes
Reference Notes
Sierra Wireless • This command is used to start the FTP connection created by +KFTPCFG with
Proprietary <start>=0.
Examples AT+KFTPCNX=?
+KFTPCNX: (1-6)
OK
AT+KFTPCNX=1
ERROR
+KFTP_ERROR: 1,2
HL78xx
AT+KFTPCNX=?
+KFTPCNX: (1-6)
OK
AT+KFTPCNX=1
OK
+KCNX_IND: 1,1,0
+KFTP_IND: 1,1
HL78xx
Test command
Syntax Response
AT+KFTPRCV=? +KFTPRCV: (list of possible <session_id>s),<local_uri>,<server_path>,<file_name>,
(list of possible <type_of_file>s),(list of possible <offset>s),(list of possible <size>s)
OK
Read command
Syntax Response
AT+KFTPRCV? ERROR
Write command
Syntax Response
AT+KFTPRCV= CONNECT
<session_id>, <EOF_pattern>
[<local_uri>], OK
[<server_path>],
<file_name>
[,<type_of_file> or
[,<offset>] +CME ERROR<err>
[,<size>]] NO CARRIER
+KFTP_ERROR: <session_id>,<ftp cause>
Parameters
<session_id> FTP session index
<type_of_file> Numeric type. Indicates the type of file (ASCII or binary) to transfer
0 Binary (default value)
1 ASCII (not supported)
HL78xx
<ftp_cause> Integer type. Indicates the cause of the FTP connection failure
0 Sending or retrieving was impossible due to request timeout
1 Impossible to connect to the server due to DNS resolution failure
2 Impossible to download a file due to connection troubles.
3 Download was impossible due to connection timeout
4 No network available
5 Flash access trouble
6 Flash memory full
7 Network error
XXX 3-digit reply code from the FTP server. See section 14.4 FTP Reply Codes
Reference Notes
Sierra Wireless • An FTP connection must have been achieved using AT+KFTPCFG before using
Proprietary this command.
• The user will receive the entire data stream after sending +KFTPRCV.
• The user can abort the download by sending the “end of data pattern” from the
host. In this case, the module will end the transfer by transmitting the EOF
followed by OK.
• Download can also be aborted by +++.
• If AT&C1 is set, DCD will be ON after CONNECT, and DCD will be OFF after
the download is done.
• If the FTP server does not support the resume feature, the module will output
+KFTP_ERROR. The <ftp_cause> will be in the sets {500, 501, 502, 421, 530}.
See section section 14.4 FTP Reply Codes for details.
Examples AT+KFTPRCV?
ERROR
AT+KFTPRCV=?
+KFTPRCV: (1-6),<local_uri>,<server_path>,<file_name>,(0),(0-4294967295) ,(0-
4294967295)
OK
AT+KFTPRCV=1,,,"filename.txt"
CONNECT
…data…
OK
+KFTP_IND: 1,2,10
HL78xx
Test command
Syntax Response
AT+KFTPSND=? +KFTPSND: (list of possible <session_id>s),<local_uri>,<server_path>,<file_name>,
(list of possible <type of file>s),(list of possible <append>s),(list of possible <offset>s),
(list of possible <size>s)
OK
Read command
Syntax Response
AT+KFTPSND? ERROR
Write command
Syntax Response
AT+KFTPSND= CONNECT
<session_id>, data … | OK
[<local_uri>], <EOF pattern>
[<server_path>],
<file_name> OK
[,<type of file>]
[,<append>] or
[,<offset>][,<size +CME ERROR <err>
>] NO CARRIER
+KFTP_ERROR: <session_id>,<ftp cause>
Parameters
<session_id> FTP session index
<server_path> String type. Indicates the path of the file to be uploaded. An empty
string or no string indicates the uploading is done from the path given by the FTP server
<type of file> Numeric type. Indicates the type of file (ASCII or binary) to transfer
0 Binary
1 ASCII (not supported)
HL78xx
<ftp_cause> Integer type. Indicates the cause of the FTP connection failure.
0 Sending or retrieving was impossible due to request timeout
1 Impossible to connect to the server due to DNS resolution failure
2 Impossible to download a file due to connection troubles.
3 Download was impossible due to connection timeout
4 No network available
5 Flash access trouble
6 Flash memory full
7 Network error
XXX 3-digit reply code from the FTP server. See section 14.4 FTP Reply Codes
Reference Notes
Sierra Wireless • An FTP connection must have been achieved using AT+KFTPCFG before using
Proprietary this command.
• After sending the command, the host must send the entire data stream of the
file after sending +KFTPSND.
• Upload can also be ended (disconnected) by +++ or DTR as specified in
section 14.7 Switch Data/Command Mode DTR +++ ATO Behavior Table.
• ATO is not available for this command
• If AT&C1 is set, DCD will be ON after CONNECT, and it will be OFF after the
upload is done.
Examples AT+KFTPSND=?
+KFTPSND: (1-6),<local_uri>,<server_path>,<file_name>,(0),(0-1),(0-4294967295),
(0-4294967295)
OK
HL78xx
Test command
Syntax Response
AT+KFTPDEL=? +KFTPDEL: (list of possible <session_id>s),<server_path>,<file_name>,(list of
possible <type>s)
OK
Read command
Syntax Response
AT+KFTPDEL? ERROR
Write command
Syntax Response
AT+KFTPDEL= OK
<session_id>,
[<server_path>], or
<file_name>
[,<type>] +CME ERROR <err>
NO CARRIER
+KFTP_ERROR: <session_id>,<ftp cause>
HL78xx
Parameters
<session_id> FTP session index
<server_path> String type. Indicates the path of the file to be deleted. An empty
string or no string indicates the deleting is done from the path given by the FTP server
<type> Numeric type. Indicates the type of file (ASCII or binary) to transfer
0 Binary
1 ASCII (Not supported)
<ftp_cause> Integer type. Indicates the cause of the FTP connection failure
0 Sending or retrieving was impossible due to request timeout
1 Impossible to connect to the server due to DNS resolution failure
2 Impossible to delete a file due to connection troubles
3 Deleting was impossible due to connection timeout
4 No network available
XXX 3-digit reply code from the FTP server. See section 14.4 FTP Reply Codes
Reference Notes
Sierra Wireless • An FTP connection must have been achieved using AT+KFTPCFG before using
Proprietary this command.
Examples AT+KFTPDEL=?
+KFTPDEL: (1-6),<server_path>,<file_name>,(0)
OK
HL78xx
Unsolicited Response
Notification +KFTP_IND: <session_id>,<status>[,<data_len>]
Parameters
<session_id> FTP session index
HL78xx
Test command
Syntax Response
AT+KFTPCLOSE +KFTPCLOSE: (list of possible <session_id>s),(list of possible <keep_cfg>s)
=? OK
Write command
Syntax Response
AT+KFTPCLOSE OK
=<session_id>
[,<keep_cfg>] Parameters
<session_id> FTP session index
AT+KFTPCLOSE=1,1
OK
HL78xx
Test command
Syntax Response
AT+ +KFTPCFGDEL: (list of possible <session_id>s)
KFTPCFGDEL=? OK
Write command
Syntax Response
AT+ OK
KFTPCFGDEL=
<session_id> or
+CME ERROR: <err>
Parameters
<session_id> FTP session index
HL78xx
Reference Notes
Sierra Wireless The session must be closed (using +KFTPCLOSE) before using this command.
Proprietary
Examples AT+KFTPCFGDEL=?
+KFTPCFGDEL: (1-6)
OK
AT+KFTPCFGDEL=1
OK
HL78xx
Test command
Syntax Response
AT+KFTPLS=? +KFTPLS: (list of possible <session_id>s),<server_path>,<file_name>,(list of possible
<type>s)
OK
Write command
Syntax Response
AT+KFTPLS= OK
<session_id>,
[<server_path>], or
<file_name>
[,<type>] +CME ERROR <err>
NO CARRIER
+KFTP_ERROR: <session_id>,<ftp cause>
Parameters
<session_id> FTP session index
<server_path> String type. Indicates the path of the file to be deleted. An empty
string or no string indicates the deleting is done from the path given by the FTP server
<file_name> String type. Indicates the name of the file to list size
<type> Numeric type. Indicates the type of file (ASCII or binary) to transfer
0 Binary
1 ASCII (not supported)
<ftp_cause> Integer type. Indicates the cause of the FTP connection failure
0 Sending or retrieving was impossible due to request timeout
1 Impossible to connect to the server due to DNS resolution failure
2 Impossible to delete a file due to connection troubles
3 Deleting was impossible due to connection timeout
4 No network available
XXX 3-digit reply codes from the FTP server. See section 14.4 FTP Reply Codes
HL78xx
Reference Notes
Sierra Wireless • An FTP connection must have been achieved using AT+KFTPCFG before using
Proprietary this command.
Examples AT+KFTPLS=?
+KFTPLS: (1-6),<server_path>,<file_name>,(0)
OK
AT+KFTPLS=1,,"filename.txt"
+KFTPLS: filename.txt 24
OK
Test command
Syntax Response
AT+WDSC=? +WDSC: (0-2,5,6),(list of supported <State>s)
+WDSC: 3,(list of supported <State>s)
+WDSC: 4,(list of supported <Timer_1>s),(list of supported <Timer_2>s),(list of
supported <Timer_3>s),(list of supported <Timer_4>s),(list of supported <Timer_5>s),
(list of supported <Timer_6>s),(list of supported <Timer_7>s),(list of supported
<Timer_8>s)
OK
Read command
Syntax Response
AT+WDSC? +WDSC: 0,<State>
+WDSC: 1,<State>
+WDSC: 2,<State>
+WDSC: 3,<State>
+WDSC: 4,<Timer_1>[[,<Timer_2>]...[,<Timer_n>]]
+WDSC: 5,<State>
+WDSC: 6,<State>
OK
Write command
Syntax Response
For <Mode>= 0, 1, OK
2, 3, 5, 6:
AT+WDSC= or
<Mode>,<State> +CME ERROR <err>
HL78xx
3 Polling mode
The embedded module will initiate a connection to the Device
Services server according to the defined timer
4 Retry mode
If an error occurs during a connection to the Device Services
server (WWAN DATA establishment failed, http error code
received), the embedded module will initiate a new connection
according to the defined timers. This mechanism is persistent to
the reset.
5 User agreements for device reboot
When this mode is activated, an indication (see +WDSI for more
information) is returned by the embedded module to request for an
agreement before rebooting the device
6 User agreements for application uninstall (SW update)
When this mode is activated, an indication (see +WDSI for more
information) is returned by the embedded module to request for an
agreement before uninstalling an application.
<Timer_1> Timer between the first failed connection and the next attempt.
Range = 0 – 20160 (units: min).
0 The retry mode is deactivated
15 Default value
<Timer_n> Timer between the nth failed attempt connection and the (n+1)th
connection (n ≤ 7). Range = 1 – 20160 (units: min)
Default values:
<Timer_2>=60
<Timer_3>=240
<Timer_4>=960
<Timer_5>=2880
<Timer_6>=10080
<Timer_7>=10080
<Timer_8>=not used
Reference Notes
Sierra Wireless • This command is available when the embedded module has finished the Device
Proprietary Services initialization (see +WDSI) and when the AVMS services are in
Command prohibited state (see +WDSG).
• Parameters <State> and <Timer_1> to <Timer_n> are stored in non-volatile
memory without sending the &W command. The &F command has no impact on
these values.
• The network registration is considered as “failed” when all connections
configured by the retry mode have failed. This registration is forbidden while the
APN is not set by +WDSS.
HL78xx
Examples AT+WDSC=?
+WDSC:(0-2,5,6),(0-1)
+WDSC:3,(0-525600)
+WDSC:4,(0-20160),(1-20160),(1-20160),(1-20160),(1-20160),(1-20160),(1-20160)
OK
AT+WDSC?
// All modes are deactivated except retry mode which is used with default timers
+WDSC: 0,0
+WDSC: 1,0
+WDSC: 2,0
+WDSC: 3,0
+WDSC: 4,15,60,240,960,2880,10080,10080
+WDSC: 5,0
+WDSC: 6,0
OK
AT+WDSC=0,1
OK
AT+WDSC?
+WDSC: 0,1
+WDSC: 1,0
+WDSC: 2,0
+WDSC: 3,0
+WDSC: 4,15,60,240,960,2880,10080,10080
+WDSC: 5,0
+WDSC: 6,0
OK
Execute command
Syntax Response
AT+WDSE [+WDSE:<HTTP_Status>]
OK
+CME ERROR <err>
Parameter
<HTTP_Status> Integer type – Last HTTP response received by the module
100 Continue
101 Switching Protocols
200 OK
201 Created
202 Accepted
203 Non-Authoritative Information
204 No Content
205 Reset Content
206 Partial content
HL78xx
AT+WDSE
+WDSE: 200 //The last HTTP response received is “OK”
OK
Test command
Syntax Response
AT+WDSG=? OK
Write command
Syntax Response
AT+WDSG +WDSG: <Indication>,<State>
[+WDSG: <Indication>,<State>[…]]
OK
or
+CME ERROR <err>
Parameters
<Indication> Integer type
0 Device services activation state
1 Session and package indication
For <Indication>=1
0 No session or package
1 A session is under treatment
2 A package is available on the server.
3 A package was downloaded and ready to install
When a package was installed or a recovery was made, <State> is set to 0.
Reference Notes
Sierra Wireless This command is available when the embedded module has finished the Device
Proprietary Services initialization (see +WDSI).
Command
Examples AT+WDSG=?
OK
AT+WDSG
+WDSG: 0,3 //Device services are activated,
+WDSG: 1,0 //No session to the server, no patch to download or to install
OK
Test command
Syntax Response
AT+WDSI=? +WDSI: (list of supported <Level>s)
OK
Read command
Syntax Response
AT+WDSI? [+WDSI: <Level>]
OK
Write command
Syntax Response
AT+WDSI= OK
<Level>
or
+CME ERROR <err>
Parameters
<Level> Indication level, bit field (default value = 0)
Bit set to 0 Indication deactivated
Bit set to 1 Indication activated
0 No indication
1 Activate the initialization end indication (<Event> = 0)
2 Activate the server request for a user agreement indication (<Event> = 1, 2, 3, 24
and 25)
4 Activate the authentication indications (<Event> = 4 and 5)
8 Activate the session indication (<Event> = 6, 7, 8)
16 Activate the package download indications (<Event> = 9, 10 and 11)
32 Activate the certified downloaded package indication (<Event> = 12 and 13)
64 Activate the update indications (<Event> = 14, 15 and 16)
256 Activate download progress indication (<Event> = 18)
2048 Reserved
4096 Activate Bootstrap event indications (<Event> = 23)
<Event> 0 Device services are initialized and can be used. The device is
configured to be able to authenticate with the AV server.
1 The Device Services server requests the device to make a
connection. The device requests a user agreement to allow the
module to make the connection. The response can be sent using
+WDSR and this indication can be returned by the device if the user
has activated the user agreement for connection.
2 The Device Services server requests the device to make a package
download. The device requests a user agreement to allow the
module to make the download. The response can be sent
using +WDSR and this indication can be returned by the
device if the user has activated the user agreement for download.
3 The device has downloaded a package. The device requests a
user agreement to install the downloaded package. The response
HL78xx
HL78xx
2 Corrupted firmware update package; did not store correctly. Detected, for
example, by mismatched CRCs between actual and expected or signature check
error.
3 RAM issue (resume is possible but suggests rebooting the platform before the
resume)
4 Download issue but the package download could be resumed
5 Flash issue during package download
AT+WDSI?
+WDSI: 0 // All indications are deactivated
OK
AT+WDSI=207
OK
+WDSI: 1 // The devices services server requests a connection to the
// embedded module
HL78xx
Test command
Syntax Response
AT+WDSR=? +WDSR: (list of supported <Reply>s),(list of supported <Timer>s)
OK
Write command
Syntax Response
AT+WDSR= OK
<Reply>
[,<Timer>] or
+CME ERROR <err>
Parameters
<Reply> Reply to user agreement request (see +WDSI)
0 Delay the connection to the server
1 Accept the connection to the server
2 Delay the download
3 Accept the download
4 Accept the install
5 Delay the install
6 Accept the device reboot
7 Delay the device reboot
8 Accept the application uninstall
9 Delay the application uninstall
<timer> Timer until a new User agreement request is returned by the module. This
parameter is only available for <Reply>=0, 2, 5, 7 or 9. Units: minutes. Range is from 0
to 1440. Default value = 30.
Reference Notes
Sierra Wireless • This command is available when the embedded module has finished the Device
Proprietary Services initialization (see +WDSI) and when the AVMS services are in
Command activated state (see +WDSG)
• It is not possible to refuse:
an install request (AT+WDSR=5,0) and will return +CME ERROR: 3.
a device reboot request (AT+WDSR=7,0) and will return +CME ERROR: 3.
an uninstall request (AT+WDSR=9,0) and will return +CME ERROR: 3.
• After an install delay if the embedded module is powered down until after the
delay, it is not powered on and the new user agreement request should be
returned at the newt start up.
Examples AT+WDSR=?
+WDSR: (0-9),(0-1440)
HL78xx
OK
+WDSI: 1 //The device Services server requests the device to make a connection to
//the server. The user is requested to allow the connection.
AT+WDSR=1
OK
+WDSI: 3 //A user agreement is requested to install a package
Test command
Syntax Response
AT+WDSS=? +WDSS: 1,(list of supported <Action>s for this <Mode>)
+WDSS: 2,(range of supported PDP context identifiers)
OK
Read command
Syntax Response
AT+WDSS? [+WDSS: 1,<Action>]
[+WDSS: 2,<Cid>]
OK
Write command
Syntax Response
For <mode>=1 OK
AT+WDSS=
<Mode>, or
<Action> +CME ERROR <err>
HL78xx
Reference Notes
Sierra Wireless • This command is available when the embedded module has finished the Device
Proprietary Services initialization (see +WDSI)
Command • AT+WDSS? command only returns OK if no APN is defined.
• When a request is sent to the embedded module to resume an inexistent or
unsuspended session, +CME ERROR: 3 is returned.
• When a request is sent to the embedded module to release an inexistent
session, +CME ERROR: 3 is returned.
AT+WDSS=?
+WDSS: 1,(0-1)
+WDSS: 2,(1-1)
OK
Test command
Syntax Response
AT+WDSTPF=? +WDSTPF: 0,(<addr> length range)
+WDSTPF: 1
OK
Read command
Syntax Response
AT+WDSTPF? +WDSTPF: 0,<addr>
+WDSTPF: 1,<state>
OK
HL78xx
Write command
Syntax Response
When <mode>=0: OK
AT+WDSTPF=
<mode>,<addr> Parameters
<mode> Mode of operation
When <mode>=1: 0 Set the package URL. This address is stored in memory and is persistent to
AT+WDSTPF= reset
<mode> 1 Start FOTA operation. When this mode is activated, download starts depending
on user agreement configuration (see +WDSC)
AT+WDSTPF?
+WDSTPF: 0,"http://abcd.net:80/1234"
+WDSTPF: 1,0
OK
AT+WDSC?
+WDSC: 0,1
+WDSC: 1,0
+WDSC: 2,1
+WDSC: 3,0
+WDSC: 4,15,60,240,480,1440,2880,0,0
+WDSC: 5,0
+WDSC: 6,0
HL78xx
+WDSI: 18,5
+WDSI: 18,70
+WDSI: 18,100
+WDSI: 12
+WDSI: 10
+WDSI: 14
+WDSI: 16
Test command
Syntax Response
AT+ +WMTXPOWER: (list of supported <ENABLE>s),(list of supported<BAND>s),(list of
WMTXPOWER=? supported<CHANNEL>s),(list of supported<POWER_LEVEL>s),(list of supported
<TX_TYPE>s),(list of supported <BANDWIDTH>s)
OK
Read command
Syntax Response
AT+ +WMTXPOWER: <ENABLE>[,<BAND>,<CHANNEL>,<POWER_LEVEL>,
WMTXPOWER? <TX_TYPE>[,<BANDWIDTH>]]
OK
Syntax Response
AT+ OK
WMTXPOWER=
<ENABLE> Parameters
[,<BAND>, <ENABLE> 0 Stop the burst emission
<CHANNEL>, 1 Start the burst emission
<POWER_
LEVEL>, <BAND> Tx burst band emission. This is a mandatory parameter if <ENABLE>=1,
<TX_TYPE> but is not allowed if <ENABLE>=0.
[,<BANDWIDTH>]
1 Band 1
]
2 Band 2
3 Band 3
4 Band 4
5 Band 5
8 Band 8
9 Band 9
10 Band 10
12 Band 12
13 Band 13
17 Band 17
18 Band 18
19 Band 19
20 Band 20
25 Band 25
26 Band 26
27 Band 27
HL78xx
28 Band 28
66 Band 66
<TX_TYPE> defines the type of transmitted signal. This parameter is not allowed if
<ENABLE>=0.
0 SC-FDMA
1 CW (continuous waveform). For customers, which don’t have CMW tester but
only a spectrum analyzer.
<BANDWIDTH>
For SC-FDMA only, defines the bandwidth of Tx burst emissions. This parameter is not
allowed if <ENABLE>=0 or if <TX_TYPE>=1.
0 1.4M
Reference Notes
Sierra Wireless • Before using this command, it is necessary to verify that the configured LTE
Proprietary band(s) on which the module can operate is correctly set by using either
AT+KBNDCFG to read the configured band(s), or AT+KBNDCFG to set the
configured LTE band(s) .
• This command is not available if AT+WMRXPOWER is enabled.
• The module must be restarted after using this command.
Examples AT+WMTXPOWER=?
+WMTXPOWER: (0-1),(1,2,3,4,5,8,9,10,12,13,17,18,19,20,25,26,27,28,66),(18000–
18599,18600–19199,19200–19949,19950–20399,20400–20649,21450–21799,21800-
22149,22150-22749,23010–23179,23180–23279, 23730-23849,23850–23999,24000–
24149,24150–24449,26040-26689,26690–27039,27040-27209,27210–27659,131972-
132671),(0-2300),(0-1),(0)
OK
HL78xx
AT+WMTXPOWER=0
OK
Test command
Syntax Response
AT+ +WMRXPOWER: (list of supported <ENABLE>s),(list of supported <BAND>s), (list of
WMRXPOWER=? supported <CHANNEL>s)
OK
Read command
Syntax Response
AT+ +WMRXPOWER: <ENABLE>[,<BAND>,<CHANNEL>]
WMRXPOWER? OK
Note that parameters <BAND> and <CHANNEL> are only available if <ENABLE>=1.
Write command
Syntax Response
AT+ +WMRXPOWER: <POWER1>
WMRXPOWER= OK
<ENABLE>
[,<BAND>,
<CHANNEL>] Parameters
<ENABLE> 0 Stop the Rx measurement
1 Start the Rx measurement
HL78xx
13 Band 13
17 Band 17
18 Band 18
19 Band 19
20 Band 20
25 Band 25
26 Band 26
27 Band 27
28 Band 28
66 Band 66
HL78xx
Examples AT+WMRXPOWER=?
+WMRXPOWER: (0-1),(1,2,3,4,5,8,9,10,12,13,17,18,19,20,25,26,27,28,66),(0–599,600-
1199,1200–1949,1950-2399, 2400–2649,3450–3799,3800-4149,4150-4749,5010-
5179,5180–5279,5730-5849,5850–5999,6000–6149, 6150–6449,8040-8689,8690–
9039,9040-9209,9210–9659,66436-67335)
OK
Test command
Syntax Response
AT+GNSSSTART +GNSSSTART: (list of supported <start_mode>s)
=? OK
Read command
Syntax Response
AT+GNSSSTART +GNSSSTART: <start_mode>
? OK
Write command
Syntax Response
AT+GNSSSTART OK
=<start_mode>
Parameter
<start_mode> Start mode requested/start mode of the last successfully initiated
GNSS session since power up
0 ‘AUTO’ START – All previous stored data is used. This is used for normal
operations.
1 ‘WARM’ START – For test purposes only. All previously stored data except
Ephemeris is used.
2 ‘COLD’ START – For test purposes only. No previous stored data except
Almanac and Extended Ephemeris is used. Time and last location are unknown.
3 ‘FACTORY’ START – For test purposes only. Uses no previously stored data.
Uses factory default data.
Unsolicited Response
Notification +GNSSEV: 1,<status>
Parameter
<status> Event status
0 The action has failed.
1 The action has been successfully completed
Reference Notes
Sierra Wireless • This command starts or restarts a GNSS session.
Proprietary • If no session was previously started, the read command returns
<start_mode> = 0.
• If a <start_mode> other than AUTO is selected, some or all previous location
information is forgotten by the module.
• Start modes other than AUTO are intended for test purposes only.
HL78xx
Examples AT+GNSSSTART=1
OK
+GNSSEV: 1,1
// or
+GNSSEV: 1,0
AT+GNSSSTART=?
+GNSSSTART: (0-3)
OK
AT+GNSSSTART?
+GNSSSTART: 1 //The current starting mode is “WARM” start
OK
Test command
Syntax Response
AT+GNSSSTOP= OK
?
Read command
Syntax Response
AT+GNSSSTOP? +GNSSSTOP: <status>
OK
Execute command
Syntax Response
AT+GNSSSTOP OK
Parameter
<status> Status of the last AT+GNSSSTOP request
0 GNSS is still running
1 GNSS is stopped
Unsolicited Response
Notification +GNSSEV: 2,<status>
Parameter
<status> Event status
0 Action has failed
1 Action has been successfully completed
Reference Notes
Sierra Wireless • This command stops an ongoing GNSS session.
Proprietary • Execute command returns ERROR if user attempts to stop a session when
there is no session active.
HL78xx
Examples AT+GNSSSTOP
OK
+GNSSEV: 2,1
// or
+GNSSEV: 2,0
AT+GNSSSTOP=?
OK
Test command
Syntax Response
AT+GNSSNMEA= +GNSSNMEA: (list of supported <output>s),(list of supported <rate>s),(list of supported
? <profile_mask>s),(list of supported <nmea_mask>s)
OK
Read command
Syntax Response
AT+GNSSNMEA +GNSSNMEA: <output>,<rate>,<profile_mask>,<nmea_mask>
? OK
Write command
Syntax Response
AT+GNSSNMEA= OK
[<output>],
[<rate>],[[<profile Parameters
_mask>],
<nmea_mask>] <output> Specifies the port which will be used by the application to transmit NMEA
frames.
0x00 NMEA frames are not output
0x01 NMEA frames are output on dedicated NMEA port over USB
0x03 NMEA frames are output on UART1
0x04 NMEA frames are output on the same port the +GNSSNMEA was received on.
0x05 NMEA frames are output on CMUX DLC1
0x06 NMEA frames are output on CMUX DLC2
0x07 NMEA frames are output on CMUX DLC3
0x08 NMEA frames are output on CMUX DLC4
Same output is applicable to all NMEA profiles. If omitted, the last requested output will
be used.
<rate> Specifies the rate at which the NMEA sentences are output on the requested port
in milliseconds. Same rate is applicable to all NMEA profiles. If omitted, the last
requested rate will be used.
HL78xx
<profile_mask> Specifies the NMEA profiles (Talker ID) for which the requested
NMEA sentences mask shall be applied such as GP, GL, GA, GN etc.
Range:
0 All supported NMEA profiles; the requested NMEA mask will be applied to all
sentences
AT+GNSSNMEA?
+GNSSNMEA: 4,1000,0,1FF
OK
AT+GNSSNMEA=1,1000,0,1FF
OK
//or
+CME ERROR:<error>
AT+GNSSNMEA=,,,1FF
OK
//or
+CME ERROR:<error>
HL78xx
AT+GNSSNMEA=0,1000
OK
//or
+CME ERROR:<error>
AT+GNSSNMEA=4
CONNECT
$GPGGA,235436.00,4910.3542,N,12304.2419,W,0,00,1.2,-0.4,M,-17.6,M,,*7B
$GPGSA,A,1,,,,,,,,,,,,,2.1,1.2,1.7*36
$GPGGA,235437.00,4910.3542,N,12304.2419,W,0,00,1.2,-0.4,M,-17.6,M,,*7A
$GPGSA,A,1,,,,,,,,,,,,,2.1,1.2,1.7*36
$GPGGA,235438.00,4910.3542,N,12304.2419,W,0,00,1.2,-0.4,M,-17.6,M,,*75
$GPGSA,A,1,,,,,,,,,,,,,2.1,1.2,1.7*36
$GPGGA,235439.00,4910.3542,N,12304.2419,W,0,00,1.2,-0.4,M,-17.6,M,,*74
$GPGSA,A,1,,,,,,,,,,,,,2.1,1.2,1.7*36
// +++ received here
OK
AT+GNSSNMEA=
OK
Test command
Syntax Response
AT+GNSSCONF= +GNSSCONF: <config_type>,(list of supported <config_value_1>s)
? [+GNSSCONF: <config_type>,(list of supported <config_value_1>s)]
OK
Read command
Syntax Response
AT+GNSSCONF? +GNSSCONF: <config_type>,<config_value_1>
[+GNSSCONF: <config_type>,<config_value_1>]
OK
Write command
Syntax Response
AT+GNSSCONF= OK
<config_type>,
<config_value_ Parameters
1>
<config_type> Specifies the configuration on which the configuration value is
applied
1 Sets the LNA type
10 Configures enabled satellite constellations (GPS, GLONASS)
HL78xx
For <config_type>=10:
0 GPS only
1 GPS and GLONASS
Reference Notes
Sierra Wireless This command configures various GNSS configurations such as satellite constellations.
Proprietary
Examples AT+GNSSCONF=?
+GNSSCONF: 1,(0-1)
+GNSSCONF: 10,(0-1)
OK
AT+GNSSCONF?
+GNSSCONF: 1,0
+GNSSCONF: 10,0
OK
AT+GNSSCONF=1,1
OK
AT+GNSSCONF=10,0
OK
// or
+CME ERROR: <error>
Test command
Syntax Response
AT+GNSSTTFF= OK
?
Read command
Syntax Response
AT+GNSSTTFF? +GNSSTTFF: <2D_time>,<3D_time>
OK
Parameters
<2D_time> 2-dimensional position time to first fix, defined in ms
HL78xx
Reference Notes
Sierra Wireless • This command queries the 2D and/or 3D time to first fix.
Proprietary • When the TTFF of 2D vs 3D is not available, the same TTFF value is returned
for both 2D and 3D.
Examples AT+GNSSTTFF?
+GNSSTTFF: 32051,32051
OK
// or
+CME ERROR: <error>
AT+GNSSTTFF?
+GNSSTTFF: -30,-30 //The current run is not fixed or TTFF is not available
OK
AT+GNSSTTFF=?
OK
Test command
Syntax Response
AT+GNSSLOC=? OK
Read command
Syntax Response
AT+GNSSLOC? +GNSSLOC:
Latitude: <latitude>
Longitude: <longitude>
GpsTime: <GPS Time>
FixType: <fix_type>
HEPE: <hepe>
Altitude: <altitude>
AltUnc: <Altitude uncertainty>
Direction: <Heading direction>
HorSpeed: <horizontal speed>
VerSpeed: <vertical speed>
OK
// or
+GNSSLOC:
FIX NOT AVAILABLE
OK
Parameters
<latitude> Latitude at last position fix. Example: “49 Deg 10 Min 21.49 Sec N
HL78xx
<longitude> Latitude at last position fix. Example: “123 Deg 4 Min 14.76 Sec W
<GPS Time> GPS time and date of the fix in “yyyy mm dd hh:mm:ss” format.
Example: “2009 01 30 4 20:27:18”
// or
FIX NOT AVAILABLE
Unsolicited Response
Notification +GNSSEV: <eventType>,<eventStatus>
Parameters
<eventType> Event type
0 Initialization event
1 GNSS START event
2 GNSS STOP event
3 GNSS Position event
<eventStatus> Event status. Valid range varies depending on the event type.
Initialization event (<eventType>= 0):
This event specifies the status of internal GNSS context initialization.
0 GNSS Initialization failed
1 GNSS is successfully initialized
The NV backup feature only backs up calibrated and static config partitions together. The dynamic
partition is never backed up, although it is reset to the default configuration when a backup recovery is
performed.
The firmware automatically generates NV backup files from existing NV data (calibration and static
config parameters only) at ~6 seconds after boot if one of the following conditions is met:
• NV backup does not exist.
• NV backup has been corrupted unexpectedly.
An automatic backup file generation is notified with +NVBU_IND with <status>=0 on all AT ports.
Test command
Syntax Response
AT+NVBU=? +NVBU: (0-4)
OK
Read command Returns list of NV backup with the format:
+NVBU: <file id>,<backup date>,<backup firmware version>
Syntax Response
AT+NVBU? [+NVBU:0,<backup date>,<backup firmware version>]
OK
Error case
ERROR when no backup available
Parameters
<file id> Backup file ID corresponding to one NV partition in non-volatile memory
Syntax Response
For <mode>=0 or For <mode>=0 or 1:
1: OK
AT+NVBU=
<mode>
[,<parti_id>]
HL78xx
Parameters
<mode> 0 Generate backup of both static calibrated and static config NV data
to NV backup partition
1 Restore all NV data from the NVM backup partition and default
dynamic parameters
2 List logs of NV backup operations
3 Configure NVBU mode (manual or automatic)
4 Erase all NV backup logs
HL78xx
Unsolicited Response
Notification +NVBU_IND:<status>,<file id>,<errcode>
For <status>=0:
+NVBU_IND:<status>,<file id>,<errcode>,<backup date>,<backup firmware
version>
Parameters
<status> NV backup status
0 NV backup generation
1 NV backup restoration
2 Backup data restored (when NV corruption is detected during NV initialization)
<backup date used for restoration> Generation date of the NV backup that was
used for the NV restore
HL78xx
V25TER AT Commands
2.1 +++ Command: Switch from Data Mode to Command Mode 2
2.2 O Command: Switch from Command Mode to Data Mode 2
2.3 E Command: Enable Command Echo 2
2.4 &K Command: Flow Control Option 2
2.5 &F Command: Restore Manufactory Configuration 2
2.6 &V Command: Display Current Configuration 2
2.7 &W Command: Save Stored Profile 30
2.8 Z Command: Reset and Restore User Configuration 5
2.9 +IPR Command: Set Fixed Local Rate 2
2.10 &C Command: Set Data Carrier Detect (DCD) Function Mode 2
2.11 &D Command: Set Data Terminal Ready (DTR) Function Mode 2
2.12 &S Command: DSR Option 2
2.13 &R Command: RTS/CTS Option 2
2.14 S2 Command: Set Character for the Escape Sequence (Data to Command Mode) 2
2.15 S4 Command: Set Response Formatting Character 2
2.16 +IFC Command: DTE-DCE Local Flow Control 2
General AT Commands
3.1 I Command: Request Identification Information 2
3.2 +CGMI/+GMI Command: Request Manufacturer Identification 2
3.3 +CGMM/+GMM Command: Request Model Identification 2
3.4 +CGMR/+GMR Command: Request Revision Identification 2
3.5 +CGSN Command: Request Product Serial Number Identification (IMEI) 2
0 Phone failure
1 No connection to phone
2 Phone-adapter link reserved
3 Operation not allowed
<report>
IMSI_UNKNOWN_IN_HLR
ILLEGAL_UE
ILLEGAL_ME
EPS_SERVICES_NOT_ALLOWED
EPS_AND_NON_EPS_SERVICES_NOT_ALLOWED
UE_IDENTITY_CANNOT_BE_DERIVED_BY_THE_NETWORK
IMPLICITLY_DETACHED
PLMN_NOT_ALLOWED
TRACKING_AREA_NOT_ALLOWED
ROAMING_NOT_ALLOWED_IN_THIS_TRACKING_AREA
EPS_SERVICES_NOT_ALLOWED_IN_THIS_PLMN
NO_SUITABLE_CELLS_IN_TRACKING_AREA
MSC_TEMPORARILY_NOT_REACHABLE
NETWORK_FAILURE
CS_DOMAIN_NOT_AVAILABLE
MAC_FAILURE
SYNCH_FAILURE
CONGESTION
UE_SECURITY_CAPABILITIES_MISMATCH
SECURITY_MODE_REJECTED_UNSPECIFIED
NOT_AUTHORIZED_FOR_THIS_CSG
SEMANTICALLY_INCORRECT_MESSAGE
INVALID_MANDATORY_INFORMATION
MESSAGE_TYPE_NON_EXISTENT
MESSAGE_TYPE_NOT_COMPATIBLE_WITH_THE_PROTOCOL_STAT
INFORMATION_ELEMENT_NOT_EXISTENT
CONDITIONAL_IEI_ERROR
MESSAGE_NOT_COMPATIBLE_WITH_THE_PROTOCOL_STATE
PROTOCOL_ERROR_UNSPECIFIED
OPERATOR_DETERMINED_BARRING
INSUFFICIENT_RESOURCES
UNKNOWN_OR_MISSING_APN
UNKNOWN_PDN_TYPE
USER_AUTHENTICATION_FAILED
<report>
ACTIVATION_REJECTED_BY_SERVING_GW_OR_PDN_GW
ACTIVATION_REJECTED_UNSPECIFIED
SERVICE_OPTION_NOT_SUPPORTED
REQUESTED_SERVICE_OPTION_NOT_SUBSCRIBED
SERVICE_OPTION_TEMPORARILY_OUT_OF_ORDER
PTI_ALEARDY_IN_USE
REGULAR_DEACTIVATION
EPS_QoS_NOT_ACCEPTED
NETWORK_FAILURE
FEATURE_NOT_SUPPORTED
SEMANTIC_ERROR_IN_THE_TFT_OPERATION
SYNTACTICAL_ERROR_IN_THE_TFT_OPERATION
UNKNOWN_EPS_BEARER_CONTEXT
SEMANTIC_ERRORS_IN_PACKET_FILTERS
SYNTACTICAL_ERRORS_IN_PACKET_FILTERS
EPS_BEARER_CONTEXT_WITHOUT_TFT_ALREADY_ACTIVATED
PTI_MISMATCH
LAST_PDN_DISCONNECTION_NOT_ALLOWED
PDN_TYPE_IPV4_ONLY_ALLOWED
PDN_TYPE_IPV6_ONLY_ALLOWED
SINGLE_ADDRESS_BEARERS_ONLY_ALLOWED
ESM_INFORMATION_NOT_RECEIVED
PDN_CONNECTION_DOES_NOT_EXIST
MULTIPLE_PDN_CONNECTIONS_FOR_APN_NOT_ALLOWED
COLLISION_WITH_NETWORK_REQUEST
INVALID_PTI_VALUE
ESM_SEMANTICALLY_INCORRECT_MESSAGE
ESM_INVALID_MANDATORY_INFORMATION
MESSAGE_TYPE_NON_EXISTENT_OR_NOT_IMPLEMENTED
MESSAGE_TYPE_NOT_COMPATIBLE_WITH_THE_PROTOCOL_STATE
INFORMATION_ELEMENT_NON_EXISTENT_OR_NOT_IMPLEMENTED
CONDITIONAL_IE_ERROR
ESM_MESSAGE_NOT_COMPATIBLE_WITH_THE_PROTOCOL_STATE
ESM_PROTOCOL_ERROR_UNSPECIFIED
APN_RESTRICTION_VALUE_INCOMPATIBLE_WITH_ACTIVE_EPS_BEARER_CONTEXT
Other values in the range 101 - 150 are reserved for use by GPRS.
FTP Reply
Description
Code
AT+KTCPRCV=1, 1380
CONNECT
HTTP/1.0 200 OK
Cache-Control: private, max-age=0 DATA read
… a lot of data…
--EOF--Pattern--
OK
+KTCP_DATA: 1,1380 +KTCP_DATA notification
AT+KTCPRCV=1,1380
CONNECT
er{padding-bottom:7px !important}#gbar,#guser{font- DATA read
… a lot of data…
--EOF--Pattern--
OK
+KTCP_DATA: 1,1380
OK
Received notification that indicates the presence of
10 bytes in the socket
+KUDP_DATA: 1,10
AT+KUDPCLOSE=1
OK Close the UDP session 1
AT+KUDPDEL=1
OK Delete session 1
AT+KTCPCFG=1,0,"202.170.131.76",2000
+KTCPCFG: 1
OK
0123456789--EOF--Pattern--
OK
2) New optional feature: URC takes out the data - Client mode
AT+KCNXCFG=1,"GPRS","CMNET"
OK
Case2: If AT&D1 is set, "DTR drop" is used to switch from data mode to command mode, but the
service is suspended.
Case3: If AT&D2 is set, "DTR drop" is used to switch from data mode to command mode, and the
service is stopped.
Case4: If AT&D0 is set, "DTR drop" has no impact on the mode switch.
Case5: ATO[n] is used to switch from command mode to data mode.
TCP/UDP:
+KTCPSND: Send data
+KTCPRCV: Receive data NO CARRIER /
OK/CONNECT OK/CONNECT NO CARRIER NO IMPACT
+KUDPSND: Send data
(disconnect)
+KUDPRCV: Receive data
+KTCPSTART: Direct data flow
FTP: OK / OK / NO CARRIER /
+KFTPRCV: Download FTP files NO CARRIER NO CARRIER NO CARRIER NO IMPACT
+KFTPSND: Upload FTP files (disconnect) (disconnect) (disconnect)
HTTP:
+KHTTPGET: Get information
+KHTTPHEAD: Get head of OK / OK / NO CARRIER /
information NO CARRIER NO CARRIER NO CARRIER NO IMPACT
+KHTTPPOST: Send data (disconnect) (disconnect) (disconnect)
+KHTTPHEADER: Set the HTTP
Request Header
NO CARRIER /
Data mode ATD*99… (use ATO or
OK/CONNECT OK/CONNECT NO CARRIER NO IMPACT
ATO0)
(disconnect)
SSL: OK / NO OK / NO NO CARRIER /
+KCERTSTORE: Store root CA CARRIER CARRIER NO CARRIER NO IMPACT
+KPRIVKSTORE: Store private key (abort) (abort) (abort)