Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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.

3 participants