Sim800L-Arduino-Library-revised icon indicating copy to clipboard operation
Sim800L-Arduino-Library-revised copied to clipboard

Getting bits of the AT commands from sendSMS() in the message text.

Open pragmatiker opened this issue 2 years ago • 1 comments

I used the included example today:

GSM.begin(9600);     
text="Testing Sms";     //text for the message. 
number="+49171326*******";    //change to a valid number.
error=GSM.sendSms(number,text);

Instead of just:

Tesing Sms

I intermittendly get something like this in the SMS I receive:

Testing Sms
AT+CMGF=1
AT#CMGs="+49171326*******"
Testing Sms

Sometimes the Sms gets sent twice. I removed country code +49 from the number, thought the + character would do some concatenation, but it didnt do any good. What could cause this?

pragmatiker avatar Nov 30 '21 11:11 pragmatiker

Try to add some debug prints in the SendSMS function

vittorioexp avatar Oct 12 '22 14:10 vittorioexp