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

CREG, CGREG, CEREG AT commands

I have to control a modem Cinterion ELS61 with a host application. Can anyone tell me in simple words which is the real difference among at+creg?, at+cgreg? and at+cereg? commands? I know that cgreg is related to 2G and 3G radio access technology…
Guille
  • 326
  • 2
  • 10
4
votes
1 answer

How do I Reboot BG96 with AT command

I tried rebooting BG96 by AT+NRB at command but it's not working. What is the AT command for rebooting the BG96 board exactly?
4
votes
3 answers

What's the escape character in AT-commands?

Im using a BG96 modem to connect to AWS iot over MQTT. I'm trying to set my MQTT Last Will and Testament with the following AT-command: +QMTCFG:"will",(0-5),(0,1),(0-2),(0,1),"willtopic","willmessage" Which works great. But now I'm trying to add a…
Jelmer
  • 41
  • 3
4
votes
1 answer

How to configure a modem module with the information retrieved from the SIM card

I'm using a Telit LE910-C1 module to connect my ESP32 to internet through a SIM card. I don't know much about how modems work but I inherited a code which works correctly (establishing a connection). The problem is that it works only with the SIM it…
4
votes
3 answers

Sending AT Command to a USB-Connected GPRS Modem in C#

Can anyone give me a good direction or guide on how I can access a GPRS modem that is connected to a Usb Port. Should I make a USB driver for my program to send AT command to the modem? or Is like a router where in i can access it using an IP…
h3n
  • 5,142
  • 9
  • 46
  • 76
4
votes
0 answers

How to remove the password of HC-05 Bluetooth Module?

I want to build an app in which a user can connect with Bluetooth to the HC-05 Bluetooth Module. Is there a chance to disable/remove the password of the HC-05 Bluetooth Module with AT-Commands? So that the user only clicks the Device-Name in the…
Tobibell
  • 41
  • 3
4
votes
1 answer

how to send POST request with sim800 module AT commands?

I am sending post request with AT commands using sim800 module using python g = serial.Serial("/dev/ttyUSB0", baudrate=9600, timeout=2) g.write('AT+HTTPPARA="URL","http://server/path"') print…
Krunal Sonparate
  • 1,122
  • 10
  • 29
4
votes
3 answers

AT+CUSD Not Working on modem Huawei e3131a

I am trying to send at commands to get balance on huawei e3131a modem but i always receive "Ok" as answer no matter the configuration i use (GSM, IRA, UCS2). I also tried to change the operator code (#123#) to many formats like Hex PDU Simple String…
4
votes
1 answer

AT commands for HTTPS

I've been working with a SIM808 and sending HTTP GET requests using the following AT commands: "AT+HTTPPARA=\"CID\", 1\r\n" "AT+HTTPINIT\r\n" "AT+HTTPPARA=\"URL\",\"http://www.example.com/\"\r\n" "AT+HTTPACTION=0\r\n" "AT+HTTPREAD\r\n" and it works…
4
votes
2 answers

Recieving Blank SMS SIM800 using AT Commands and Python on Raspberry Pi 2

I created this python script on rpi2, the message goes through, but it is a blank message. Is it a encoding issue? import serial import time from sys import version_info from curses import ascii phone = serial.Serial("/dev/ttyAMA0", 115200,…
Arun K
  • 71
  • 1
  • 8
4
votes
3 answers

Bluetooth SPP module SPP-C SPP-CA BK3211 chip - entering AT mode?

I have Bluetooth SPP module SPP-C / SPP-CA , it is cheap module that should work the same way as well known HC-06 / HC-05 modules. I have got one problem, everything works, module is communicating over serial interface pairing etc... but i can not…
4
votes
1 answer

How can we read SIM EFs with SFI using AT+CRSM?

AT+CRSM can be used to read Elementary Files (EF) of the SIM Card. (3GPP TS 27.007) I am successfully able to read many EF files using the following format: at+crsm=176,,0,0, Few files which I have…
vmd
  • 226
  • 3
  • 7
4
votes
2 answers

AT+CUSD command: Response encoding

I am sending AT+CUSD command (to dial a ussd code) to a gsm modem. It is working fine. The response is also correct on the handset. But the response is in I think hex format or some encoding unknown to me: GSM MODEM HARDWARE: Nokia C6-01 Connected…
Aqeel Ashiq
  • 1,988
  • 5
  • 24
  • 57
4
votes
1 answer

Trying to use the AT command with an Huawei E3531

I want to read the RSSI of my Huawei E3531. So I found some documentations that show an easy way to get those informations using the AT command. The problem is that I can't even connect to my Huawei E3531. I mean, it works really well as a modem. I…
Max Taylor
  • 129
  • 3
  • 15
4
votes
1 answer

AT+CUSD Command for Multiple Menu: Session closes and I can't get to the second menu

AT Command for USSD with Multiple Menu. When I check on normal mobile I have to follow the command like this - USSD Command - *401*1*22# I got a reply as Welcom to ---. You Will receive the menu shortly. Please exit after few second I got a menu…
newcomer
  • 467
  • 6
  • 18