RSS Feed for This PostCurrent Article

Know Your Phone Better Programmatically

Well, this is just some tips for you to understand your phone better by issuing AT commands to retrieve information from your mobile phone and SIM.

First you need to set up your phone as modem. Take note of the port number as you need to connect to it using HyperTerminal later.

phone_modem.png

Next, use HyperTerminal to connect to the port, as shown below.

setup_hyperterminal.png

Now we can start to issue AT commands to your phone.

hypterminal_screen.png

Some of the common AT commands

AT+CGMM – Request Phone Model

AT+CGMM
Nokia 6233

OK

ATI2 – Revision Information

ATI2
V 05.10
21-12-06
RM-145
(c) Nokia

OK

AT+CGSN – Request IMEI

AT+CGSN
356283012529758

OK

AT+CIMI – Request IMSI

AT+CIMI
502193900249403

OK

AT+CMFG – Check if text or PDU SMS message are supported

AT+CMGF=?
+CMGF: (0,1)

OK

0 = PDU mode supported
1 = Text mode supported

AT+CBC – Check Battery Level

AT+CBC
+CBC: 0,7

OK

AT+COPS – Request Network Location

AT+COPS?
+COPS: 0,2,"50219"

OK

AT+CSQ – Check Signal Quality

AT+CSQ
+CSQ: 16,99

OK
AT+CSQ=?
+CSQ: (0-31,99),(99)

OK

AT+CSCA – Request Service Centre Address

AT+CSCA?
+CSCA: "+60193900000",145

OK

AT+CMGL – List SMS Messages

Not supported in my phone :(

ATD – Make a Phone Call

ATD0123333
NO CARRIER

Many more.. to be continued.. 🙂

Note: All these are very basic things that you may already know. You can easily find all these information over the Internet.


Trackback URL


RSS Feed for This Post1 Comment(s)

  1. George | Oct 31, 2007 | Reply

    Thanks for your long list of suggestions!

Sorry, comments for this entry are closed at this time.