Due to high demand expect some shipping delays at this time, orders may not ship for 1-2 business days.
0

SMSSend Always Returns an Error
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

SMSSend Always Returns an Error

by silverstar on Wed Oct 27, 2021 7:53 pm

My project: Mega with a FONA808 (#2542)

I used the FONATest sketch in the examples as a guide. The SMS Send function returns a false if an error occurred. I did likewise. Every SMS send I do generates an error, that is the function returns a false. Most of the time the SMS goes out anyway. In one case I send out two SMS messages because the response is greater than the maximum length of a text.
In that case the second text follows the first almost immediately. In this situation I get an error on the first part but it goes out but the second part never goes out. I find that if I put a 4 second delay before every SMS send, all the parts go out even though there were errors on all parts.

This is a workaround that I must do to make the project work but it is not an acceptable answer to me.

I have asked for help several times and I am out of ideas. I need some help here:

What causes a SMS Send error ? How do I handle it?

I really need some help and would greatly appreciate your assistance.

silverstar
 
Posts: 348
Joined: Tue Feb 04, 2014 10:46 pm

Please be positive and constructive with your questions and comments.