-
Notifications
You must be signed in to change notification settings - Fork 90
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
U_CELL_NET: unable to disconnect. #56
Comments
Hi Alex! That AT log is very weird indeed. The module has clearly responded to There's nothing much that |
Unfortunately they've not seen anything like this before: how repeatable is it? |
It is practical for every connection. |
Okay, in that case, when you have time, could you possibly modify the function disconnectNetwork() in
...you have the following:
...i..e we want to query the Then paste the AT log into a comment here. |
U_CELL_MQTT: trying to disconnect... +UMQTTC: 0,1 OK +COPS: 0,0,"262 01 1nce.net",9 OK OK +CFUN: 4 OK +CREG: 2,3 OK +CFUN: 4 OK +CGREG: 2,4 OK +CFUN: 4 OK +CEREG: 4,5,"DAD9","10","22A9B06",B,,,"00000000","01100000" OK +CFUN: 4 OK +CREG: 2,3 OK +CFUN: 4 OK +CGREG: 2,4 OK +CFUN: 4 OK +CEREG: 4,5,"DAD9","10","22A9B06",B,,,"00000000","01100000" OK +CFUN: 4 OK +CREG: 2,3 OK +CFUN: 4 OK +CGREG: 2,4 OK +CFUN: 4 OK +CEREG: 4,5,"DAD9","10","22A9B06",B,,,"00000000","01100000" OK +CFUN: 4 OK +CREG: 2,3 OK +CFUN: 4 OK +CGREG: 2,4 OK +CFUN: 4 OK +CEREG: 4,5,"DAD9","10","22A9B06",B,,,"00000000","01100000" OK +CFUN: 4 OK +CREG: 2,3 OK +CFUN: 4 OK +CGREG: 2,4 OK +CFUN: 4 OK +CEREG: 4,5,"DAD9","10","22A9B06",B,,,"00000000","01100000" OK +CFUN: 4 OK +CREG: 2,3 OK +CFUN: 4 OK +CGREG: 2,4 OK +CFUN: 4 OK +CEREG: 4,5,"DAD9","10","22A9B06",B,,,"00000000","01100000" OK +CFUN: 4 OK +CREG: 2,3 OK +CFUN: 4 OK +CGREG: 2,4 OK +CFUN: 4 OK +CEREG: 4,5,"DAD9","10","22A9B06",B,,,"00000000","01100000" OK +CFUN: 4 OK +CREG: 2,3 OK +CFUN: 4 OK +CGREG: 2,4 OK +CFUN: 4 OK +CEREG: 4,5,"DAD9","10","22A9B06",B,,,"00000000","01100000" OK +CFUN: 4 OK +CREG: 2,3 OK +CFUN: 4 OK +CGREG: 2,4 OK +CFUN: 4 OK +CEREG: 4,5,"DAD9","10","22A9B06",B,,,"00000000","01100000" OK +CFUN: 4 OK +CREG: 2,3 OK +CFUN: 4 OK +CGREG: 2,4 OK +CFUN: 4 OK +CEREG: 4,5,"DAD9","10","22A9B06",B,,,"00000000","01100000" OK |
Thanks for doing that so quickly. Putting it simply, it should not be possible for the module to do this. Would you be able to capture the full AT log, from startup, and attach it to a comment as a |
Hi Rob, attached the txt file |
Excellent, thanks, we'll take a look. |
While we're doing that, the guys have requested a little more information. When you get the chance, could you possibly try using the attached u_cell_net.c and pasting the AT log output into here? This version queries a few more things while waiting for the registration status. If one of those returns a better indication then we could potentially use that additional information to determine that the disconnect has occurred, rather than relying solely on |
here is the log with the integrated u_cell_net.c from the zip file. Is it ok because I somehow don't see any difference? |
Hmm, strange, maybe uploading a Here's u_cell_net.c again, zipped with a different zip-file name this time. |
now the new log |
Excellent!!!! That shows that when we are getting "connected" responses from
...all show that there is no connection. What I am going to do is to modify the "disconnect" code to also check |
I have pushed a test branch here with the changes to the disconnect code. I have verified that the changes cause no problems but we have not been able to reproduce your issue here so, when you get a chance, could you try it out please? You can either pull the branch or you can just replace the contents of your current Let us know what happens and, if at all possible, paste an AT log of the outcome into a comment here. |
The problem was fixed with #57 |
Great, thanks for raising it and begin so patient/helpful in resolving it. |
The fix has now been pushed to the |
What could be the reason for the fact that the connection is unable to disconnect?
U_CELL_MQTT: trying to disconnect...
AT+UMQTTC=0
+UMQTTC: 0,1
OK
Taking down network...
AT+COPS?
+COPS: 0,0,"262 01 1nce.net",9
OK
AT+CFUN=4
OK
AT+CREG?
+CREG: 2,3
OK
0: Deny
AT+CGREG?
+CGREG: 2,4
OK
0: OoC
AT+CEREG?
+CEREG: 4,5,"DAD9","10","22A9B06",B,,,"00000000","01100000"
OK
0: RegR
AT+CREG?
+CREG: 2,3
OK
0: Deny
AT+CGREG?
+CGREG: 2,4
OK
0: OoC
AT+CEREG?
+CEREG: 4,5,"DAD9","10","22A9B06",B,,,"00000000","01100000"
OK
0: RegR
AT+CREG?
+CREG: 2,3
OK
0: Deny
AT+CGREG?
+CGREG: 2,4
OK
0: OoC
AT+CEREG?
+CEREG: 4,5,"DAD9","10","22A9B06",B,,,"00000000","01100000"
OK
0: RegR
AT+CREG?
+CREG: 2,3
OK
0: Deny
AT+CGREG?
+CGREG: 2,4
OK
0: OoC
AT+CEREG?
+CEREG: 4,5,"DAD9","10","22A9B06",B,,,"00000000","01100000"
OK
0: RegR
AT+CREG?
+CREG: 2,3
OK
0: Deny
AT+CGREG?
+CGREG: 2,4
OK
0: OoC
AT+CEREG?
+CEREG: 4,5,"DAD9","10","22A9B06",B,,,"00000000","01100000"
OK
0: RegR
AT+CREG?
+CREG: 2,3
OK
0: Deny
AT+CGREG?
+CGREG: 2,4
OK
0: OoC
AT+CEREG?
+CEREG: 4,5,"DAD9","10","22A9B06",B,,,"00000000","01100000"
OK
0: RegR
AT+CREG?
+CREG: 2,3
OK
0: Deny
AT+CGREG?
+CGREG: 2,4
OK
0: OoC
AT+CEREG?
+CEREG: 4,5,"DAD9","10","22A9B06",B,,,"00000000","01100000"
OK
0: RegR
AT+CREG?
+CREG: 2,3
OK
0: Deny
AT+CGREG?
+CGREG: 2,4
OK
0: OoC
AT+CEREG?
+CEREG: 4,5,"DAD9","10","22A9B06",B,,,"00000000","01100000"
OK
0: RegR
AT+CREG?
+CREG: 2,3
OK
0: Deny
AT+CGREG?
+CGREG: 2,4
OK
0: OoC
AT+CEREG?
+CEREG: 4,5,"DAD9","10","22A9B06",B,,,"00000000","01100000"
OK
0: RegR
AT+CREG?
+CREG: 2,3
OK
0: Deny
AT+CGREG?
+CGREG: 2,4
OK
0: OoC
AT+CEREG?
+CEREG: 4,5,"DAD9","10","22A9B06",B,,,"00000000","01100000"
OK
0: RegR
U_CELL_NET: unable to disconnect.
The text was updated successfully, but these errors were encountered: