Skip to content
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

fona.GPRSState reports enabled when GPRS has not yet been enabled #104

Open
chenein opened this issue May 20, 2019 · 2 comments
Open

fona.GPRSState reports enabled when GPRS has not yet been enabled #104

chenein opened this issue May 20, 2019 · 2 comments

Comments

@chenein
Copy link

chenein commented May 20, 2019

FONAtest_gprs.txt

The fona.GPRSState command returns true as soon as the network status changes from a disconnected to a connected state, even if the fona.enableGPRS(true) function has not yet been called.

The issue may be in the modem itself, as the AT+CGATT? command returns 1 in this case when it should not.

This issue prevents me from making a sketch that automatically reconnects GPRS if it unexpectedly goes down. This is because the fona.GPRSState function doesn't accurately report when GPRS is up and down.

I am attaching a version of the FONAtest sketch that has an extra command (D) to run fona.GPRSState. It can be used to validate this bug. You will see that 'D' returns '0' while the modem is trying to connect to the network. However, upon connecting, 'D' begins returning '1' even though the 'G' (Enable GPRS) command has not yet been run.

  • Arduino board: UNO
  • Arduino IDE version (found in Arduino -> About Arduino menu): 1.8.3
@jegjessing
Copy link

Any news on this?

@chenein
Copy link
Author

chenein commented Nov 27, 2019

I haven't heard anything. Still interested in whether this could be fixed though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants