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

How to access each pixel value of RGB image?

I am trying to read RGB image. However, I can only access with Vec3b type, not each channel. I am sure what is the problem. Would like to help me out of misery? imgMod = imread("rgb.png"); for (int iter_x = 0; iter_x < imgMod.cols; ++iter_x) { …
0
votes
1 answer

I can't hear voice after successful calling a number with AT command

I have successfully placed a call with ATDTn but i cant hear anything from the recipient. I have googled but no help. It is a voice modem. Is there anything i am doing wrong? This is my code: if ((m_serialPort != null) && (m_serialPort.IsOpen)) …
Jeswills
  • 357
  • 1
  • 2
  • 15
0
votes
0 answers

AT+BIA command format

I am sending AT+BIA=0,0,0,0,0,0,1 command to android phone. But I am getting response as "ERROR". So I would like to know the format of AT+BIA command. Am I using the correct format? How do we know the correct format? Can someone help me on this?
nkarthek
  • 11
  • 1
0
votes
1 answer

Getting unexpected result of AT COMMAND in java

import gnu.io.*; import java.io.*; import java.util.*; import java.lang.*; public class SerialWrite implements Runnable, SerialPortEventListener{ static String output=""; public void run(){ } static Enumeration portList; …
user2631892
  • 25
  • 1
  • 1
  • 7
0
votes
1 answer

Abort reading from serial to start writing?

I need to "listen" on a serial port for incoming traffic and do something with it. But when the user clicks on a button, i need to write data into that serial port. For reading incoming messages, I use ReadByte() without a Timeout. When I set the…
feedc0de
  • 3,646
  • 8
  • 30
  • 55
0
votes
1 answer

How to send AT Commands in Dual Sim Phone

how to send AT commands to a dual sim phone ? I tried AT+CSIMSEL in a C# Program (using 32feet library) but it don't work on my Nokia phone. Thanks
0
votes
0 answers

Send AT+COPS command to android phone

I am trying to send AT+COPS=3,0 and AT+COPS? command to my android phone from another android emulator(androidx86). I am sending this command to query the operator name. But I am not getting any response for this command. I am getting response for…
nkarthek
  • 11
  • 1
0
votes
1 answer

GSM Modem show CME ERROR:262 Sim is blocked, but working in Cell Phone

I have been using GSM Modem at work for sending sms notifications for a while. It was working good, however when I tried using it today it gives me +CME ERROR: 262. This means: Sim Card is Blocked, I have no idea why. Previously these commands…
kaktusas2598
  • 641
  • 1
  • 7
  • 28
0
votes
1 answer

how to send QMI api request to the device (like Sierra Wireless Card) by C

I am reading the QMI software API now since we will use QMI instead of AT commands. Based on the api, I know QMI imports C library to talk with device. My question is that how does it talk with device exactly? Before I was using AT commands, I can…
user3019299
  • 189
  • 1
  • 5
  • 19
0
votes
0 answers

Can't receive sms messages?

I can send SMS from hyperterminal, but I can't receive SMS messages. I just keep getting OK response without listing the messages. Here are my commands for reading messages and what responses I get. AT+CMGF=1 OK AT+CMGL="ALL" OK As you can see…
Ammar
  • 1,203
  • 5
  • 27
  • 64
0
votes
1 answer

Not getting any response from the hyperterminal

I installed Hyperterminal and I used my samsung galaxy s3 and connected it with my laptop with usb cable. I installed the drivers and connected to s3 as modem. It shows connected in Hyperterminal. But whenever I send any command for example, AT …
user2631892
  • 25
  • 1
  • 1
  • 7
0
votes
1 answer

Read AT COMMAND output using c code?

I want to read output of my AT command which is sent to GSM modem using c code.I made a code but in this code buffer is not showing proper output.please help me. I want to print the cell information using this code.AT command which is I use is…
yogeshbhimani
  • 49
  • 1
  • 3
  • 7
0
votes
1 answer

regexp for at commands

I am using tcl and expect to send and read AT commands from a phone (I would like to send sms using at commands). I am sending AT commands through expect as follows: exp_send "AT\r" expect { -re "(.*)OK" {puts "Connected"} } Now I am…
Harsha
  • 1
0
votes
1 answer

AT command, send sms with Qt

I'm trying to send an sms from Qt trough serial port on a GPRS modem. Does anyone experienced that? I'm able to connect to the modem, but don't know which AT command to send and how to get the response back from the modem. (Here I'm making a phone…
gr3g
  • 2,866
  • 5
  • 28
  • 52
0
votes
1 answer

Issue in parsing the data received on MSCOM event in vb6

I am working with the GSM modem. I am getting data on port with particular syntax for RING and Message like for ring RING+CLIP: "+919860939518",145,"",,"",0 and for message +CMT: "BP-bytwoo",,"14/08/02,13:16:41+22 9860939518:hello6 I have…
user3678480
  • 33
  • 1
  • 8