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

Waiting for CMGS when sending the message #20

Merged
merged 1 commit into from
Oct 20, 2020

Conversation

sekyHC
Copy link
Contributor

@sekyHC sekyHC commented Oct 14, 2020

I was getting false positives when sending the message right on the reboot without an active signal.

Return string from the module was: +CSN:1 OK, which was interpreted as a success.

How to reproduce:

  1. power on arduino after it was without power for long time (long enough to loose connection)
  2. try to send a message in the start of the loop or in setup
  3. sendSms will return false, but it should actually be true (it was not an error, but it was definitely not a success)

@vittorioexp vittorioexp merged commit b3f5cf9 into vittorioexp:master Oct 20, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants