Skip to main content

Overview

AT commands help you diagnose connectivity, SIM, registration, signal, and SMS issues. This reference includes standard 3GPP commands and vendor variations with example outputs and actions.
Note: Responses vary by vendor and firmware. Use vendor AT manuals in parallel.

1. AT - Basic connectivity check

2. Identify device: ATI / +CGMI / +CGMM / +CGMR / +CGSN / +GSN

3. +CPIN? - SIM status

4. +CCID - ICCID retrieval

5. +CREG? / +CGREG? / +CEREG? - Registration status

6. +COPS - Operator selection

  • Modes: 0 Auto, 1 Manual, 2 Deregister, 4 Manual/auto fallback
  • Formats: 0 Long name, 1 Short name, 2 Numeric MCCMNC
  • AcT: 0 GSM, 2 UTRAN, 7 LTE, 8 LTE-M, 9 NB-IoT

7. +CSQ - Signal strength

8. +CESQ - Extended signal quality

  • RSRP (dBm) = -140 + rsrp
  • RSRQ (dB) = -19.5 + (rsrq × 0.5)

9. +CGATT / +CGACT - Attach and activate PDP

10. +CGDCONT - Define PDP context

11. +CNMI - New SMS indication

12. +CMGF - SMS message format

13. +CSCA - SMSC address

14. +CMGS - Send SMS

15. +CME ERROR - Equipment errors

16. +CMS ERROR - SMS errors

17. +CFUN - Functionality level

18. +CGEREP - Packet domain event reporting

19. +CGPADDR - Show PDP address

20. +CGCONTRDP - Read PDP context parameters

21. +COPS=? - Network scan

22. +CSCON - RRC connection status

23. +CEDRXS / +CPSMS - Power saving modes

24. 3GPP reject cause codes

Appendix - Vendor-specific commands

Quectel

  • AT+QNWINFO - Network & RAT info
  • AT+QENG=“servingcell” - Serving cell
  • AT+QCSQ - Extended signal
  • AT+QCFG - RAT/band selection

SIMCom

  • AT+CSERVINFO - Service info
  • AT+CNETSCAN - Scan with metrics
  • AT+CSQEXT - Extended CSQ

u-blox

  • AT+URAT - RAT selection
  • AT+UBANDMASK - Band mask
  • AT+UCGED - Cell info