11.07.2015 Views

UNIVERSITI TEKNOLOGI MALAYSIA - FKE - UTM

UNIVERSITI TEKNOLOGI MALAYSIA - FKE - UTM

UNIVERSITI TEKNOLOGI MALAYSIA - FKE - UTM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

223.3 AT commandThis project will also be implementing the AT command in controlling theGSM modem. AT commands are instructions used to control a modem. AT is theabbreviation of ATtention. Every command line starts with "AT" or "at". Many ofthe commands that are used to control wired dial-up modems, such as ATD (Dial),ATA (Answer), ATH (Hook control) and ATO (Return to online data state), arealso supported by GSM/GPRS modems and mobile phones. Besides this commonAT command set, GSM/GPRS modems and mobile phones support an ATcommand set that is specific to the GSM technology. This is where our project willbe emphasizing.The commands are always start with AT and finish with a character.Most of the commands that will be used are involve in SMS command. Here aresome of the tasks that are commonly used in my project:• Get basic information about the mobile phone or GSM/GPRS modem. Forexample, name of manufacturer (AT+CGMI), model number(AT+CGMM), IMEI number (International Mobile Equipment Identity)(AT+CGSN) and software version (AT+CGMR).• Selecting message format either in text mode or PDU mode. For example,PDU mode (AT+CMGF=0), text mode (AT+CMGF=1).• Sending (AT+CMGS, AT+CMSS), read (AT+CMGR, AT+CMGL), write(AT+CMGW), delete (AT+CMGD) a message or obtain notification ofnewly received SMS message (AT+CNMI, AT+CNMA).• Received command showing new messages (AT+CMT, AT+CMTI).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!