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
4
votes
3 answers

How to read SMS using AT on an embedded system with limited memory?

I'm developing a piece of embedded software, which also communicates with a modem through the AT protocol. Now I want to read messages, but I have come across a problem with my memory capacity. It could be that there are multiple messages for me,…
user504451
3
votes
2 answers

How to use AT command to detect phone line is busy

I have a USB modem. Is it possible to detect the phone line is busy or not? I thought I could use AT Command to detect dial tone, but I'm not sure are there any commands support that. Thanks.
ckmarkhsu
  • 33
  • 1
  • 3
3
votes
1 answer

Sending AT commands from Powershell script to Android phone via adb

I have a little script that I run in adb shell of Android phone (/system/etc directory), which enables to communicate with the modem by sending/receiving a single AT command. The script itself, if run in adb shell, works OK. That's what it looks…
3
votes
5 answers

Modem gives ERROR after issuing ATDTnnnnnnn

I am attempting to call a remote modem using a local modem connected via USB. Programming language is VB.NET and I am using the SerialPort control to talk to the modem. Communication is as follows: I send: ATZ0[CR] Modem responds:…
Matt Wilko
  • 26,994
  • 10
  • 93
  • 143
3
votes
1 answer

Sending SMS using AT commands via C#.Net

I am using AT commands to send text message via C#.net. How to send a long message i.e. message more than 16o chars ? Thanks.
Nitin Kabra
  • 3,146
  • 10
  • 43
  • 62
3
votes
1 answer

How to send multipart/concatenated SMS to phone using AT command?

I got a computer with a nokia hooked up to it, and using AT Commands I managed to send text messages through my C# program (using TEXT MODE AT COMMANDS, NOT PDU). It's all working fine and I can recieve messages as well. I do wish to be able to send…
Daniel Olsen
  • 31
  • 1
  • 2
3
votes
2 answers

PHP Commands to USB Modem

Please what is the AT commands in PHP compatible with Huawei USB Modem ? i need to use these commands in script then i can send sms using the Huawei USB Modem. thanks
Dr-SeMSeM
  • 41
  • 1
  • 2
3
votes
1 answer

AT+SHCONN failing for SIM7000E HTTPS connection

I am trying to create a HTTPS connection using AT commands for a SIM7000E module but the process is failing at the AT+SHCONN step. For testing purposes I've successfully managed to send GET requests via HTTP to http://httpbin.org I know that the SIM…
Andrew Sage
  • 111
  • 2
  • 6
3
votes
1 answer

SIM800L check if call was answered

I need to disable the dialing tone on my SIM800L and for that I need to know if the receiving end has answered the call. AT+CPAS returns 4 which stands for 'in progress' both during conversation as well as during the tone before the call is answered…
tomas1808
  • 33
  • 3
3
votes
1 answer

HTTPS GET request not working with sim7000e lte module

I am trying to make an HTTPS GET REQUEST to google, youtube, bing, baidu.com using sim7000E in PUTTY. And it is not working every time I give a command AT+SHCONN I GET BACK ERROR or it gets hang. THE AT commands I am using is from the official…
3
votes
1 answer

SIM800L: AT+CIICR always goes to PDP DEACT state

I'm trying to send data to a server using my SIM800L which is connected to a LoPy. Using the attached diagram I want to go from state 0 to 6 in order to send and the issue I encounter is at state 2 ( AR+CIIR that returns an error ). SIM800L diagram…
3
votes
2 answers

SIM800l - Disable "SMS Ready" and "Call Ready" unsolicited messages

My problem is related to SIM800 connection messages. I use the module with STM32 developlment board. Sometimes module is reporting SMS Ready and Call Ready messages respectively. When I start to send AT commands to the module, it may send these…
3
votes
1 answer

Arduino UNO + SIM800L - sending data to server

I am using arduino UNO board, with modem sim800l. I want use it to send data to server mysql every 10 seconds. Everything is working fine when I have serial monitor open in arduino IDE (data is being saved to the mysql database)but when serial…
Marcin
  • 45
  • 1
  • 7
3
votes
1 answer

What is the normal behavior of '+CEREG' unsolicited messages?

My server is receiving data from a Telit ME910C1 LTE Cat-M modem. The unit is placed on a vehicle in movement. Sometimes the responses are received late, and when it does get the response on time, the cell-id changes. Please help me narrow down this…
omar elha
  • 31
  • 4
3
votes
0 answers

How to fix "+CME ERROR: unknown network message" error while sending USSD command to the gsm modem?

I am trying to execute USSD codes through my GSM modem. When i try USSD command which gives me some option, it is executed but i can't get any operation done from the options. AT+CMGF=1 OK AT+CSCS="GSM" OK AT+CUSD=1,"*101#",15 (To check…