Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pragmatiker opened this issue Nov 30, 2021 · 1 comment
Open

Comments

@pragmatiker
Copy link

pragmatiker commented Nov 30, 2021

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?

@vittorioexp
Copy link
Owner

Try to add some debug prints in the SendSMS function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants