I used the GSM library that comes together with arduino 1. Specifically the sendSMS part.

I managed sucesfully to send SMS.

Now the thing is, inside this library the SMS to send is stored in a char variable:

char txtMsg[200];

My question is, are you able to send the SMS, but store the message not in a char variable, but as a String?

I would test it myself but now i only have one SIM card, and for some reason my network is blocking it (that is another thread to be started btw)


OK, i found access to SIM card and tested this myself. I can confirm it's working!

So, if anyone wants to use the standard GSM library for SMS, you can use both chars and strings.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.