Monogoto
Back to Monogoto website
  • Welcome
  • Getting Started
    • Quick Start
    • Device Configurations
      • IoT Modules
        • NORDIC nRF9160 DK
        • Quectel BG95-MX
        • Quectel BG96
        • Murata LBAD0XX1SC-DM
          • Satellite NTN Network
        • Sierra Wireless WP7607
        • Sierra Wireless WP7610
        • Sierra Wireless MC7700
        • SIMCom SIM7070G
          • Waveshare SIM7070G
        • SIMCom SIM7600G-H
          • Waveshare SIM7600G-H
        • Telit HE910
        • Thales Cinterion TX62
        • u-blox SARA R4
          • SODAQ SARA R41XM
        • Cellular Devices
          • Openwrt EG95
          • ProView 4GPro-W
          • Teltonika RUT240
          • Teltonika FMB920
          • InHand IR302
          • Provision-ISR PR-LTE01W
          • Sierra Wireless RV50 AirLink
          • Smart Cash Register Configuration to Use Cellular SIM as WiFi Backup
          • Nayax Nova 40
      • iPhone Device
      • Android Device
      • Raspberry Pi
    • Monogoto SIM
      • IoT SIM card
      • Embedded SIM
      • eSIM
      • iSIM
        • Murata LBAD0XX1SC
        • Quectel BG770A-SN
      • SGP.32
        • Kigen Pulse
      • Monogoto SIM Tool Kit (MTK)
    • Cellular Identities in Monogoto
    • Coverage Lists
      • Identity B Coverage
      • Identity C Coverage
      • Identity E Coverage
      • Identity F Coverage
      • Identity P Coverage
      • Identity U Coverage
      • NTN Satellite Coverage
      • LP-WAN Coverage
    • Features List
    • Community Forum
  • FAQ
  • Hub
    • Intro
      • Signup
      • Login
      • Logout
      • Users
        • Create a new user
        • Delete a user
        • Manage users
        • User password reset
      • General Elements
    • Dashboards
      • Active SIMs and Data Usage
        • Daily Active Things
        • Daily Data Usage
        • Top Consuming Things
        • Top Profiles in Use
        • Top Groups by Data Usage
        • Top Networks by Data Usage
        • Top Groups by Active Things
        • Top Networks by Active Things
      • Data Flows
        • Data Transfer
        • Top Destinations
        • Breakout
        • Services
        • Protocols
        • TCP Flags
        • Top Things (upload/download)
    • Things
      • Thing details
        • Understanding OPLMN and FPLMN on the Thing details page
      • Quality of Service
        • Thing QoS tests for public connectivity
        • Thing QoS monitoring for private connectivity
      • SMS
        • Incoming SMS
        • Outgoing SMS
        • SMS Monitoring
      • Location Service
      • NetFlow
    • Campaigns
      • Campaigns Table
      • Campaign Details
      • SMS Campaign
    • Private Networks
      • Backhaul
      • Edge
        • Edge Events
          • Time
          • Messages
          • msg-type
          • Node
          • Direction
          • Interface
          • Type
      • Radio
    • Inbox
    • Integrations
      • Slack
      • Zapier
      • Webhook
        • Webhook CDRs
          • Webhook SMS CDR
          • Webhook DATA CDR
      • Email
    • Captures
      • Basics on How to Read a Packet Capture File
    • Orders
      • Create a new order
    • Payments
  • Advanced Console
    • Intro
    • Security
    • Network
      • Create new Network
      • Edit Network Settings
      • Apply Network Settings
      • Delete Network
      • Add Network NAT
      • Edit Network NAT
      • Delete Network NAT
      • Add Network Route
      • Edit Network Route
      • Delete Network Route
      • Add Network VPN
      • Network VPN status
      • Edit Network VPN
      • Delete Network VPN
      • Download Network VPN configuration
      • Reconnect Network VPN
      • Ping Network VPN
      • How Devices in The Same Network Can Communicate with Each Other?
    • Things Groups
      • Create Things Group
      • Assign Things to Group
      • Edit Things Group
      • Delete Things Group
      • Override Roaming Policy
    • Things
      • Define Thing Status
      • Edit Things Details
      • Refresh Connection
    • Alerts
      • Alert Metrics (types)
      • Create New Alert
      • Disable/Enable Alert
      • Edit Alert
      • Delete Alert
    • Global Pools
    • Price Plans
    • Webhooks
      • Outgoing (MO) SMS Webhook
      • Incoming (MT) SMS Webhook
      • Outgoing (MO) Voice Webhook
      • Incoming (MT) Voice Webhook
      • Triggered Alert Webhook
  • Developer
    • API
      • Authentication
      • Things
        • Get Things List
        • Get Thing Information
        • Get Thing State
        • Update Thing State
        • Update Thing Name
        • Update Thing Description
        • Get Thing Data Session Status
        • Get Thing ICCID using IMSI
        • Get Thing Lifetime Data Usage
        • Get Thing Events Logs
        • Ping Thing IP Address
        • Lock Thing to IMEI
        • Download Thing PCAP File
        • Refresh Thing Network Connection
        • Get Things Services Usage Report
      • Things Groups
        • Get Things Group List
        • Move Thing to Different Things Group
        • Get Things Group Information
        • Lock Things Group to IMEI range (TAC)
      • eSIM
        • Get an eSIM
        • Cancel an eSIM
        • Download an eSIM
      • Alerts
        • Get Triggered Alerts
      • SMS
        • Check if MT SMS was Received
        • Send SMS to Thing
      • Pricing
        • Get Pricing Plan Information
      • Get Roaming Policy
    • Cloud Integrations
      • AWS IoT Core
      • Ubidots
  • Private Networks
    • Intro
      • Getting Started
      • Spectrum Allocation
    • Monogoto Edge
      • 4G Edge Components
      • 5G Edge Components
      • Edge NUC
      • Edge API
        • Authentication
        • Get Edge Configuration
        • Get Edge ID
        • Get Edge CID
        • Get MME S6A And AMF AUSF Status
        • Get Radio List
        • Get Subscriber Information
        • Get Subscription Status
        • Patch Subscription Status
        • Get IMSI IP Mapping
        • Patch IMSI IP Mapping
        • Delete IMSI IP Mapping
        • Get PLMN
        • Post PLMN
        • Get Network Operator Name
        • Patch Network Operator Name
        • Get APN
        • Get APN IP Pool Mapping
        • Get CDR Logs
        • Post PING
        • Get iperf
        • Patch iperf
        • Get Speed Test
        • Get Data Speed
        • Get Capture
        • Post Capture
    • eNodeB
      • Airspan AirVelocity 1500
      • Baicells Nova 227
      • Baicells Nova 442i
      • Baicells Neutrino 430
      • Baicells Nova 230i
      • BreezeCOMPACT 1000
      • Foxconn T99B226
      • Ubiik goRAN
      • Ubiik FreeRAN
      • T&W N02008
      • Mosolabs SCE4255W
      • Mosolabs SCO4255P
    • gNodeB
      • Mosolabs SCE5164
      • Baicells Stellar 227
    • CPE & UE
      • Airspan AirSpot 5410
      • Sierra Wireless EM7565
      • DG505G CBRS 5G USB Dongle
      • DG10 CBRS USB Dongle
      • D-Link DWP-1010W CPE
      • D-Link DWM-311-G 5G M2M
      • D-Link G530 Router
      • IPC SCB800 CBRS Camera
      • Telit LM960A9-P
      • Moxa 5G CCG-1510-US-T
      • InHand 5G ODU2000
      • Peplink MAX BR1 Mini 5G
      • T&W 5G Router
      • Telit LM960A18
      • Baicells EG7010C-M11 CPE
      • Baicells EG7035E-M11 CPE
      • Baicells EG8015G-M11 CPE
      • Telrad 9000 CPE
      • SRW620 CPE
      • Amit IDG500-0GT01
      • Jacs TD0231 Router
  • NTN Satellite Networks
    • NTN Satellite Coverage
    • NTN Billing
    • NB-IoT: Signaling NIDD vs IP Connectivity
    • VPNs in NTN
    • UDP Communication in NTN
    • How to Order NTN Developer Kit?
    • NTN Certified Devices
      • NTN Certified Modules
        • Murata LBAD0XX1SC-DM Satellite NTN Network
        • Quectel BG95-S5 Satellite NTN Network
        • Quectel BG770A-SN Satellite NTN Network
        • Quectel CC660D-LS Satellite NTN Network
        • SIMCom 7070G-HP-S Satellite NTN Network
        • Murata ALT1250 Satellite NTN Network
      • NTN Certified Chipsets
  • University
    • AT Commands
      • What AT Commands Should I Use to Debug a Connectivity Issue?
      • How to Send AT Commands to a Teltonika Router?
    • LTE bands
    • RAT Type (Radio Access Technology)
    • Low Power Modes: eDRX & PSM
    • What is MCC/MNC?
    • Glossary
Powered by GitBook
On this page
  • AT Commands Basics
  • Connect to the modem
  • Before you get start started
  • Query device information
  • Network provider and cellular technology settings
  • Check the radio signal strength and signal quality:
  • Network Configuration
  • Check the the FPLMN:
  • Clear the FPLMN:

Was this helpful?

  1. University

AT Commands

Everything you need to know about AT Commands

AT Commands (abbreviated from Attention Commands) are the way to control cellular modems. It provides a standardized way to instruct modems on how to behave and where to connect to.

Even though the commands are standardized by the 3GPP, different modems adhere to different versions of the specifications and manufacturers may provide additional vendor-specific AT Commands. Hence we recommend to keep the AT Commands manual of your modem manufacturer close when configuring your cellular modem.

AT Commands Basics

AT Commands usually start with AT, followed by a <command> and in some cases a <value>.

There are 4 types of AT Commands: Set, Read, Test and Execute.

  • Set AT+<command>=<value> Instruct the modem to perform an action, such as activating the modem or enabling roaming. For example, the command to set the modem to active is: AT+CFUN=1

  • Read AT+<command>? Check the current configuration settings of the cellular modem. For example to read the network and cellular technology the modem is using, enter: AT+COPS?

  • Test AT+<command>=? Test the possible input values for specific commands. For example to list the available modes of operations modem, enter: AT+CFUN=?

  • Execute AT+<x> Some commands can be simply executed. For example, the command to check and return the signal quality: AT+CSQ

Pro tip: It is possible to send multiple AT Commands to the modem at the same time. To do so, list the commands in one line separated by a semi column ;, only write AT at the start of the first command.

For examples: AT+CMEE=2;+CPIN?;+CIMI

Connect to the modem

In order to send AT Commands, you need to connect to the modem first. You may need a program which provides the interface between your computer and the modem. You can use minicom, screen or miniterm for Linux/MacOS or PuTTY for Windows. When using Windows, you might need to install a driver to establish a connection. Have a look at the modem manufacturer's website for details about a possible driver.

To test if the connection with the cellular modem has been established, enter AT. When the modem responds with OK you're set.

Before you get start started

Not all modems support the AT Commands listed in the examples in this page. For details, always check the AT Command manual of your specific cellular modem.

Before starting the configuration process, reset the modem to its default configuration and activate the modem:

AT Command

AT+CFUN=1,1

Response

OK

Set the error reporting to verbose, resulting in more descriptive error messages:

AT Command

AT+CMEE=2

Response

OK

Check the status of the SIM card. If you receive an error, the SIM may not be inserted well, or the SIM is locked with a PIN. By default, Monogoto SIMs are not PIN protected.

AT Command

AT+CPIN?

Expected response

+CPIN: READY

OK

Query device information

Request the modem hardware version

AT Command

AT+CGMM

Example response

SARA-R412M-02B

OK

Request the modem firmware version

AT Command

AT+CGMR

Example response

M0.12.00 [Dec 01 2030 12:00:00]

OK

Make sure you run the latest modem firmware version possible. Compare the response with the latest version published by your modem manufacturer.

Request the IMSI (International Mobile Subscriber Identity):

AT Command

AT+CIMI

Example response

XXXXXXXXXXXXXXX

OK

Request the ICCID (Integrated Circuit Card ID), which is the identification number of the SIM card:

AT Command

AT+CCID

Example response

+CCID: XXXXXXXXXXXXXXXXXXXX

OK

Network provider and cellular technology settings

The AT Command related to the Network Provider and cellular technology: AT+COPS

Syntax: AT+COPS=<mode>,<format>,<oper>,<AcT>

mode

Network Selection Mode. Use 0 for automatic, 1 for manual

format

0 for long alphanumeric (e.g. vodafone NL), 1 for short alphanumeric (e.g. voda NL), 2 for numeric/MCCMNC codes (e.g. 20404)

oper

Operator, to be defined as long alphanumeric, short alphanumeric or numeric

AcT

Access Technology. It depends on the modem which value represent which technology, usually the values are:

0 for GSM, 3 for GSM/GPRS/EDGE, 7 for LTE/LTE Cat-M1, 9 for NB-IoT

Read the operator and access technology:

AT Command

AT+COPS?

Example response

+COPS: 0,0,"vodafone NL",7

OK

The test command lets the modem perform a network scan:

AT Command

AT+COPS=?

Example response

+COPS: (1,"NL KPN","NL KPN","20408",7),(1,"vodafone NL","voda NL","20404",0),(1,"T-Mobile NL","TMO NL","20416",0),(1,"T-Mobile NL","TMO NL","20416",7),(1,"vodafone NL","voda NL","20404",7),(1,"NL KPN","NL KPN","20408",0),,(0,1,2,3,4),(0,1,2)

OK

Be patient, it may take several minutes before the modem responds, you cannot send any AT Commands in the meantime.

Set the network and technology parameters

Automatic operator and AcT selection:

AT+COPS=0

Automatic operator and manual AcT selection:

AT+COPS=0,0,<AcT> Example: AT+COPS=0,0,7

Manual operator selection, automatic AcT selection:

T+COPS=1,2,<MMCMNC> Example: AT+COPS=1,2,"20404"

Manual operator and AcT selection:

AT+COPS=1,2,"<MMCMNC>",<AcT> Example: AT+COPS=1,2,"20404",7

Response

OK

Check the radio signal strength and signal quality:

AT Command

AT+CSQ

Example response

+CSQ: 25,5

OK

+CSQ returns 2 values separated by a comma. The first value represents the signal strength and provides a value between 0 and 31; higher numbers indicate better signal strength. The second value represents the signal quality indicated by a value between 0 and 7. If AT+CSQ returns 99, the signal is undetectable or unknown.

Network Configuration

Set the APN to data.mono:

AT Command

AT+CGDCONT=1,"IP","data.mono"

Response

OK

Read the APN configuration:

AT Command

AT+CGDCONT?

Expected response

+CGDCONT: 1,"IP","data.mono","0.0.0.0",0,0,0,0,0,0

Set the PDP (packet data protocol) context to active:

AT Command

AT+CGACT=1,1

Response

OK

Read if the PDP context is set correctly:

AT Command

AT+CGACT?

Expected response

+CGACT: 1,1

OK

Read network status:

AT Command

AT+CEREG?

Expected response

+CEREG: 0,5

OK

The second variable indicates the status: 0: Not registered 1: Registered, home network 2: Not registered, but the modem is trying to connect 3: Registration denied 4: Unknown (for example, out of coverage) 5: Registered, roaming 90: Not registered due to UICC failure

Check the the FPLMN:

AT Command

AT+CRSM=176,28539,0,0,12

Example response

AT+CRSM=214,28539,0,0,12,"24F58024F51024F530FFFFFF"

OK

We are instructing the SIM to retrieve the data file 28539 in binary format. If we receive a string of 24 "F"s, it indicates that the FPLMN list is empty, which is the desired outcome. If the result contains anything other than 24 "F"s, it means that there is data written in the FPLMN

Clear the FPLMN:

AT Command

AT+CRSM=214,28539,0,0,12,"FFFFFFFFFFFFFFFFFFFFFFFF"

Example response

OK

Validate if your device received an IP address:

AT Command

AT+CGPADDR

Example response

+CGPADDR: 1,10.XXX.XX.XXX

OK

PreviousUniversityNextWhat AT Commands Should I Use to Debug a Connectivity Issue?

Last updated 2 months ago

Was this helpful?

To find which of the networks Monogoto has roaming agreements with, review the .​

Do you see an IP address? Congratulations! 🎉 You’ve successfully connected your cellular modem to Monogoto. Have a look at the Things logs in the to find more details about the established connection.

Coverage lists
Monogoto Console