Improve bg95 connection speed by only setting nwscanseq if needed #2735
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 thenwscanseq
command. NBIOT will be excluded in theiotopmode
commandSteps 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