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
477 stars 215 forks source link

Modem connected via USB is sometimes not responding… #298

Open ctschach opened 2 years ago

ctschach commented 2 years ago

Hi, I have a Waveshare SIM7000G module connected via USB to a Raspberry Pi.

I frequently send AT commands for HTTP Posts to the modem on /dev/ttyUSB2.

That works fine for a while until the modem stopped to respond to AT commands.

Now I noticed, that I can connect to /dev/ttyUSB3 and send a single AT. Once I did this, the modem also responds to AT commands on /dev/ttyUSB2 again.

Doesn‘t make a lot of sense to me. Any ideas?

thanks…

Mark-Wills commented 2 years ago

Sounds a like firmware issue on the modem. In such a case, it is a good idea to reset the modem (either by its reset pin, or by removing power and re-applying power under software control from the raspberry pi).

On Thu, May 26, 2022 at 9:29 PM Carsten Tschach @.***> wrote:

Hi, I have a Waveshare SIM7000G module connected via USB to a Raspberry Pi.

I frequently send AT commands for HTTP Posts to the modem on /dev/ttyUSB2.

That works fine for a while until the modem stopped to respond to AT commands.

Now I noticed, that I can connect to /dev/ttyUSB3 and send a single AT. Once I did this, the modem also responds to AT commands on /dev/ttyUSB2 again.

Doesn‘t make a lot of sense to me. Any ideas?

thanks…

— Reply to this email directly, view it on GitHub https://github.com/botletics/SIM7000-LTE-Shield/issues/298, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFAGDCW7HB25W6OO5LMSXA3VL7NKJANCNFSM5XCIO27A . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ctschach commented 2 years ago

Sounds a like firmware issue on the modem. In such a case, it is a good idea to reset the modem (either by its reset pin, or by removing power and re-applying power under software control from the raspberry pi).

I do not have the reset pin connected as I only use The USB connection. What do you mean with „re-applying power“ on the Raspberry Pi? How do I control the power of a plugged USB device? Was not aware that this isnpossible.

BTW, I tried to use „AT+CFUN=6“ in /dev/ttyUSB3 and that do reset the modem. However, the problem of not responding reoccurs much faster.