Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Single cell lock example:

Code Block
languageros
/interface/lte/at-chat lte1 input="AT+QNWLOCK=\"common/4g\",1,3050,448"

...


Multiple cells can also be added to cell lock. For example to lock to two different cells:

Code Block
languageros
/interface/lte/at-chat lte1 input="AT+QNWLOCK=\"common/4g\",2,3050,448,1574,474"

...


To remove the cell lock use this at-chat command:

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

...


Note
1. Cell lock information will not be saved after a reboot or modem reset. 2. AT+QNWLOCK command can lock the cell and frequency. Therefore, the module can be given priority to register to the locked cell, however, according to the 3gpp protocol, the module will be redirected or handover to a cell with better signal instructions, even if it is not within the lock of the command. This phenomenon is normal.

...

Code Block
languageros
[admin@MikroTik] /interface lte at-chat lte1 input="AT^SYSCFGEX=\?"

output: ^SYSCFGEX: ("00","03","02","01","99"),((2000004e80380,"GSM850/GSM900/GSM1800/GSM1900/WCDMA BCI/WCDMA BCII/WCDMA BCV/WCDMA BCVIII"),
(3fffffff,"All Bands")),(0-2),(0-4),((800d7,"LTE BC1/LTE BC2/LTE 
BC3/LTE BC5/LTE BC7/LTE BC8/LTE BC20"),(7fffffffffffffff,"All Bands")) 
OK


Example

...

to

...

lock

...

to

...

LTE

...

band

...

7:

Code Block
languageros
[admin@MikroTik] /interface lte set lte1 modem-init="AT^SYSCFGEX=\"03\",3FFFFFFF,2,4,40,,"

Change last part 40 to desired band specified hexadecimal value where:

Code Blocknoformat
languageros
nopaneltrue
4 LTE BC3
40 LTE BC7
80000 LTE BC20
7FFFFFFFFFFFFFFF  All bands
etc

...

Code Block
languageros
/interface/ lte/ at-chat lte1 input="at+cpin\?"

...