Questions tagged [at-command]

AT Commands are text commands for communicating with a modem. Historically also called Hayes Command Set. For questions about the `at` command line tool use the tag [at-utility].

The most important, general specification covering AT commands is the ITU specification V.250 (formerly known as V.25ter). AT commands related to mobile phones are standardized by 3GPP in 27.007 (with some commands specified in 27.005). Historically, early AT commands were developed by modem manufacturer Hayes.

An AT command can be one of two fundamental types, action command or parameter command. This is important to distinguish because valid syntax for such commands is different (although specifications unfortunately sometimes mess up here).

Responses from the modem can be of three fundamental types:

Final result code

  • Indicates that the execution of the currently running AT command is finished. Examples: OK and ERROR.

Intermediate result code or Information text

  • Responses related to a command that comes before the final result code. Examples: CONNECT and +CPBR.

Unsolicited result code

  • Responses that the modem issues independently of any running AT command as response to certain events (in the modem). Examples: RING and +CREG.

References

1408 questions
3
votes
1 answer

How to post HTTP request with Arduino + ESP8266 AT commands

In order to send data to google spreadsheet I need to request HTTP access to the unique URL, something like this: https://script.google.com/macros/s/AKfycbz7jkkd7nfa6ThjOqGw5KZgnUUxIOrxCV_m8WithLQD4EAS7hx6/exec?SOMEDATEHERE I tried with: GET…
3
votes
1 answer

Send At Command to gsm modem with Java

I am trying to make a program to send a sms. I wrote the program but doesn't successfully send the message. My program send an At command to the Port COM in my computer but I do not get a response from my gsm modem. I am using COM terminal (Temp…
przemo199980
  • 61
  • 1
  • 7
3
votes
6 answers

ESP266 Timed out waiting for packet header

I am trying to flash the AT firmware in esp8266 but I am always getting the error of timed out waiting for packet header. Note : I am using esptool.py to flash the the chip and I already have some code uploaded to it, which I uploaded using Arduino…
Mayank Pal
  • 31
  • 1
  • 1
  • 4
3
votes
1 answer

Which AT commands will be helpful to get SIM data?

I want to retrive data from SIM through AT command like we get IMSI of SIM from command AT+CIMI Similarly, we can get CCID of SIM from command AT+CCID As we get all these details from SIM through AT command, i want to read elementary files of SIM…
Gazal
  • 184
  • 1
  • 18
3
votes
2 answers

Can not get IMSI and IMEI with AT commands

I am using a raspberry pi to communicate with an SL8092 modem from Sierra. I am able to communicate with the device via the /dev/ttyUSB4 using minicom. Sending AT commands returns the following answers: > AT < OK > AT+CSQ < +CSQ:…
Renaud
  • 31
  • 1
  • 4
3
votes
1 answer

Python Read SMS via AT

I 99% of finishing my script but have run into a problem im trying to display the text messages recived from a GSM modem in python. So far I can read that a text has come in but cant display the message. I know the self.ser.readlines() comes back as…
shaggs
  • 600
  • 7
  • 27
3
votes
1 answer

What is the proper at-command for stk to enter data

I have successfully entered into the stk then went through the menu and sub-menu but in one place I got stuck. It asks to enter a phone number but when I do that and press enter it keeps on prompting. Below is the full at commands I used and their…
Adib
  • 359
  • 1
  • 6
  • 16
3
votes
4 answers

Get AT command response

I am using an Arduino Uno with a sim900 gps/gprs module and I'm using at commands, how can I get the response of at command (i.e OK, ERROR) so that I can do something if response == "OK" or response == "ERROR"
Ralph
  • 550
  • 3
  • 10
  • 25
3
votes
2 answers

Sim900 only echos back the commands- No response

I'm using Atmega32 and sim900 for a project. I keep sending "AT" command and wait for the "OK" response, but all I am getting is AT\r\n. I've checked and rechecked wiring and my baud rate, but still getting no where. Whatever I send to sim900 I only…
STILL_Lok4
  • 31
  • 3
3
votes
0 answers

Call recording using AT+CRCPREC SIM COM 800

I want to record current call on my sim 800 modem, as per Tutorial page 135 AT+CQCPREC= 0,amr C:/Audio/20080520_120303.amr command is used for recording but it gives response Error. What can be the possible reason. As "error" don't specify what…
Hot Cool Stud
  • 1,145
  • 6
  • 25
  • 50
3
votes
2 answers

How to recognize type of incoming call? (Data call or Voice call)

Consider a situation in which that you installed a GSM modem (DLink DWM-156 in my case) to your computer. Then you wrote the following Python program to accept all the incoming calls: import serial phone = serial.Serial("COM10", 115200,…
Ebrahim Ghasemi
  • 5,850
  • 10
  • 52
  • 113
3
votes
3 answers

How to reject or accept an incoming call to my GSM modem using AT commands in Python?

I've wrote the below Python program to wait for incoming calls and accept or reject them. Based on this document and this document, the appropriate AT commands to accept an incoming call is ATA or ATS0 or ATS0. And also the appropriate commands…
Ebrahim Ghasemi
  • 5,850
  • 10
  • 52
  • 113
3
votes
1 answer

How to send AT commands to Huawei E3272 Hilink with python(pyserial)?

In the previous generations of USB modems, it was easy to send AT commands by using Pyserial and directing the commands to the corresponding /dev/USBACM device. However, this Huawei device creates its own virtual interface and hence ifconfig shows…
3
votes
7 answers

ESP8266 and Arduino Interfacing

I have connected Arduino with ESP8266 with Arduino pin 2 connected to ESP's Tx Arduino pin 3 connected to ESP's Rx via Voltage Divider Arduino GND connected to ESP's GND Arduino 3v3 connected to ESP's CH_PD I have powered ESP8266 using 1117 Voltage…
AngryBird
  • 344
  • 1
  • 4
  • 15
3
votes
2 answers

Error on checking balance via USSD

I've been trying to check my balance from by 3g modem via AT commands and seem to be stuck. The device infomation is as follows: Manufacturer: QUALCOMM INCORPORATED Model: M6281 Revision: SSD_M6281A-0.0.1 1 [Oct 02 2008 07:00:00] The modem has…
Andy Mouset
  • 111
  • 1
  • 6