-
Notifications
You must be signed in to change notification settings - Fork 84
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
Unable to activate PDP context #231
Comments
Hi, and sorry about this. The change in the loop limit was just an optimisation but what I can't understand is why we don't see the same problem here. Which module type are you using? I guess that in your case the module must be returning a |
Hi,
As you can see the I'm using the |
Fascinating: not a behaviour we see here, must be network dependent. Fix (as you have proposed, remove the optimisation) is under test. |
If I can help you with additional information like modem firmware version ect. Don't hesitate to ask. It is strange that my modem is behaving odd. |
Hi, Can I ask what MNO Profile you are using? The number and values depend on the MNO Profile. The PDP Contexts which are defined per MNO profile are listed in the AT manual Appendix. Would be interesting to know if the profile you have selected/using has the correct number of +CGACT responses expected. Phil. |
I'm currently using MNO profile 90. I used profile 100 (europe), but I needed to support Taiwan, so I switched to 90 (Global). |
Thanks. Global Profile 90 should only have one PDP Context defined. Could you show the AT log of the "+CGDCONT?" query? Can you confirm what firmware your R510M8S-00B module has? v2.xx? Also if you try to set MNO Profile 100, and then go back to MNO Profile 90, do you still see the three contexts? |
Hello jraat. |
@jraats: I am going to close this one now as I think we are done: please feel free to re-open it (or open a new issue) if there is more to discuss. |
Hi RobMeades,
After updating the ubxlib to the latest version (master) I'm unable to activate the PDP context. The problem is that the library doesn't read the actual status (the PDP context is in fact activated).
The problem is created in commit ac08677 were the
+CGACT
status is not fully read.The old implementation was:
which requests the
CGACT
status and reads forU_CELL_NET_MAX_NUM_CONTEXTS
times the status.The new implementation is:
which requests the
CGACT
status and reads formaxNumContexts
(=1) times the status.The PDP context to activate is 1, but the for loop will stop after processing the first response and (wrongly) returning that the PDP context is not activated.
After changing
ubxlib/cell/src/u_cell_net.c
Line 1695 in c25c7b3
to
everything is working as intended.
Can you look at this bug and apply a fix for this?
Thanks in advance.
The text was updated successfully, but these errors were encountered: