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

Improve bg95 connection speed by only setting nwscanseq if needed #2735

Merged
merged 1 commit into from Feb 2, 2024

Conversation

scott-brust
Copy link
Member

Problem

On warm boot, msom/BG95-M5 platforms consistently experience a dregistration event 18 seconds after boot. This causes the ongoing PPP link / server socket to fail and cellular registration to start over. This increases time for the platform to come online

Solution

The nwscanseq setting is being set on every boot, which triggers the network de-registration. This should only be set when needed. The network scan order should be LTE > 2G > NBIOT. We cannot specifically exclude NBIOT with the nwscanseq command. NBIOT will be excluded in the iotopmode command

Steps to Test

Run this branch. Let modem register on network. Press reset button. Device should reconnect to the particle cloud around 10 seconds. It should not be deregistered from the cell network

Example App

any

References

slack discussion


Completeness

  • User is totes amazing for contributing!
  • Contributor has signed CLA (Info here)
  • Problem and Solution clearly stated
  • Run unit/integration/application tests on device
  • Added documentation
  • Added to CHANGELOG.md after merging (add links to docs and issues)

@avtolstoy avtolstoy added this to the 5.8.0 milestone Feb 2, 2024
@scott-brust scott-brust merged commit 220bfc8 into develop Feb 2, 2024
13 checks passed
@scott-brust scott-brust deleted the fix/nwscanseq-deregister branch February 2, 2024 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants