Closed Pritha01 closed 8 years ago
I'm using some small delays(100) in my code, and ending with an empty println(). I believe I was having some problems like yours.
My code is like:
serialSIM800.print(F("AT+CMGS=\""));
serialSIM800.print(number);
serialSIM800.println('"');
delay(100);
serialSIM800.println( YOUR TEXT );
...
delay(100);
serialSIM800.println((char)26);
delay(100);
serialSIM800.println();
Try it out
Thanks alot!!!!!!!! It worked!! :)
Hello everyone!
I am using Ublox Neo 6M for location, Arduino Uno and sim800 GSM module for sending SMS. I have created following function:
` bool sendLocation(char* number, String latitude, String longtitude) {
}`
My program doesn't show any error, but It doesn't send the SMS. Even though it enters the function and prints "Sending SMS" but no SMS is received on specified mobile number. Can anybody help me please?