Beruflich Dokumente
Kultur Dokumente
By William Sengdara
Prerequisites
YoumusthaveamobilemodeminstalledonthecomputeroraCellularphonethatallowsitbe connectedtoaPC.Installtheappropriatedevicesbeforeproceeding.Mostmobilemodemsaresold inordertoallowonetoaccesstheinternet.Suchdevicesareeasytouseinthistest,unlikecellular phones. ExamplesofmobilemodemsthatareeasiesttouseareHuaweiE220etc Alwaysexitwhateverapplicationiscurrentlyusingthemobilemodemorcellularphonebefore proceeding.Thismayincludenetworkconnection,onboardnetworkmanagementsoftware.
Notes
PleasenotethatthisdocumentwaswrittenundertheMicrosoftWindowsXPenvironment.
1. OpentheHyperterminalprogrambylocatingitontheStartMenuasshownabove
2. Theprogramwillstartandpromptyoutospecifyaconnection.
6. ClickDeviceManager
7. LocatethedeviceyouwillbeusingundertheModemscategory
10. WeselecttheCOMportapplicabletoourdevice.Wedontneedtofillinanythingfurther.
11. TheCOMpropertiesdialogwillopen,justclickOKtoapplythedefaults.
I2.Ifsuccessfullyconnectedtothedevice,thedialogwindowwillbereadyforustoenterAT commands.
13. ThefirstcommandtoenterisATEfollowedbyENTER. 14. YouwillnormallyreceiveanOKtoindicatethatthecommandhassucceeded. 15. Thenextcommandwillindicatetothedevicethatwewillbeusingtextcommands(Text Mode),asopposedtonumericcommands(PDUMode).Enterthiscommand: AT+CMGF=1followedbyENTER. 16. YouwillnormallyreceiveanOKtoindicatethatthecommandhassucceeded. WecancomposeanSMSbyusingthetheAT+CMGScommand.Addthenumbertosendthe messageto,insidethedoublequotes,e.g.: AT+CMGS==2648121087882followedbyENTER. ThiscommanddoesnotgiveOKback,instead,itgivesa>signtoindicatethatyoumustnowenter sometext.Enteramessagewhichisnotgreaterthan160charactersinlength,followedbyCTRLZ.
TheresponsewillbethemessageIDandOKasshownbelow.
FurtherReading
PleasenotethatallalotmoreneedstobeunderstoodinorderforonetoreliablyworkwithSMS. SomeofthethingstobenotedisSIMPINsecurity,NetworkinformationandregistrationoftheSIM card,thelocationtoread/writemessagestoandfromandmoreimportantlytheATCommandset. Youcanfindmoreinformationinmanualsontheinternetandevenbylookingatthesourcecodeof OpenSourcesoftwarepackageslikeKannelandMbuni.