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

Program an at command from a Perl script

Hello everybody! What I want to do: I want to set an at exactly 24 hours after a given $timestamp from a Perl Script. My problem is: Every time I look the manual or a tutorial, the command redirect us to a shell which will record te command we want…
torr
  • 1,256
  • 3
  • 11
  • 20
0
votes
1 answer

how to send voice from microphone or play recorded audio from hsdpa dongle C#

I have done all call dialling part and it works. Now I need to play recorded sound or microphone in put sound through phone.I just need to know how can I pass the audio to the dongle and send it through the call. this is my working code for dialling…
0
votes
1 answer

GPRS AT-commands for Siemens cell phone

I've a task - remote temperature monitoring. Hardware is atmega328 microcontroller, simple analog temperature sensor and old cell phone Siemens cx75 (this device has a GPRS module). So, I'm looking for AT commands to send some bytes of data via…
0
votes
1 answer

Read back AT command response in a richtextbox

I am trying to send a string of AT commands to a USB dongle. i have been successful in writing to the serial port. But i have not been successful in reading back. Basically what i want to do is to send lets say AT to the dongle and receive OK in a…
Joey Agyeduah
  • 55
  • 1
  • 5
0
votes
1 answer

Using Nokia AT command in VB 2010

I am a beginner in learning AT commands and windows programming. I prepared a code just to read the Serial no of a Nokia phone in VB 2010 as Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As…
0
votes
0 answers

Find time taken to connect to a call using AT command

I am using a GSM modem and using minicom to pass AT commands to the modem. I need to find out the following. Time taken to initiate a call. Time elapsed till the user picks up the call. Duration of the call. Time modem takes to disconnect. I am…
Kushal Shah
  • 165
  • 1
  • 13
0
votes
2 answers

Bash programming, interrogating ttyUSB port

I'm new in this of bash programming in linux, basically what I want to do is to program a bash file that can open the port ttyUSB0 and then I need to interrogate it with AT commands (like "0100") and then assign the response to a variable, I've been…
antalbokor
  • 33
  • 5
0
votes
1 answer

any command line com port query tools?

I want to make a chat program that uses SMS as its base engine. To do this I need to communicate with my GSM phone via Bluetooth attached to COM7 on my computer. I can do this fine using HyperTerminal, Tera Term etc. But to have an unobtrusive,…
0
votes
2 answers

Fetching number via python

I am communicating to serial ports via python. I passed an AT command to list the phone directory. Now I need to fetch the phone number I received. How do I fetch that particular number via python. +CMGR: "REC…
Kushal Shah
  • 165
  • 1
  • 13
0
votes
1 answer

Sending MMS over HTTP using GPRS modem

I am to develop application to send Email (with attachment) and MMS using Telit GL865 modem. Modem does not support WAP communication. Can MMS be sent using HTTP via GPRS? Is that a problem?
himanshu
  • 417
  • 5
  • 18
0
votes
1 answer

In gsm modems, how to inform when a new message has been received (Interruptly) using at commands like CNMA or CNMI?

I'm developing a winform program in which, I need send and receiving SMS messages, I have no problem in sending SMS, but i don't know how to inform when a new message has been received in a gsm modem? I wanna have an acknowledgement like an…
Hassan TBT
  • 113
  • 3
  • 10
0
votes
1 answer

how to read AT commands with c++ code in linux

I wrote the following code in which I am trying to send a message from a SM5100b GSM(which is connected to a Rasberry Pi) to my mobile. It is working but I can check the results of AT commands for example Ok, Ok, +CME ERROR: 4, Ok only when I have…
dali1985
  • 3,263
  • 13
  • 49
  • 68
0
votes
2 answers

output of AT command c++ code

I wrote the following code which sends a simple message to my mobile with GSM SM5100B. But it does not work. I would like to check the outputs of each printf line with c++ code. For example AT+CMFG=1 ok AT+CMGS="69******" ok etc. Is there any why…
dali1985
  • 3,263
  • 13
  • 49
  • 68
0
votes
1 answer

GSM Modem Mapping in linux

My task is to find out which GSM modem is connected to which serial port and write a programm in python which does the following work. Now since multiple sim cards can be connected to a given modem, my task is to find details of the sim cards which…
Kushal Shah
  • 165
  • 1
  • 13
0
votes
1 answer

Compilation error "error: stray '\302'" in program Code::Blocks

I wrote this code (using the Code::Blocks IDE) in which I want to send a message for a GSM to my mobile. It includes some AT commands. The problem is that I have this error in the printf with the AT command "at+cmgf=1". I think that my code is…
dali1985
  • 3,263
  • 13
  • 49
  • 68