Skip to content

[ACELL05] SMS messages not sent and/or include the AT Command #21

Open
@aliphys

Description

@aliphys

As part of the library test for the Arduino_Cellular library, I (in Sweden 🇸🇪 ) have not been able to consistently send SMS messages, even when both the cellular HTTP(S) connectivity is achieved and the SIM card (Telenor and Lyca Mobile) is able to send messages from my phone.

Replication of this issue has been challenging, since @t-wojo in the US 🇺🇸 and @martab1994 in Italy 🇮🇹 have not had the same issues. @WolfRorDev however has had issues, showing that this is not a one-off problem.

Using this sketch, I was able to consistently (ish) display the following:

  • Dropped SMS messages
  • AT command AT+CMGS="+467xxxxxxxx" included in the SMS message
Screenshot from phone, displaying the text messages recieved

Untitled

Diagnosis

Given that the modem interpreted the AT command as part of the text message, it is possible that the AT command for setting the board into text mode is not registered prior to sending the text by sendSMS(). Merging #15 may fix this, by doing the following before calling the AT+CMGS command:

  • Forcing the modem to go into text mode modem.sendAT("+CMGF=1");
  • Waiting for a response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions