0% found this document useful (0 votes)
97 views

AT Commands

The document describes the AT command set used for controlling GSM modems and making calls. It lists commands for turning echo on/off (ATE), dialing numbers (ATD), redialling the last number (ATDL), answering calls (ATA), disconnecting calls (ATH), deleting SMS (AT+CMGD), reading SMS (AT+CMGR), and sending SMS (AT+CMGS). It also provides examples of status messages returned by the modem like registration status (+CREG) and incoming call alerts (RING, +CLIP) that would appear in a terminal program.

Uploaded by

DrNikhil Agrawal
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
97 views

AT Commands

The document describes the AT command set used for controlling GSM modems and making calls. It lists commands for turning echo on/off (ATE), dialing numbers (ATD), redialling the last number (ATDL), answering calls (ATA), disconnecting calls (ATH), deleting SMS (AT+CMGD), reading SMS (AT+CMGR), and sending SMS (AT+CMGS). It also provides examples of status messages returned by the modem like registration status (+CREG) and incoming call alerts (RING, +CLIP) that would appear in a terminal program.

Uploaded by

DrNikhil Agrawal
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

AT COMMAND SET :-

ATE0 – Echo off


ATE1 – Echo on

ATD – call to dail a number


Syntax: ATD 9885622502;

ATDL – redail last teliphone number

ATA – answer an incomming call

ATH – Disconnect existing connection

AT+CMGD – to delete SMS


Syntax: AT+CMGD=1 -> deletes ‘1’ sms in sim card

AT+CMGR – to read SMS


Syntax: AT+CMGR=1 -> reads 1st sms in sim card

AT+CMGS – to send SMS


Syntax: AT+CMGS=9885622502 press enter
Type text and press ctrl+z

DATA ON THE SERIAL PORT(HYPER TERMINAL):-

+CREG: 2 // SIM UNREGISTERED

+CREG: 1,"4E2F","0067" // SIM REGISTERED

RING // CALL STATUS

+CLIP: "+919866166124",145,"",,"",0 // RECEIVED CALL NUMBER FOR


//EXAMPLE

RING

+CLIP: "+919866166124",145,"",,"",0

RING

+CLIP: "+919866166124",145,"",,"",0

NO CARRIER
+CREG: 2 // SIM UNREGISTERED

+CREG: 0

Call Ready

+CREG: 2

Message -> Disconnected.

+CREG: 2

+CREG: 1,"4E2F","0067" // SIM UNREGISTERED

Call Ready

You might also like