botletics / SIM7000-LTE-Shield

Botletics SIM7000 LTE CAT-M1/NB-IoT Shield for Arduino
https://www.botletics.com/products/sim7000-shield
GNU General Public License v3.0
478 stars 216 forks source link

class Adafruit_FONA_LTE' has no member named 'enableNetworkTimeSync #61

Closed keirthsiva closed 5 years ago

keirthsiva commented 5 years ago

I a following the LTE_Demo example. I run across this error which says : class Adafruit_FONA_LTE' has no member named 'enableNetworkTimeSync . I comment this section out and run again and the code is able to compile. However, when I go to send a SMS using the 's' command, it allows me to input a phone number and message but replies with, --->AT+CMGF=1 n/ <--- n/ Failed. Please advise me on how to fix this issue. Thank you.

botletics commented 5 years ago

I fixed the LTE_Demo sketch issue yesterday, please check the code again.

keirthsiva commented 5 years ago

Great thank you, not getting any errors for the enableNetworkTimeSync. However still not able to send text. I am using a hologram sim. When i type in the 'C' prompt, it does not return the SIM CCID. Do you know what could be causing this issue of not being able to send text?

botletics commented 5 years ago

If you can't even read the CCID then that probably means the SIM card could be bad. That happens, and I've seen heard it reported from users as well. Maybe try swapping it out?

keirthsiva commented 5 years ago

Would switching it out with a T-Mobile sim from my own phone (which i know the sim works on) work for this project?

botletics commented 5 years ago

Not if you're in the US. The shield requires LTE CAT-M or NB-IoT to work and T-Mobile doesn't have nation-wide NB-IoT yet as far as I know.

keirthsiva commented 5 years ago

Okay, I will get another Hologram sim and try it out. Thank you for the prompt replies. I appreciate it.

keirthsiva commented 5 years ago

Quick follow up...if the hologram sim is bad, then it should say so in the hologram.io website/dashboard. However, when I log in, it says that the SIM "was active 'x' minutes ago". Do you still think it is a SIM problem?

botletics commented 5 years ago

Have you perhaps used up your SMS quota for the SIM card? You say you can't read the CCID of the SIM card. That's either a SIM card issue or hardware issue. What hardware are you using?

keirthsiva commented 5 years ago

Hello, I have tried the project with a new hologram sim. I am using the SIM7000A shiled with Arduino UNO. I found that I am able to read the CCID after compiling for the first time but have to reset the Arduino everytime after in order to get the CCID. I have attached a screenshot below of what I am seeing. Please let me know if I am doing something wrong, or if it is a hardware issue and I need to buy a new SIM7000. Thanks.

sim7000error1
botletics commented 5 years ago

Please make sure you are connected to the network first. Try the "n" and "1" commands to check registration info.