|
Post by rrrrpa on Feb 16, 2024 23:58:20 GMT
After weeks of use my SIM7000A stopped sending SMSs. I dropped back to the tried and proven "SMS_Response" example found on GitHub and it does the same: the SIM7000A receives SMSs sent to it, and replies that it successfully sent the response, but nothing is sent. I have reviewed my carrier's records and see the incoming messages received by the SIM7000 but there is nothing outgoing. I have searched and posted on the forum but the forum appears to be useless and dead as no one seems to be using it.
I have invested weeks of time into my project and I am desperate to know what is wrong.
|
|
|
Post by Botletics on Feb 17, 2024 15:48:47 GMT
Does sending texts work using the LTE_Demo sketch?
|
|
|
Post by rrrrpa on Feb 17, 2024 22:22:08 GMT
Thank you for responding. Last night I powered down the Arduino and SIM7000, and disconnected the LiPo battery. As per your question, I powered up and downloaded the LTE_Demo sketch. AND it works for incoming and outgoing SMSs, although the send reports back that it failed when it was successful (see my other thread about this issue). I then downloaded the SMS_Response sketch and it also works for incoming and outgoing SMSs. I then downloaded my weather station sketch and it also works for incoming and outgoing SMSs.
What does the LTE_Demo sketch do that the SMS_response sketch does not do? LTE_Demo appears to have initialized differently? Or did a good night of hardware sleep do something? Not likely.
|
|
|
Post by Botletics on Feb 18, 2024 1:56:51 GMT
As long as you have the same setup() settings, it should work just fine. Just make sure that you select the right network settings for it to auto-connect, because you're using T-Mobile instead of AT&T.
|
|
|
Post by rrrrpa on Feb 18, 2024 23:09:15 GMT
Here's what I have:
18:17:01.205 -> 1
18:17:01.205 -> ---> AT+CPSI?
18:17:01.328 -> <--- +CPSI: LTE CAT-M1,Online,310-260,0x411F,21294086,47,EUTRAN-BAND12,5035,2,2,-9,-94,-72,14
18:17:01.426 -> ---> AT+COPS?
18:17:01.426 -> <--- +COPS: 0,0,"T-Mobile",7
// Use this for 2G modules
#ifdef SIMCOM_2G
Botletics_modem modem = Botletics_modem(RST);
// Use this one for 3G modules
#elif defined(SIMCOM_3G)
Botletics_modem_3G modem = Botletics_modem_3G(RST);
// Use this one for LTE CAT-M/NB-IoT modules (like SIM7000)
// Notice how we don't include the reset pin because it's reserved for emergencies on the LTE module!
#elif defined(SIMCOM_7000) || defined(SIMCOM_7070) || defined(SIMCOM_7500) || defined(SIMCOM_7600)
Botletics_modem_LTE modem = Botletics_modem_LTE();
#endif
////https://www.google.com/search?q=what+is+apn+settings+for+t-mobile&sca_esv=566829342&sxsrf=AM9HkKk7Z77M9r3UmnbNUdcf-qtEMQHKRg%3A1695183768605&ei=mHMKZd7JJP3IkPIP3fWZiAI&ved=0ahUKEwje9ezSq7iBAxV9JEQIHd16BiEQ4dUDCBA&uact=5&oq=what+is+apn+settings+for+t-mobile&gs_lp=Egxnd3Mtd2l6LXNlcnAiIXdoYXQgaXMgYXBuIHNldHRpbmdzIGZvciB0LW1vYmlsZTIGEAAYFhgeMggQABiKBRiGAzIIEAAYigUYhgMyCBAAGIoFGIYDSNgZUKEGWJ8WcAF4AZABAJgBigKgAbYJqgEFMC42LjK4AQPIAQD4AQHCAgoQABhHGNYEGLAD4gMEGAAgQYgGAZAGCA&sclient=gws-wiz-serp
////Under Name, enter T-Mobile. Under APN, enter fast.t-mobile.com Under Proxy, do not enter anything. Under Port, do not enter anything. Under Username, do not enter anything.
modem.setNetworkSettings(F("fast.t-mobile.com")); // For T-Mobile SIM card per above url
|
|
|
Post by Botletics on Feb 20, 2024 20:14:23 GMT
Yea looks like you're connecting just fine. I haven't worked with the T-Mobile network.
|
|