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

Check which network a HUAWEI modem is connected to using an AT command?

What is the AT command to get the network name on a HUAWEI USB modem?
Kristina
  • 15,859
  • 29
  • 111
  • 181
0
votes
2 answers

Arduino sending sms in GSM sim900 error

I have an Arduino Mega 2560 and a sim900 gsm module. I interfaced them successfully and written the code. Its working, but I can only send 1 sms at a time in the while loop. That means when I write a while loop to execute the sendsms() 5 times by…
sham999
  • 121
  • 1
  • 3
  • 12
0
votes
1 answer

Sending sms in pdu mod gets cms error 304

I'm trying to send sms using huawei e173 gsm modem. Everything works fine in text mode, but I can't figure out how to send sms in pdu mode. I have tried to send simple message that will say "hellohello". This is my message format in Qt designer…
user2880783
  • 145
  • 6
  • 18
0
votes
1 answer

Leon G100, AT command CUSD, how to respond to menu

Hello I use Leon G100 gprs modem. I communicate over USART Terminal, everything works ok. (I will mark CR and LF characters with hex values) When I ask for the service, if response is not menu I got everything ok, like this: request :…
MRB
  • 422
  • 1
  • 8
  • 16
0
votes
2 answers

How to clear the "+CMGS: " response after sending an SMS via "AT+CMGS"

When I send a text message via "AT+CMGS" I get a response from the console "+CMGS: [x]", X is a number that seems to increment with each message I send. Is there a command to set this number back to "0"? I would like to do something…
Rob_IGS
  • 575
  • 3
  • 8
  • 17
0
votes
1 answer

C# code to make mobile phone to connect through visual studio using AT commands?

This the code for making connection with the GSM 900 modem... and the code works perfectly.. but when i try to make my mobile(micromax doodle a111-works perfectly for all AT COMMANDS in HYPERTERMINAL) to act instead of GSM 900 modem.. its says NO…
0
votes
1 answer

gsm ATD command to check my balance

I am trying to write a program that makes a phone call via bluetooth and return my balance (money). I am using the 32feet.net bluetooth api. BluetoothAddress addr = device.DeviceAddress; BluetoothEndPoint rep = new BluetoothEndPoint(addr,…
mhamdizo
  • 127
  • 1
  • 2
  • 9
0
votes
1 answer

Sending an SMS from LPC2148 to a mobile phone

I posted a similar question yesterday But I am not able to edit the code and post more problems, so i am reposting it here. I have connected the gsm modem to LPC2148 and i am sending a simple message "vehicle" to my mobile. I have put in print…
user3359953
  • 47
  • 1
  • 8
0
votes
1 answer

Interfacing gsm with LPC2148

I am trying to send a message from my ARM7 LPC2148 board. I have connected a SIM900 GSM Modem to the UART0 of the board. But I am not receiving the message on my phone!!I have put print statements here and there so that I know where the system is…
user3359953
  • 47
  • 1
  • 8
0
votes
1 answer

HTTP request with lua script

I am trying to send a HTTP GET operation using the SIM5218 modem via 3G. I have already managed to send that request while using minicom. Here is the command I used : at+netopen=,,1 at+chttpact="mywebsite.com",80 GET /myscript.py?var=varTest…
0
votes
2 answers

Arduino : GPRS shield not responding to AT commands

Problem : Unable to communicate with GPRS Shield Devices : Arduino Uno, GRPS Shield V2.0 Approach : I am following the GPRS shield guide found here : http://www.seeedstudio.com/wiki/GPRS_Shield_V2.0 First of all I successfully installed the GPRS…
0
votes
1 answer

Gathering Data from 3G modem

I need to extract the following data from a 3G modem: The mobile network code The mobile location area code The connected mobile cell tower ID The SIM security status (Unlocked, PIN or PUK) The SIM serial number My technique of getting data from…
Cornel Verster
  • 1,664
  • 3
  • 27
  • 55
0
votes
1 answer

Get last call duration using AT+CLCC command

I coded a program to dial automatically when phone is connected to the laptop and get the last call duration.I used AT+CLCC command to get current call status..Though it should return the Some string value as .......etc i got nothing like that so…
user3292311
  • 43
  • 1
  • 7
0
votes
2 answers

Send AT-command through bluetooth from python application

hai guyz, how can i send AT-command through bluetooth from a python application? OS:fedora 8 Any one please healp me with the code? which package i need to import? from where can i download it?
RSK
  • 17,210
  • 13
  • 54
  • 74
0
votes
1 answer

AT comments not working when i use Micromax MMX310G USB Manager

I am trying to send sms by using AT commands from micromax MMX310G 3G USB Manager (not modem). It has airtel sim without internet. string recievedData = ExecCommand(port,"AT", 300, "No phone connected"); recievedData = ExecCommand(port,"AT+CMGF=1",…