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

[r510] enable PS (packet switched) Only mode for R510 modems (Boron/BSoM/ESoMX) #2639

Merged
merged 1 commit into from
Mar 30, 2023

Conversation

technobly
Copy link
Member

@technobly technobly commented Mar 29, 2023

Problem

Currently R510 based devices (Boron/BSoM/ESoMX) power up with CS (Circuit Switched) and PS (Packet Switched) operation modes both enabled. CS mode is not used, therefor it may be disabled which simplifies the data centric nature of the device.

Solution

Enable PS Only operation mode on first boot. This feature is non-volatile and only needs to be checked and set once. However, if the cellular registration process should linger, we will also double check that its set correctly during the registration intervening process.

Steps to Test

  • Test with (Boron/BSoM/ESoMX) devices that have never been setup before. Flash the base firmware without letting the device boot. Flash new system firmware with tinker-serial-debugging for logging, and cold or warm boot the device. First boot should show AT+CEMODE? query == 2 and AT+CEMODE=0 followed by AT+CFUN=16. Successive boots will not show these commands. Other than this, it's quite difficult to tell that CS mode has been disabled (AT+CREG=2 URCs would need to be enabled, or AT+CREG? querying would need to be performed in a user app.
  • Test with a deactivated SIM for approx. 10 minutes that an additional AT+CEMODE? querying is performed between AT+CFUN=0 and AT+CFUN=1.

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
  • N/A - Added documentation
  • Added to CHANGELOG.md after merging (add links to docs and issues)

@technobly technobly added the 5.x label Mar 29, 2023
@technobly technobly added this to the 5.3.1 milestone Mar 29, 2023
@technobly technobly merged commit 2236174 into develop Mar 30, 2023
@technobly technobly deleted the feature/r510-ps-only-mode branch March 30, 2023 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants