AT commands are used to control modems and mobile phones. AT is the abbreviation of ATtention. To find more information out about AT commands’ history, structure and examples, you may follow these links:
- Introduction to AT Commands: click here
- Hayes Command Set (Wikipedia): click here
- Summary List of AT Commands: click here
- AT Commands Reference Guide (recomended): click here
Sending an AT command to a mobile phone isn’t as difficult as you think. It is just like changing a Windows setting. The hard part is understanding the command outputs.
In order to send a command:
- Open Start menu and type
devmgmt.msc
in search box (Or type it onStart > Run
). It shows “Device Manager” up window. - Expand “Modems” section. Right click to the mobile phone and click “Properties“. Go to “Advanced” tab.
- Type your AT command into “Extra initialization commands” box.
You can see the command result by clicking “View Logs” button on “Diagnostics” tab (Firstly you need to select “Append to Log” option).
There are some tools/libraries for Java, .NET to send and receive AT command via serial or USB port. One of them is here. I hope I have time to work on it soon.
1 thought on “How do you send AT commands to a mobile phone?”