-
Notifications
You must be signed in to change notification settings - Fork 42
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
Cannot stop GPS session via AT commands #105
Comments
i see similar result in case i respond before its 2s result : in AT Command module note: |
Yes, I also read about that note. But I also tried to wait longer than that period of time and it was still not working. So, I issued a |
As a side note, I did something like this to wait for the modem response before issuing new AT command: bool sendATCommand (const char* command, const char* expectedResponse,
unsigned long timeout){
SerialAT.println (command);
unsigned long startTime = millis();
String response = "";
while (millis() - startTime < timeout){
while (SerialAT.available()){
char c = SerialAT.read();
response += c;
if (response.indexOf(expectedResponse) != -1){
Serial.print("Response: "), Serial.println(response);
return true;
}
}
}
Serial.println("Timeout for response...");
return false;
} |
Give me the label on the modem and I will determine the hardware version and then test it. @PsySc0rpi0n |
|
@PsySc0rpi0n Send AT+SIMCOMATI to see what software version is returned. |
At this point I'm not being able to reproduce. Here is the current output, using ATDebug.ino from gituhb:
In the meantime, I'll also keep an eye on this behaviour to see if I can catch it again, along the work I'm doing at this moment. The only difference I notice from now and then is that back then, after the |
Please follow the upgrade guide to upgrade to the latest firmware before testing |
Is there a guide to upgrade the SIM7600G-H firmware on Linux (Debian Bookworm)? |
Only Windows |
I may have found a way to upload the firmware onto the device but I can't unrar the file you sent me. I tried a bunch of possibilities:
Maybe it's my laptop. I'll try in a Windows laptop.... Edited; |
Hello.
I'm using the example code from here and after the device is ready to take AT commands, it seems that I cannot stop the GPS session.
This is what I get:
So, for some reason I cannot get the GPS session to stop. Why is this? Any common reason?
The text was updated successfully, but these errors were encountered: