GSM Modem
GSM Modem
Introduction
AT commands can be written in both samll letters and capital letters. The replay from the modem will be always in capital letters. The following describes the essential AT commands for a GSM modem. The SIM305 modem uses a baud rate of 115200 as default. Autobauding is available for the following Baud rates OF 4800, 9600, 19200, 38400, 57600 and 115200. It also support baud rates of 300,1200,2400,14400, 28800. But this can be only used after issueing proper command. Auto bauding enable the modem to be connecte at the specified baudrates with out configuring it. The modem will autodetect the baudrate. For the detailed description of each AT commands refer AT Command Set : SIM305_ATC_v1.03
Command Reference
1. Check the modem Command Replay Remark Command Replay Remarks
3. Set Baud Rate
:AT :OK :Modem is properly connected :ATE0 / ATE1 (OFF / ON) :OK :To store the setting permanently use ATE0;&W /ATE1;&W :AT+IPR=value (Available Options : AT+IPR=?) :OK :AT+IPR=300
2. ECHO ON/OFF
Current State :AT+IPR? 4. Dial a Number Command Replay Example :ATD<Number>; :ERROR for any charecter :AT1234567890;
5. Redial last number Command Replay Example Command Replay Remarks 7. Send SMS Command Replay Remarks 8. Read SMS Command Replay Remarks at+cnmi=1,2,2,1,0 How to send and receive SMS using GSM Modem 1. Make message format to text by using command AT+CMGF 2. Use commad AT+CMGS to send SMS :AT+CMGR=<location> :Message with full header (check using GSM modem) :Location value will be shown in the alert of new received SMS. Write a logic for analysing the events ofg GSM modem :AT+CMGS=<number><Crriagereturn>(new line)(>)<matter> <ctrl+z> : : :ATDL :<number>; and a linefeed. ERROR for further charecter. :ATDL :AT+CMGF=1 :OK :0 for PDU mode and 1 for Text mode. 0 will be default state.