You are on page 1of 6

GSM

H SU PA

Application Notebasic Voice and SMS Connection with SIM900 rev03


S SM
GPRS

HSDPA

E DG E

E IC VO
DISCLAIMER
This application note and any associated software is provided in an as-is condition. No warranties, whether expressed, implied or statutory, including, but not limited to implied warranties of merchantability and fitness for a particular purpose apply to this application note or associated software. Otto Wireless Solutions, SIMCom and Otto Marketing shall not in any circumstances, be liable for special, incidental or consequential damages for any reason whatsoever. This application note, and any associated software, or parts thereof, may not be reproduced or distributed without the explicit permission of Otto Wireless Solutions.

Tel: (011) 791 1033 / email: wireless@otto.co.za / url: www.otto.co.za

3G APPLICATION NOTE DETAILS


GSM DEVICE FIRMWARE ADDITIONAL NOTE COMPILED BY EMAIL MOBILE SIM900 R11.00 AT COMMANDS MUST BE UPPER CASE MARK COXEN MARK@OTTO.CO.ZA +27 82 888 6275

GSM

H SU PA

Application Notebasic Voice and SMS Connection with SIM900 rev03


S SM
GPRS

HSDPA

E DG E

E IC VO

APPLICATION NOTE DETAILS


GSM DEVICE FIRMWARE ADDITIONAL NOTE COMPILED BY EMAIL MOBILE NETWORK VODACOM MTN SIM900 R11.00 AT COMMANDS MUST BE UPPER CASE MARK COXEN MARK@OTTO.CO.ZA +27 82 888 6275 NUMBER "+27829119" or "+27829129" +27831000113" "+27841000000" "+27741000050" FUNCTION Must return :ok, use to check comms Identifies Firmware revision Switches off the echo1 enables the echo Identifies FULL Firmware revision Identifies manufacturer Identifies module type i.e. SIM_900 Identifies module IMEI number Checks The SMS service centre Number Gives you the SIM telephone number (If an Error occurs, number is not set on SIM card) Acknowledges that the SIM and Modem are connected to the network Signal Strength - 0=-113dBm; 1= -111dBm;2->30 -109 TO -53dBm; 31= -51dBm< ; 99= No Reception Services offered on Modem -> GSM; FCLASS (Fax); +DS (data Services) Changes error warnings from number codes to text Stores all user settings Check the settings of the module Reset to manufacturer defaults

DISCLAIMER
This application note and any associated software is provided in an as-is condition. No warranties, whether expressed, implied or statutory, including, but not limited to implied warranties of merchantability and fitness for a particular purpose apply to this application note or associated software. Otto Wireless Solutions, SIMCom and Otto Marketing shall not in any circumstances, be liable for special, incidental or consequential damages for any reason whatsoever. This application note, and AT+CREG? AT+CSQ AT+GCAP AT+CMEE=2 any associated software, or AT&W parts thereof, may not be AT&V reproduced or distributed AT&F without the explicit permission of Otto Wireless Solutions. AT COMMAND AT ATI ATE0 AT+GMR AT+GMI AT+GMM AT+GSN AT+CSCA? AT+CNUM?

Tel: (011) 791 1033 / email: wireless@otto.co.za / url: www.otto.co.za Page 1/5

3G
AT+CPBS="ON" AT+CNUM AT+CPBS="SM"

NETWORK SMS CENTRE NUMBERS

CELL C VIRGIN MOBILE

GENERAL ENQUIRIES

SET THE MOBILE NUMBER


AT COMMAND FUNCTION Set the value for writing the mobile number to the SIM Card Write the number to slot 1 on the sim card, ********* is the phone number, 145 is International dialing If set, the number will be shown Set back to SIM card storage

AT+CPBW=1,+27*********,145, NAME

GSM

H SU PA

Application Notebasic Voice and SMS Connection with SIM900 rev03


S SM
GPRS

HSDPA

E DG E

E IC VO

APPLICATION NOTE DETAILS


GSM DEVICE FIRMWARE ADDITIONAL NOTE COMPILED BY EMAIL MOBILE AT COMMAND SIM900 R11.00 AT COMMANDS MUST BE UPPER CASE MARK COXEN MARK@OTTO.CO.ZA +27 82 888 6275

DISCLAIMER
This application note and any associated software is provided in an as-is condition. No warranties,

whether expressed, implied AT+CPIN=XXXX,XXXX or statutory, including, but not limited to implied warranties of merchantability and fitness for a particular purpose apply to this application note or associated software. Otto Wireless Solutions, SIMCom and Otto Marketing shall not in any circumstances, be liable for special, incidental or consequential damages for any reason whatsoever. This application note, and parts thereof, may not be reproduced or distributed without the explicit permission of Otto Wireless Solutions. SENDING A MESSAGE AT+CMGS = " +27.."(Enter) >your message < ctrl-z> AT COMMAND AT+CMGF=1 AT+CSCS="GSM" AT+CNMI=2,1,0,0 AT+CPBS="ON"

any associated software, or AT+CSAS=0

Tel: (011) 791 1033 / email: wireless@otto.co.za / url: www.otto.co.za Page 2/5

3G
AT+CPIN? AT+CPIN="xxxx" AT+CSCS?

PIN MANAGEM ENT


FUNCTION If "+CPIN: READY" is returned, no need to enter pin number, if SIM PUK is returned, see below Unlock/Unlock the pin number on the simcard SC is for sim pin 0000 is old pin and 1234 is new pin Removes the SIM pasword request on power up Activates the SIM pasword at power up SIM PUKenter the PUK number and the new PIN number

AT+CPWD="SC",0000,1234 AT+CLCK="SC",1,XXXX AT+CLCK="SC",0,XXXX

SET UP THE MODULE FOR SMS


FUNCTION sets text mode (0 sets Packet Data Mode) sets GSM-character text mode new message indications - Default is set sets the phone book memory storage

AT+CPBW=1,+27*********,145,M set the sim card phone number into memory location 1 on SIModule No Card Check that the operator SMS centre number is set check that operator service centre number is set sets the parameter for SMS delivery reports and saves this setting second parameter to set the SMS delivery deport and saves the setting save SMS settingsTO PROFILE "0" OR "1" AT+CSCA="+27.....",145 AT+CSMP=49,255,0,241&W AT+CNMI=2,1,0,1,0&W

SMS COMM ANDS


EXPLANATION Destination number to which you send the message

GSM

H SU PA

Application Notebasic Voice and SMS Connection with SIM900 rev03


S SM
GPRS

HSDPA

E DG E

E IC VO

APPLICATION NOTE DETAILS


GSM DEVICE FIRMWARE ADDITIONAL NOTE COMPILED BY EMAIL MOBILE SIM900 R11.00 AT COMMANDS MUST BE UPPER CASE MARK COXEN MARK@OTTO.CO.ZA +27 82 888 6275

DISCLAIMER
This application note and any associated software is provided in an as-is condition. No warranties, whether expressed, implied or statutory, including, but not limited to implied warranties of merchantability and fitness for a particular purpose apply to this application note or associated software. Otto Wireless Solutions, SIMCom and Otto Marketing shall not in any circumstances, be liable for special, incidental or consequential damages for any reason whatsoever. This application note, and any associated software, or parts thereof, may not be reproduced or distributed without the explicit permission of Otto Wireless Solutions.

Tel: (011) 791 1033 / email: wireless@otto.co.za / url: www.otto.co.za Page 3/5

3G
AT+CMGW +CMGW: 1 6, 22, Cell number 145, First Time Stamp, Second Time Stamp, 0

SMS COMM ANDS CONTINUED


SAVE A MESSAGE TO MEMORY EXPLANATION Saves message to SIM memory Type the info of the message to be stored The location of the stored message is returned EXPLANATION Location of stored message to send, destination number must be set EXPLANATION Deletes all read messages stored on the SIM card Deletes all unread messages stored on the SIM card Deletes all sent messages stored on the SIM card Deletes all unsent messages stored on the SIM card Deletes all received messages stored on the SIM card Deletes all messages stored on the SIM card

>your message < ctrl-z>

SENDING AND SMS FROM MEMORY AT+CMSS=1,+27,145 DELETE MESSAGES AT+CMGDA="DEL READ" AT+CMGDA="DEL UNREAD" AT+CMGDA="DEL SENT" AT+CMGDA="DEL UNSENT" AT+CMGDA="DEL INBOX" AT+CMGDA="DEL ALL"

SMS DELIVERY REPORT


Delivery report format: +CDS 6,22,=2782,145,09/12/24,09:09:18+08,09/12/24,0909:20+08,0 NOTES EXPLANATION Delivery report is from SMS service central Message number that was sent Cell number the message was delivered to International format Time of sending Time of Delivery TP status in integer format

GSM

H SU PA

Application Notebasic Voice and SMS Connection with SIM900 rev03


S SM
GPRS

HSDPA

E DG E

E IC VO

APPLICATION NOTE DETAILS


GSM DEVICE FIRMWARE ADDITIONAL NOTE COMPILED BY EMAIL MOBILE SIM900 R11.00 AT COMMANDS MUST BE UPPER CASE MARK COXEN MARK@OTTO.CO.ZA +27 82 888 6275

DISCLAIMER
This application note and any associated software is provided in an as-is condition. No warranties, whether expressed, implied or statutory, including, but not limited to implied warranties of merchantability and fitness for a particular purpose apply to this application note or associated software. Otto Wireless Solutions, SIMCom and Otto Marketing shall not in any circumstances, be liable for special, incidental or consequential damages for any reason whatsoever. This application note, and any associated software, or parts thereof, may not be reproduced or distributed without the explicit permission of Otto Wireless Solutions.

Tel: (011) 791 1033 / email: wireless@otto.co.za / url: www.otto.co.za Page 4/5

3G
AT+CPBS=SM AT+CPBR=1,5 AT+CUSD=1,100,15 AT+CUSD=1,141,15 AT+CUSD=1,101,15 AT+CUSD=1,101,15 AT+CUSD=0 AT+CUSD=0 AT+CUSD=0

PHONE BOOK
NUMBER STORAGE LOCATION EXPLANATION Specifies that the SIM card is to be used for the phone book Set location (2), number, international dialing (145) and the name (NOTE: location 1 is the SIM card number) Read from location 1 to location 5

WRITING TO PHONE BOOK AT+CPBW=2,+27,145,NAME HERE READ FROM THE PHONE BOOK

CHECKING AIRTIME BALANCE


AT COMMAND AT+CUSD=1,XXX,15 Vodacom number MTN number CELL-C number Virgin Mobile number Switch off USD when done FUNCTION Format: 1 = on, xxx = number to dial, 15 = Data Coding

SEND A PLEASE CALL ME


AT COMMAND AT+CUSD=1,*140*+27XXXXXXXXX#,15 AT+CUSD=1,*141*+27XXXXXXXXX#,15 AT+CUSD=1,*111*+27XXXXXXXXX#,15 AT+CUSD=1,*125*+27XXXXXXXXX#,15 Vodacom number MTN number CELL-C number Virgin Mobile number Switch off USD when done FUNCTION

SEND A PLEASE RECHARGE ME


AT COMMAND AT+CUSD=1,*140*02*+27XXXXXXXXX#,15 Vodacom number Switch off USD when done FUNCTION

GSM

H SU PA

Application Notebasic Voice and SMS Connection with SIM900 rev03


S SM
GPRS

HSDPA

E DG E

E IC VO

APPLICATION NOTE DETAILS


GSM DEVICE FIRMWARE ADDITIONAL NOTE COMPILED BY EMAIL MOBILE AT COMMAND SIM900 R11.00 AT COMMANDS MUST BE UPPER CASE MARK COXEN MARK@OTTO.CO.ZA +27 82 888 6275

DISCLAIMER
This application note and any associated software is provided in an as-is condition. No warranties, whether expressed, implied or statutory, including, but not limited to implied warranties of merchantability and fitness for a particular purpose apply to this application note or associated software. Otto Wireless Solutions, SIMCom and Otto Marketing shall not in any circumstances, be liable for special, incidental or consequential damages for any reason whatsoever. This application note, and any associated software, or parts thereof, may not be reproduced or distributed without the explicit permission of Otto Wireless Solutions.

Tel: (011) 791 1033 / email: wireless@otto.co.za / url: www.otto.co.za Page 5/5

3G
AT+CUSD=0 AT+CHFA? AT+CHFA: 0 AT+CHFA=0 ATL3 AT+CMUT=1 ATD+2783xxxx; ATD>SM1 ATDL ATA ATH AT+CCLK? AT+CMTE=0

LOAD AIRTIME
FUNCTION Vodacom number MTN number CELL-C number Virgin Mobile number Switch off USD when done AT+CUSD=1,*100*01*XXXXXXXXX#,15 AT+CUSD=1,*141*XXXXXXXXX#,15 AT+CUSD=1,*102*XXXXXXXXX#,15 AT+CUSD=1,*102*XXXXXXXXX#,15

MAKING A VOICE CALL


SET THE AUDIO PARAMETERS FUNCTION Check audio channel setting 0 is handset and 1 is auxiliary audio Command used to select handset use Sets the audio volume 1-9 0 is mute and 1 is active (NOTE: only works when a call is active Dial numbertake note of semi-colon Dial from a phone book location Redial last number Answer and incoming call End current call

CALL MANAGEMENT

SET UP THE TIME


AT COMMAND AT+CCLK= YY/MM/DD,HH:MM:SS+02 FUNCTION Checks the current time Time format, with the +02 at the end being the time zone

CHECK TEMPERATURE STATUS


AT COMMAND FUNCTION 0 is off and 1 is on - format is as follows: ENABLE / DISABLE power off,temperature