I recently purchased LHGGM&EG18-EA device and I do not know how to lock a cell on the device.
Procedure described in documentation https://wiki.mikrotik.com/wiki/Manual:Interface/LTE#User_at-chat_command does not work and I keep getting output: ERROR message in the terminal window.
Any idea which command can be executed to lock a cell on that device ?
I searched for this, too.
Looks like the LTE18 modem is Quecktel EG18 and it has no such ability.
Source: the modem official AT command manual.
There is a way to do a cell lock on EG18-EA modem, it worked for me on LHG LTE18 kit.
All information below is taken from this thread on the Quectel forum.
You will need to figure out PHY-CELLID (ID of the cell itself) and EARFCN (frequency that will be locked as primary band). You can get a list of cells around you and corresponding frequencies using cell monitor via web UI or console with:
interface/lte/cell-monitor lte1
You will get something like this:
PHY-CELLID BAND EARFCN RSRP RSRQ RSSI AGE
247 B7 2850 -99dBm -9dB -68dBm 1s
99 B7 2850 -104dBm -15dB -79dBm 1s
258 B7 2850 -107dBm -16dB -83dBm 1s
69 B7 2850 -111dBm -20dB -79dBm 1s
362 B7 2850 -115dBm -20dB -85dBm 1s
Next, use the following command to set a cell lock:
interface/lte/at-chat lte1 input="at+qnwlock=\"common/4g\",1,2850,247"
where 247 is PHY-CELLID and 2850 is EARFCN.
Apparently you can set up to 20 cell locks and your modem will lock on the one with the best signal:
interface/lte/at-chat lte1 input="at+qnwlock=\"common/4g\",<NUMBER OF CELL LOCKS>,<EARFCN 1>,<PHY-CELLID 1>,<EARFCN 2>,<PHY-CELLID 2>, ..."
If you did something incorrectly or currently locked cell is not available anymore, use this to disable cell lock:
interface/lte/at-chat lte1 input="at+qnwlock=\"common/4g\",0"
If you want to see currently set cell lock, use the following command:
interface/lte/at-chat lte1 input="at+qnwlock=\"common/4g\""
Unfortunately, similar to R11e-LTE6 modem (LHG LTE6 kit), a cell lock will be reset after device reboot.
Thank you for posting this - used it today!