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
-1
votes
1 answer

ESP8266 AT firmware doesn't say it's ready

I'm using ESP12E module. I uploaded v1.1.1.1 AT Firmware.bin, connected pin 0 from ground to 3.3 V, restarted the module. When monitoring the COM port I see : In the end id doesn't say that it's ready and therefore none of the AT commands work. Any…
andreybavt
  • 1,301
  • 4
  • 17
  • 32
-1
votes
1 answer

AT Command — forwarding call

I try to forward an incomming call via this AT-Command: AT+CCFC=1,1,"+4930xxxxxxxx",145; But it isn't working (on the M10 Quectel GSM Shield from Arduino). My second approach is doing this with an USSD-Line wrapped in a AT-Command like…
erikfx
  • 1
  • 1
  • 4
-1
votes
1 answer

minicom: AT+CMGR=n not showing the sms content

I'm trying to send and receive SMS via a Huawei e153s USB HSPA Dongle connected to an Ubuntu Laptop. I use a minicom emulator to make the SSH connection. After doing the configurations (setting serial ports, etc.) I tried AT commands one by one.…
ThilankaD
  • 1,021
  • 1
  • 13
  • 24
-1
votes
1 answer

How to send fax with AT Command in C#?

I want to send fax in serial port with AT Command in C#. I am reading this pdf learning for send or receive a fax with AT Commands. But i have problems. For example this is my method for send command to Serial Port: void WriteData(string…
Ali Yousefi
  • 2,355
  • 2
  • 32
  • 47
-1
votes
1 answer

Read lines (two or more lines) from the output of AT command and put it to database

I want to read two lines from AT Command's output and do INSERT INTO table VALUES in python. The output of AT is always in two rows but it's a sequence, unlike open file and read it until the next limiter, but we have to wait. anyway this is my…
FREEMASTER
  • 13
  • 4
-1
votes
1 answer

Connect to 3G dongle using wifi

Under a linux ubuntu 12.4 operating system I managed to communicate with a TP-link 3G dongle after switching the mode of it. So, I am able to send and receive SMS for example. For establishing a internet connection I use WVdial which is quite…
Mero
  • 1,280
  • 4
  • 15
  • 25
-1
votes
1 answer

Connect to Internet with GSM: modem connected, no Internet

I am connecting to my USB modem on a COM port and sending him commands: AT+CGDCONT=1,"IP","internet" AT$QCPDPP=1,1,internet,internet AT_OWANCALL=1,1,1 AT_OHCIP? modem is answering and I can see that leda are lighting as where there is connection…
Chris
  • 785
  • 5
  • 12
  • 29
-1
votes
1 answer

Truncate +CDS Response AT COMMAND

I'm with trouble in +CDS return from channel. I'm using a modem with 64 channels and I need to get this value. This missing information in any lines above +CDS: 6,248,"21988 +CDS: 6,249,"6299224415 +CDS:…
-1
votes
1 answer

Need suggestion for .NET regular expression to get SMS infomation from SIM900 GSM modem

I try to get information from string that return from AT+CMGR=X (where x is index of message on SIM Card) the string is \r\n+CMGR: \"REC…
embarus
  • 815
  • 3
  • 14
  • 28
-2
votes
2 answers

How to send an SMS in a language other than English with module SIM800L?

How to send a text message in Polish, e.g. with the following text "Cześć", where the characters are from outside the GSM alphabet? I have a TTGO T-Call board that has a SIM800L module from SIMCOM. I have tried using various AT commands, but nothing…
-2
votes
1 answer

Huawei Cdma Modem, How can send sms via C# App OR AT command

I've huawei EC156 cdma modem, I tried to send SMS via AT commands with many commands, But always received response "command not support". I have used the following commands: 1- AT+CMGS 2- AT + GWWC Also, I didn't find any C# Libraries dealing with…
-2
votes
2 answers

How get string size

I am trying to send AT commands from my microcontroller and I am writing a my own implementation to check the responses from the remote module At this point I want to send Strings with the command to the module in the following way: //File.h …
jou
  • 1
  • 4
-2
votes
1 answer

Transmitting data between arduino's using hm-10 BLE

I am working on a project whereby I have an arduino recording the humidity and temperature levels of a room (using a DHT11 sensor), and a second arduino that recieve this data via bluetooth. I am using the hm-10 BLE modules. So far the…
-2
votes
1 answer

How to pass an argument to a perl script

my @return = `at now +3 days -f test2.pl myargument 2>&1`; How do I pass that myargument to my script test2.pl? In that code it returns an error.
Cadz
  • 139
  • 3
  • 21
-2
votes
2 answers

Count unread SMS using AT command

How to count unread SMS or revived SMS using AT command? void UnreadMEssage() { fonaSS.println("AT+CMGF=0"); delay(1000); fonaSS.println("AT+CMGL=\"REC UNREAD\",1"); } Using this code, I can show the all received text messages, but I want to…
1 2 3
93
94