
The command AT+CMGS, send the SMS to the specified number. The command AT+CMGF=1 sets the “Message format” to “text mode”. The output format +CBC: 1,96 represents, 5. The output format +CSQ: 29,99 represents , You can also get the signal quality and the battery charge status using AT extended commands. Getting Signal quality and battery charge status Getting the Manufacture/IMEI/IMSI informationĮxtended AT commands are used to provide information about the manufacturer, International Mobile Equipment Identity, International Mobile Subscriber Identity etc… AT+CGMI Now the phone will dial out to the number 99769XXXXX. You can also dial out a voice call from the modem using ATD command. Dialing out and hanging up a voice call – ATD – ATH


You can press “ATA” to answer the incoming call. When there is an incoming call, you can see a ‘RING’ message in the minicom. To answer an Incoming call via modem, issue the “ATA” command in the minicom.

You should get a “OK” response as follows. To test whether we have configured minicom successfully to communicate with modem, type “AT” in the minicom. Now we have configured the minicom successfully and you will see a screen like the following. Once you change these settings, press “Enter”.Ĭhoose “Save setup as dfl” and choose “Exit”. You can also used wvdialconf to identify the baud rate supported by your modem. Press ‘E’ to change the Baud rate at which the modem communicates.
#SHELL MINICOM TYPE SERIAL#
Press ‘A’ to change the serial device from /dev/tty0 to /dev/ttyACM0. It will display a screen similar to the following. To configure minicom to access modem, do the following: # minicom -sĬhoose the “Serial port setup” and press “Enter”.
#SHELL MINICOM TYPE DRIVER#
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters usbcore: registered new interface driver cdc_acm cdc_acm 1-1.3:1.1: ttyACM0: USB ACM device In my case the modem got detected as /dev/ttyACM0. Once the device is connected, you will see output similar to the following using dmesg. In my case, I’ve connected my “Nokia 2700” via data cable to my linux PC.
#SHELL MINICOM TYPE INSTALL#
# apt-get install minicom Configuring minicom to interface with the modemīefore configuring minicom, we need to connect the modem to the linux system.

Using minicom we can send AT commands to the modem to get information about its features. Minicom is a linux equivalent to the HyperTerminal utility in Microsoft Operating Systems. Minicom is a tool which provides an interface for communicating with devices that are connected to serial ports. In-order to send AT commands to modems, we need an interface. In this tutorial, I’m going to show examples using my “Nokia 2700” mobile phone which has a inbuilt GSM/GPRS modem. Note that not all modems will support all the AT commands.
