Skip to content

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

Open
@pragmatiker

Description

@pragmatiker

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions