Skip to main content

AT command basics

AT (Attention) commands are used to communicate with cellular modems via a serial interface.
1

Connect to your modem

Use a terminal (e.g., Screen, Tera Term, PuTTY, GTKTerm) to open the modem’s serial port. Send AT and expect OK.
2

Understand operators

  • ? (read): Query current value, e.g., AT+CFUN?.
  • = (set): Set value, e.g., AT+CFUN=1.
  • =? (test): Show supported options, e.g., AT+COPS=?.
Terminal screenshot running AT basics
Note: You can also run the automated diagnostics script if preferred.

Automated modem diagnostics using Python