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

[quectel][msom] re-enable 2G support for M404, fix for M524 #2781

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

technobly
Copy link
Member

@technobly technobly commented Jun 6, 2024

Problem

  • 2G support was disabled for M-SoM temporarily due to some issues with operation on M524

Solution

  • Re-enable and test on M404 and M524 for correct operation
  • Added isQuec2g3gEnabled() helper function to determine which devices use CREG/CGREG AT commands and need nwscanmode set to AUTO. Also used to exclude BG96 from having 2G enabled.
  • nwscanseq still isolated to M-SoM
  • interveneRegistration() function now processed for Cat1 / 2g3g / Cat-M1 devices explicitly
  • Note: EG91xxx devices were relying on factory defaults for nwscanmode, now set properly if needed
  • some BG95 devices and BG77 do not support nwscanmode and were excluded

Steps to Test

  • Force M404 and M524 to connect on 2G by changing int desiredNwScanMode = 1;
  • Force M524 to connect on 3G by changing int desiredNwScanMode = 5; // or possibly 2
  • Force M404 and M524 to connect on LTE by changing int desiredNwScanMode = 3;
  • Standard modes will be tested with DVOS release tests.

References

  • [sc-127103]

@technobly technobly force-pushed the fix/sc-127103/2g-support-for-m404-m524 branch from 94f7a4f to 7acb76a Compare June 6, 2024 13:46
@technobly technobly requested review from Cheong2K and removed request for XuGuohui June 6, 2024 14:08
@XuGuohui
Copy link
Member

XuGuohui commented Jun 13, 2024

I tested it with a M524 and a M504:

[PASS] - Breathing cyan!

M524:

  • [PASS] desiredNwScanMode = 1, 2G
  • [PASS] desiredNwScanMode = 2, 3G
  • [PASS] desiredNwScanMode = 3, LTE

M504:

  • [PASS] desiredNwScanMode = 1, 2G
  • [PASS] desiredNwScanMode = isQuec2g3gEnabled(), AUTO
  • [N/A] 3G is not supported by the module
  • [N/A] LET Cat-M1 is not available

@XuGuohui
Copy link
Member

Tested on B504:

  • 2G, not supported
> AT+QCFG="nwscanmode",1,1
< +CME ERROR: 3
  • 3G, not connect
> AT+CEER
< +CEER: 0,-1
< OK
> AT+CEREG?
< +CEREG: 2,2
< OK
> AT+CGREG?
< +CGREG: 2,2
< OK
> AT+CREG?
< +CREG: 2,2
< OK
> AT+QCSQ
< +QCSQ: "NOSERVICE"
< OK
  • LTE, connected

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

Successfully merging this pull request may close these issues.

2 participants