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

AT+CSQ network percentage formula from rssi

Does anyone knows formula for calculating GSM network coverage into percents (0 .. 100) from rssi? It should be safe for 8bit AVR microcontroller CPU, without hardcore math operations like log or division by something that's not 2^n (bitshift is…
zeilja
  • 499
  • 6
  • 6
3
votes
2 answers

Send AT command on rooted Xperia Z android device

I have a rooted xperia Z phone. I would like to send USSD command and catch the answer. My first idea was to send AT command through the good interface thanks to adb shell interface. I listed all the interfaces: /dev/tty /dev/tty …
Julio
  • 2,493
  • 4
  • 33
  • 53
3
votes
2 answers

GSM Modem Send Message in UCS2 format error

I'm using java to communicate with a gsm modem (Siemens) using AT commands. I set the encoding of modem to "UCS2". When sending messages as soon as I send the phone number I get ERROR from the…
YasharHND
  • 123
  • 1
  • 3
  • 13
3
votes
1 answer

How to SMS send to CDMA modem using AT command in java?

I am trying to make a simple java application on windows-7 that can send SMS on my citycell Zoom USB Modem. I use AT Command(http://www.canarysystems.com/nsupport/CDMA_AT_Commands.pdf) . Flowing my Java Code: import javax.comm.*; import…
samsul
  • 340
  • 1
  • 3
  • 13
3
votes
3 answers

How to join received multipart SMS ( GSM Modem )( C# )

I'm programming an app that receives Short Messages (SMS) from a GSM Modem (ZTE Corporation) (+CMTI notifications). I've already done my program but when there is a multi-part SMS I can not connect them to each other, and all of them come in…
Alireza
  • 4,347
  • 3
  • 20
  • 31
3
votes
1 answer

Using AT commands with an Android phone

I'm writing a program that is able to send and receive data from the GSM modem in my Android phone with AT commands. I execute the following shell script: su echo -e "AT+CSQ?\r" > /dev/smd0 cat /dev/smd0 > /dev/asd.txt The asd.txt file is created,…
user1593760
  • 61
  • 1
  • 3
  • 5
3
votes
0 answers

Galaxy S I9000 send get response form AT commands

I am trying to send AT commands on Galaxy S (I9000). The problem is that I am not sure which device is the modem. Searching into file /system/build.prop, i get that the device used by rild is /dev/ttyS0 (rild.libargs=-d /dev/ttyS0). But there is no…
3
votes
0 answers

How to use AT commands and implement CSD in Android?

I've got a challenge: I need to implement CSD into my Android app. Android Telephony organization is explained here http://ytd2525.wordpress.com/2012/10/08/android-operating-system-and-radio-interface-layer/. Since Android API doesn't include…
Adam
  • 842
  • 2
  • 14
  • 22
3
votes
2 answers

GSM SM5100B C M E E R R O R : 4 error

I am using Arduino to control an SM5100B GSM device, everything works except when I want to send an SMS after receiving another. I get this, Error code: O K > + C M G S : 2 5 O K + C M E E R R O R : 4 My code…
mohammad
  • 2,142
  • 7
  • 35
  • 60
3
votes
0 answers

Android AT commands - Issue with connection

My device is Asus transformer with 3G. I send AT-commands to /dev/ttyACM0 to turn on the data connection. In logcat I see that the provider gives me IP, DNS and default gateway addresses. Then I bring up the network interface rmnet0 and assign ip…
Ant
  • 41
  • 5
3
votes
1 answer

A good C library for speeding up AT commands with a GSM module in embedded linux?

I used to work with GM862-QUAD-PY module from Telit (link here: http://www.telit.com/en/products.php?p_ac=show&p=4). This module has a built-in Python interpreter. For a long time, I use it as a single module GSM/GPRS solution. I basically write…
foresightyj
  • 2,006
  • 2
  • 26
  • 40
3
votes
4 answers

Terminating a voice call via AT Command

Im working on a hobby project involving an Arduino and TC35 GSM Module, all is going well really but I am wondering is there an AT Command to terminate a voice call (ATD+phone number;) as I cannot seem to find one in any of the literature I've…
BLL27
  • 921
  • 5
  • 13
  • 27
3
votes
1 answer

Trouble reading messages with AT+CMGL="ALL"

I'm programming a modem using AT commands. When I execute AT+CMGL="ALL", sometimes, it does not return anything. At other times, it returns the list of messages. Could you tell me why?
user1024858
  • 129
  • 3
  • 5
  • 11
3
votes
0 answers

Telephony parameters not available through framework APIs

I have to fetch the info related to following Telephony parameters: BCCH, Band, DL ARFCN,UL ARFCN, BLER, MOS DL, MOS UL, Txpwr & Handover Parameters. I searched a lot but didn't find any way to get this information through APIs. There may be some…
Shravan
  • 341
  • 6
  • 11
3
votes
2 answers

How to implement AT command call in my application?

I have to fetch some low level information like RxLev, BLER, RxQual etc which are not accessible through Android framework APIs. I found the alternative to be AT command. I am using rooted Samsung galaxy S. On previous post, there are many confusion…
Shravan
  • 341
  • 6
  • 11