EG12 and Freq or Cell Lock feature


I help ppl with a LTE module base at Quectel SoC EG12-EA build by MikroTik company.
I use the document:
but here I cannot found any clue about Frequency (earfcn) or Phy-Cell-ID Lock feature.

At EP06 I use a AT+qnwlock=“common/lte” but I not have that command :(.

This is possibility this module vendor with SoC EG12-EA use old firmware who not have that feature ? EG12EAPAR01A05M4G ? For EM12 I see the version 17… .
Maybe that option is at differ syntax who is not describe at this v1.0 document and you have a newer manual ?


Dear SiB,
Thanks for your inquiry in Quectel forum。
Your firmware is newest one already, please try another command, AT+qnwlock=“common/4g”. I think it can help you to set the module, thanks

Hello Jeffrey,

Thanks for proper command.
You can give me a exacly syntax to do because I think it’s differ then EP06…

I set only LTE, query:

[admin@MikroTik] > interface/lte/at-chat lte1 input="AT+QCFG=\"nwscanmode\""
  output: +QCFG: "nwscanmode",3

I see default the any Lock is OFF

[admin@MikroTik] > interface/lte/at-chat lte1 input="at+qnwlock=\"common/4g\""
  output: +QNWLOCK: "common/4g",0

Settings the Freq earfcn Lock is ok but he disconnect me pernamently and I not have internet, maybe I should do some APPLY commnand like cfun=1,1 or similar to activate it or syntax is wrong ?

[admin@MikroTik] > interface/lte/at-chat lte1 input="at+qnwlock=\"common/4g\",1,1675,0";   
      output: OK

And the Phy Cell ID Lock is just a syntax error

[admin@MikroTik] > interface/lte/at-chat lte1 input="at+qnwlock=\"common/4g\",2,1675,64";
      output: ERROR

Please give us more syntax info about settings the freq & cell lock.
Marcin (SiB) Przysowa

Dear SiB,
Thanks for your inquiry in Quectel forum。
Please check follow descriptions, thanks
Write Command: AT+QNWLOCK=“common/4g”,,[[,],…]
Num of cells : 0 ~ 20
freq: Freqency info of a cell
pci: Physicall Cell Identity
code 0 success, Other failed
Note: Only freq and pci supported by the module can be set.

1 Like


After many test I discover all stuff.
This is example at RouterBoard Chateau, RouterOS 7 beta 8

Quectel EG12 not support frequency lock to select band at any tower.
Quectel EG12 support one and many Cell Lock’s, you can enter max 20 of CellLock’s and it select the one with the best signal and set it as primary-band.

EARFCN give us center of frequency specific band of our ISP,
PHY-CELLID give us a specific antenna at tower

Example is base at signals like this one, Cell-Monitor show us:

interface/lte/cell-monitor lte1
64 B3 1675 -99dBm -10dB -71dBm 1s
64 B7 3350 -104dBm -8dB -77dBm 1s
70 B3 1675 -110dBm -20dB -81dBm 1s
70 B7 3350 -116dBm -19dB -90dBm 1s
90 B3 1675 -114dBm -20dB -81dBm 1s
90 B7 3350 -123dBm -20dB -92dBm 7s
222 B3 1675 -118dBm -20dB -83dBm 4s
403 B3 1675 -111dBm -20dB -81dBm 1s
420 B3 1675 -117dBm -20dB -84dBm 1s
436 B3 1675 -113dBm -20dB -83dBm 4s
453 B7 3350 -125dBm -20dB -93dBm 1s
502 B3 1675 -112dBm -19dB -81dBm 1s
502 B7 3350 -116dBm -18dB -88dBm 1s


[admin@Chateau] interface/lte/at-chat lte1 input="at+qnwlock=\?" wait=yes
output: +QNWLOCK: "common/4g",<num of cells>,[[<freq>,<pci>],...]

Disable Cell Lock:

interface/lte/at-chat lte1 input="at+qnwlock=\"common/4g\",0"


interface/lte/at-chat lte1 input="at+qnwlock=\"common/4g\""

1x CellLock:

interface/lte/at-chat lte1 input="at+qnwlock=\"common/4g\",1,1675,64"

2x CellLock’s:

interface/lte/at-chat lte1 input="at+qnwlock=\"common/4g\",2,1675,64,1675,70"

3x CellLock’s:

interface/lte/at-chat lte1 input="at+qnwlock=\"common/4g\",3,1675,64,1675,70,3350,64"
1 Like

Dear SiB,
Thanks for your inquiry in Quectel forum。
It’s glad I could help you,admire your professional ability, thank you.

Thank you both :slight_smile:
It seems that the value is not kept after a reboot, does the command store something on EG12 directly.
If yes, is it normal that a reboot of router cleanup it ?

Dear Sebastill:
Thanks for your inquiry in Quectel forum。
Yes, the value would not saved in the module, it’s normal that a reboot of router cleanup it

Dear Jeffrey,
Ok thanks for your answer :slight_smile:

how to link the quectel eg12ea modem to the base station on the chateau lte 12 microtik?