EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Replies / Refering to the command 4.2.5

Refering to the command 4.2.5

|

Microcontroller › 8051 › Help about GSM interfacing with 8051 › Refering to the command 4.2.5

June 25, 2016 at 5:16 pm #13992
Anonymous
Guest

Refering to the command 4.2.5:AT+CMGS from SIM900 AT command set I hope:

In the else loop,after transmitting the mobile number it is sufficient to send 0X0D.Not necessary to send 0X0A.

And also try without using  ’’ before and after the number.

I have used the following code pattern for entering the mobile number:

AT+CMGS=”1234567890”

After sending this line just send  ‘r’  i.e..,0X0D.But 0X0A is not necessary.

A delay of 300ms worked for me to transmit the text after transmitting number.

And also try without using  ’’ before and after the number.

The below code pattern worked for may work for you:   

char mobno[]="AT+CMGS="8308941641"";

tx_data(0x0D);

delay(50000);     //uncomment this delay to about 300ms. it is necessary while interfacing with  uC

tx_string(message,43);

tx_data(0x1A);

The rest of the code is same.

RSS Recent Posts

  • An Update On Tarrifs May 16, 2025
  • Trying to use a L9110s motor driver chip May 16, 2025
  • I want to make a CRT with some modifications But i have no Idea where to start May 16, 2025
  • Funny Images Thread! May 16, 2025
  • Need Help Figuring Out the Schematics Of Circuit Board May 16, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise