Generic AT Commands


[:  :]

Listing some generic GSM / GPRS Modem AT commands. There are always going to be manufacturer specific ones. This list was created with the SIM800 module in mind.

Info

General Info

Command Description
AT&V View current configuration
AT&W Store current configuration

Network

Command Description
AT+COPS? Query Network Operators in cell area
AT+COPS=X X = Params for registering to specified network. Test SIM
AT+CPAS Get activity status of module (0=ready,2=Unknown)
AT+CREG Network Registration. Use to determine registration state and enable registration with operators.

SMS

Command Description
AT+CMGR Read SMS Message
AT+CMGS Send SMS Message

SIM Toolkit

Command Description
AT+STKTRS STK Terminal Response (Basically return value on command.)
AT+SGPIO Control GPIO. Can select pins and set high or low.
AT+CGPIO Control GPIO by Pin Index. Same but easier to pick pins.
AT+GSMBUSY Reject Incoming Call
AT+CWHITELIST Set the Whitelist
AT+SJDR Set Jamming Detection Function
AT+SKPD Keypad Detecting Function

GPRS

Command Description
AT+CGATT Attach or Detach from GPRS Service
AT+CGREG Network Registration Status

TCP/IP

Command Description
AT+CIPSTART Start TCP or UDP Connection
AT+CIPSEND Send Data through TCP or UDP Connection
AT+CIPQSEND Select data transmission mode
AT+CIPACK Query Previous Connection Data Transmitting State
AT+CIPCLOSE Close connection.
AT+CLPORT Set Local Port
AT+CIFSR Get Local IP
AT+CIPSTATUS Get Current Connection Status
AT+CDNSCFG Set DNS
AT+CDNSGIP DNS Query
AT+CIPSRIP Show remote addr and port when recieving

HTTP

Command Description
AT+HTTPINIT Start HTTP Service
AT+HTTPTERM Stop HTTP Service
AT+HTTPDATA Input HTTP Data
AT+HTTPACTION HTTP Method
AT+HTTPREAD Read server response
AT+HTTPSTATUS Read HTTP Status

References


Tags
Cheatsheet · Modem · Iot