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
0 answers

AT+COPS=? return operation not allowed

i am trying to receive the nearby cell information from using my device which is qualcomm snapdragon msm8909. the device has 6 modems which i can control using gpio's. i should note that no sim is inserted into the device, therefore i have no…
Gil Akrish
  • 57
  • 1
  • 7
3
votes
1 answer

Why does SIM respond to AT+CIPSEND with “+CME ERROR: operation not allowed” when the IP address and the TCP connection has been established?

I am working with a team to send data from Raspberry Pi over 2G network to a server using a GSM module called “SIM800L EBV”. We encountered an AT+CIPSEND error that has only occurred in Zambia, Africa while having been working correctly in the US…
3
votes
3 answers

How to prevent other phone/mobile numbers to send SMS command to Arduino?

INTRO: I'm a novice when it comes to Arduino programming and using AT commands. I already tried to search the whole internet and asked on Arduino forum, but I have no luck and nobody seems to give me a clear idea about it there. PROBLEM: So, I have…
3
votes
1 answer

Regex to Parse AT Commands

I'm trying to use regex to parse the elements in the result of AT commands. The structure of this is as follows: OK AT!GSTATUS? !GSTATUS: Current Time: 2420 Temperature: 30 Reset Counter: 1 Mode: …
Falco
  • 61
  • 7
3
votes
1 answer

How the callback functions work in stm32 Hal Library?

As we all know,the Hal Lib provides some callback function to manage hardware interrupt.But i don't know how them work? Te fact is that I am using HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) this function so as to receive other devices' data…
Genius_SexyBoy
  • 53
  • 1
  • 1
  • 4
3
votes
9 answers

need AT command for sim reset

is there any AT command which can reset the sim in a gsm usb modem. now i am using a MOBIDATA E66 modem. so if any can provid me the command or know similar command then please help me. when i communicate with the sim if the connection is lost or…
stinepike
  • 54,068
  • 14
  • 92
  • 112
3
votes
2 answers

Sim 800 +HTTPACTION: 0,601,0

I'm trying to get a gprs connection to a server by using a sim 800 module. I'm getting 601 errors. I have tried the debbuging that are described in this question: error +HTTPACTION:0,601,0 AT OK ATZ OK AT+CFUN=1 OK AT+CPIN? +CPIN:…
tschuehly
  • 65
  • 1
  • 7
3
votes
1 answer

Receive SMS and Make call using AT command with SIM900

I am having some difficulties with getting my python code working. I have Rpi2 with SIM900 module attach. I can make calls, receive call, send SMS even I can receive an SMS. But putting all together is giving me a headache. I have scroll over and…
user3343073
  • 75
  • 1
  • 9
3
votes
1 answer

AT+COPS=? doesn't return or returns CME ERROR 22

To fix roaming situations on a GSM device, I'm trying to retrieve the available networks with AT+COPS=? and compare the SIM's IMSI to the networks' numeric codes. Often, instead of a response, there is the echo, followed by device reset after a…
starturtle
  • 699
  • 8
  • 25
3
votes
0 answers

Get Signal strength of client connected to esp8266 AP

Using esp8266 as an access point so that the other mobiles could connect with the esp8266, Want to get the client's info like ip, mac and rssi, this could be done by the command AT+CWLAP. I had programmed the esp in Arduino, want to execute the…
ABI
  • 1,536
  • 18
  • 38
3
votes
3 answers

What AT commands are required to register an IoT modem on Verizon?

I'm trying to troubleshoot a wireless modem that contains a Sierra MC73xx module. Also, my SIM is from an MVNO that says it has enabled roaming on Verizon. I run AT+COPS=? and can see the Verizon network: +COPS:…
3
votes
5 answers

how to send arabic sms with at-command in c#

How can I send Arabic SMS with the at command in C#? When I send Arabic messages it shows incorrect characters. I tried using this code: serialPort1.BaseStream.Flush(); string cb = char.ConvertFromUtf32(26); …
mahdi
  • 16,257
  • 15
  • 52
  • 73
3
votes
2 answers

how to use AT-Command in C#

I tried to send commands to a GSM modem or phone with C# using this code but it`s not working! Can anybody tell me what should I do ? SerialPort sp = new SerialPort(); sp.PortName = "COM42"; sp.Open(); sp.Write("ATD09364191752");
mahdi
  • 16,257
  • 15
  • 52
  • 73
3
votes
0 answers

ESP8266 "AT" shows no response

I tried to communicate with my ESP8266 over a serial connection but i don't receive any response from the device. What is working: Flashing works and i can get the Chip ID and MAC address (using esptool). Wiring is done like shown here Power comes…
br0ken.pipe
  • 850
  • 3
  • 17
  • 32
3
votes
1 answer

Call and Play wav file using usb modem c#

I have written a code to dial a number using USB modem connected and want to play a .wav file on the serial port connected. My code is making the call but when I try to transfer voice using AT command it always through the exception some time…
Pawan Agrawal
  • 412
  • 8
  • 26