Using the python library provided with the BG96 app shield, I’m attempting to establish a TCP connection (eventually an MQTT connection). However, when I attempt to activate the context, the program hangs.
I’m following the signal flow from the BG96 TCP documentation. Here are the commands
# Echo on
# Enable verbose
# Enable network registration unsolicited result code
# Query (U)SIM Card Status
# Query PS service
# Configure PDP context
# Active context
# this never returns!
Please help to provide the return value of the following AT commands.
Thanks for your reply @ensar.
I found some success with minicomm. I have found that when I do it in python, it eventually works if I wait for a while. So it seems that the python code is overly conservative in timeouts, but eventually works.
I thought it hung indefinitely, but I can’t reproduce that. Also, it was only connecting 2G before, but now its LTE. I’m not sure how I fixed it.
BTW, here are the answers to your query:
+COPS: 0,0,"AT&T Hologram",8
I also tried with the PDP context and it works now.
I am glad to hear that. It is really good news.