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

Dynamically setting GPRS APN Settings #45

Open
WillJonesMagic opened this issue Jan 12, 2016 · 5 comments
Open

Dynamically setting GPRS APN Settings #45

WillJonesMagic opened this issue Jan 12, 2016 · 5 comments

Comments

@WillJonesMagic
Copy link

APN Settings appear to need to be burned into the code at runtime and don't support being set from variables or values stored in the EEPROM. I need to be able to send an SMS containing the APN settings to the device and have it store the values and have them persist through a reboot.
There's quite possibly something obvious I'm missing here but I've not been able to solve this one.

@feinstein
Copy link
Contributor

@WillJonesMagic I have a problem like yours in my project, so I made a modification in the library and now (actually as soon as they approve it) you can pass the APN settings both by burning it into code or by calling a function, it's on my pull request #50.

This way you can send an SMS, read it, parse it in code, and pass it to FONA.

@WillJonesMagic
Copy link
Author

@feinstein I tried your code, but the GSMLoc function appears to be broken. I get failure code 601 whenever I try to query the GSMLoc. GPS works fine though.

@feinstein
Copy link
Contributor

@WillJonesMagic I think I know what the problem is. Will fix this and let you know.

@feinstein
Copy link
Contributor

@WillJonesMagic I have fixed the code and tested it here, can you confirm if it's working for you?

@WillJonesMagic
Copy link
Author

@feinstein Perfect! Thank you!

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