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
SIM7080G not registering, except after accidentally treating as SIM7000G? #592
Comments
I also went back to my first module (which is now working) and tried the ATZ and AT&F0 reset commands ... and rebooted with AT+CFUN=1,1 ... but can no longer get it back to the original failure mode. My second module - where I have never run code using the #define for the 7000G - continues to not work. I'm really struggling to figure out exactly which command was sent by the library that "enabled" the 7080G to work. |
Were you able to resolve this? |
I am currently using 7080G without issues in TinyGSM. However in the beginning I had trouble getting it to work. Like you I tested alot of things and suddenly it worked but I now have a code that works all the time for me. `SerialAT.begin(57600); this->RestartModem();` `void GSMConnection::RestartModem()
}` |
I had the same issue, but I'm working direct from the Com terminal. After executing AT+CBANDCFG? I found that NB-IOT was set only to band 8. I changed AT+CBANDCFG="NB-IOT",1,2,3,4..... (to all possible bands) and now It works. |
@dlyckelid Hi, can you post log of AT commands? |
Did you ever figure this out? I suspect I've run into this same issue - At one point I got all working & connecting, pushed my code to the server and did something else. After a power cycle of the modem it no longer connects. As you can see from the log below it can see my network (telstra) and has good signal, but it sits in searching forever.
|
I have never been able to test the suggestion from above. @sharask indicated that the band selection was set by default to a very narrow set (or one?) band. I really need to try this, but have just not had the time. Seeing this reminded me that maybe next week I need to dust off my Pico and SIM7080G and give it another go. I meant to get the TinyGSM docs and see if there was a library call to make for setting the active bands in the modem, or if this was simply going to be a AT Command that has to be issued. |
Have you found something ? I am facing the same issue. My 7080g is not always registering, sometime a reset the power and it work and sometimes it loop forever looking for registration. |
Hello everybody, I have the same problem as you, my SIM7080G was working before, and now I get the CME message 'no network service', while the SIM card is good, the AT+CSQ level is good. If I try to force manually the connection to the network AT+COPS=1,2,"20801" command, I get an error. message.. AT+CPSI returns 'No Service, On line' ... This is just crazy behavior ! I also tried to modify the IMEI manually (in the case my modem is black-listed by the operator),but still no connection. |
Hi! I am not sure of exactly what issue you are having but I am using 7080G in my devices and currently have more than 250 out in the world working. This is taken directly from my code so it includes some code ofcourse that will have to be removed and changed if you would like to use it. Like DebugService::Information which is an internal log. But you should be able to use the methods and look at the order of execution. |
On SIM7000G, I found that mode 51 does not work well (mode 2 also).
So now, I use only GSM only (13) or LTE only (38). In LTE mode, I also use Not tested on SIM7080G, hope it can help ! PS : I'm not a user of TinyGSM, just I pass here |
I've been facing this registering issue with this module lately and whenever it stops registering on the network operators of my country, I simply downgrade/upgrade its firmware and suddenly it mysteriously registers again on these networks. The only clue that I have about this is that it may be related to some power issue or something. |
Hi, The B10 firmware seems to be the newer one. But, non of the B10 firmware modems can connect to any network using the same sim cards. Doing a AT+COPS=1,2,"2... command results in a 'no network service' result and modem.waitForNetwork never finds a network. I tried every possible solution from every post above, without any success. I guess the only solution seems to update the firmware, but the modems are soldered and as far as i know i would have to connect a usb cable directly to the pins 24-27 of the SIM7080G chip, which is not possible for me in this constellation. Is there a way to update or better downgrade the firmware over a normal serial connection? |
here it's suggested to use the command CGDCONT to fix the PDP: |
Hi all, |
I've had a similar experience here in AUS where some sims can do http only with 1951B07SIM7080 firmware. Sadly the native USB seems to be the only way to load new firmware. There is supposed to be a FOTA alternative where the difference between firmwares is used but in practice this service is unavailable. My problem is the only firmware readily available is the latest (1951B14Sim7080) so I can't roll back to 1951B07SIM7080. Wish I'd never upgraded B07 to B14, "if it ain't broke don't fix it"! |
Hi everyone, I am using TTGO SIM7000G ESP32 WROOVER-E Development board. I am facing a issue. I want to send some data to the cloud using MQTT. Problem: And I am enable to check whether the publishing of the data to the broker is success or not. Can anyone help me with it. |
[X] I have read the Troubleshooting section of the ReadMe
What type of issues is this?
[ ] Request to support a new module
[ ] Bug or problem compiling the library
[ ] Bug or issue with library functionality (ie, sending data over TCP/IP)
[X] Question or request for help
What are you working with?
Modem: SIM7080G - R1951.01
Main processor board: Raspberry Pi Pico
TinyGSM version: 0.11.4
Code: All Functions (enhanced)
Scenario, steps to reproduce
I'm just trying to get the All Functions example to work.
Expected result
I expected it would work.
Actual result
At first, I was unable to get the modem to work at all, but I added a small bit of code to power cycle the modem in setup():
// reset the modem
DBG("Hard reset modem ...");
digitalWrite(14, LOW);
delay(1000);
digitalWrite(14, HIGH);
delay(1000);
DBG("Done!");
After this, I was get the modem communicating, however it failed to register properly. It sticks in a loop of:
AT+CSQ
+CSQ: 99,99
OK
AT+CEREG?
+CEREG: 0,2
OK
AT+CGREG?
+CGREG: 0,2
OK
I then added some code to setup() from my older SIM7000G code (which works with the SIM7000G) to ensure that the modem was properly configured for Cat-M:
/*
2 Automatic
13 GSM only
38 LTE only
51 GSM and LTE only
bool res;
DBG("Set Network Mode == 51 GSM and LTE only ...");
do {
res = modem.setNetworkMode(51);
delay(500);
} while (res != true);
DBG("Done!");
/*
1 CAT-M
2 NB-Iot
3 CAT-M and NB-IoT
DBG("Set Preferred mode == Cat-M ...");
do {
res = modem.setPreferredMode(1);
delay(500);
} while (res != true);
DBG("Done!");
This still didn't work.
I then ran an older SIM7000G debugger app - just a completely stripped down version of All Functions - but forgot to change the #define from SIM7000G to SIM7080G. Running this failed. And that is when I realized my error, and I then went back to running my All Functions configured for the SIM7080G ... and now it worked!
On this device it now works all of the time. So it appears that SOMETHING in the SIM7000G restart or gprsConnect is doing something different from the SIM7080G flow?
I took a brand new device, and again tried with the SIM7080G code and it continues to fail the same way. The one that was run with the SIM7000G #define once now continues to work with all of the examples. Some setting appears to have been toggled, but I can't figure out which one.
Debug and AT command log
[6733] Hard reset modem ...
[8653] Done!
[8653] Trying baud rate 57600 ...
[9665] Modem responded at rate 57600
[9665] Set Network Mode == 51 GSM and LTE only ...
AT+CNMP=51
AT+CNMP=51
OK
[10159] Done!
[10159] Set Preferred mode == Cat-M ...
AT+CMNB=1
AT+CMNB=1
OK
[10652] Done!
[10653] Initializing modem...
ATE0
ATE0
OK
AT+CFUN=0
+CPIN: NOT READY
OK
AT+CFUN=1,1
OK
���[41074] ### TinyGSM Version: 0.11.4
[41074] ### TinyGSM Compiled Module: TinyGsmClientSIM7080
AT
AT
AT
AT
AT
AT
AT
AT
OK
ATE0
ATE0
OK
AT+CMEE=2
OK
AT+GMM
SIMCOM_SIM7080
OK
[42890] ### Modem: SIMCOM SIM7080
AT+CLTS=1
OK
AT+CBATCHK=1
OK
AT+CPIN?
+CPIN: READY
OK
AT+GMM
SIMCOM_SIM7080
OK
[42939] Modem Name: SIMCOM SIM7080
ATI
R1951.01
OK
[42954] Modem Info: R1951.01
AT+CPIN?
+CPIN: READY
OK
AT+CNACT=0,0
+CME ERROR: operation failed
AT+CGDCONT=1,"IP","super"
OK
AT+CGATT=1
ERROR
[43103] Waiting for network...
AT+CSQ
+CSQ: 99,99
OK
AT+CEREG?
+CEREG: 0,6
OK
AT+CGREG?
+CGREG: 0,6
OK
AT+CSQ
+CFUN: 1
+CPIN: READY
+CSQ: 99,99
OK
AT+CEREG?
+CEREG: 0,2
OK
AT+CGREG?
+CGREG: 0,2
OK
AT+CSQ
+CSQ: 99,99
OK
AT+CEREG?
+CEREG: 0,2
OK
AT+CGREG?
+CGREG: 0,2
OK
Any thoughts on how to further debug why this might be occurring?
The text was updated successfully, but these errors were encountered: