[Summary] AT commands

AT commands

This is a collection of AT commands for various modems.
Some of them are specific to GL.iNet devices, some are specific to the modem used.
Mostly you can just try them out and see if they work for you.

The list is incomplete and will be updated from time to time.

Info

Make sure to maximize the table to see the whole content:

Table of commands

Title Command Description
Set IMEI AT+EGMR=1,7,"XXXXXXXXXXXXXX" Replace XXXXXXXXXXXXXX with your IMEI
Get enabled bands AT+QNWPREFCFG="ue_capability_band" Get the list of enabled bands
Get Carrier Aggregation AT+QCAINFO Retrieve Carrier Aggregation information
Set 5G SA Bands AT+QNWPREFCFG="nr5g_band",1:2:3:5:7:8:12:13:14:18:20:25:26:28:29:30:38:40:41:48:66:70:71:75:76:77:78:79 Set 5G Standalone Bands
Set 5G NSA Bands AT+QNWPREFCFG="nsa_nr5g_band",1:2:3:5:7:8:12:13:14:18:20:25:26:28:29:30:38:40:41:48:66:70:71:75:76:77:78:79 Set 5G Non-Standalone Bands
Set 4G LTE Bands AT+QNWPREFCFG="lte_band",1:2:3:4:5:7:8:12:13:14:17:18:19:20:25:26:28:29:30:32:34:38:39:40:41:42:43:46:48:66:71 Set 4G LTE Bands
Set WCDMA Bands AT+QNWPREFCFG="gw_band",1:2:4:5:8:19 Set WCDMA Bands
Get Network Mode AT+QNWPREFCFG="mode_pref" Get current network mode preference
Get Roaming Pref. AT+QNWPREFCFG="roam_pref" Get roaming preference
Get Network Acquisition Order AT+QNWPREFCFG="rat_acq_order" Get network acquisition order
Enable Wi-Fi-Call AT+QMBNCFG="Select", "ROW_Commercial" Enable or disable Wi-Fi Calling (results may vary)
Get Signal Strength AT+CSQ Retrieve signal strength
Get Signal Quality AT+CESQ Retrieve signal quality
Get Network Operator AT+COPS? Get current network operator
Get Network Operator List AT+COPS=? Get list of available network operators
Get Network Registration Status AT+CREG? Get network registration status
Get Network Technology AT+QNWINFO Get current network technology
Get Network Information AT+QNWINFO Get detailed network information
Get Network Operator Name AT+QSPN Get network operator name
Get Network Time AT+CCLK? Get current network time

Something missing?

Feel free to write me a PM if some commands are missing or not working.

7 Likes

A post was split to a new topic: AT command for lock PCIE

Is there a way to get rid of the pop-up AT Command window and revert back to going to the modemmanage page in future 4.8 updates? I don't find that the pop-up AT Command window is very helpful or even necessary. Personally, going to the http://192.168.8.1/#/modemmanage page gives me more flexibility since i've edited and added my own commands that I use. I"m not really sure why this was even condidered in your UI changes in the first place orther than astetics but it actually limits its functionality.

Hi,

The requirements for using this page http://192.168.8.1/#/modemmanage may be for advanced users. Ordinary users may not understand how to use AT commands, or do not know what AT commands are at all.
So we may worry about modem custom configuration errors, and difficult to debug if user have configured unknow commands before.

Truly sorry for the inconvenience for you.

Please continue to access the AT command window through http://192.168.8.1/#/modemmanage.

I understand what you are saying. I'm simply asking that upon clicking on the three dots and the drop down that appears, the default page could simply revert to the http://192.168.8.1/#/modemmanage page instead up the pop-up window since in essence they both do the same exact thing for the end user. "Ordinary users may not understand how to use AT commands, or do not know what AT commands are at all." I don't see why the pop-up is even necessary then because they both do the exact same thing. If that is truely your concern, then eliminate the option all together. No need to have two different ways to access the same feature.
One is hard coded and the other uses the /www/views/gl-sdk4-ui-modemmanage.common.js.gz file. To an end user, both pages are in essence idential and a pop-up isn't any more or less benificial to them than the modemmanage page. To a more advanced user, it gives them the ability to make any changes they may want without having to type in a special url.
In my case, I frequently travel and I find that it is easier for me to force the module to use 4G or 5G SA/NSA bands by simply sending it the appropriate AT command that I have embeded into the modemmanage file instead of trying to use the band lock option in the modem configuration. The problem with band locking for me is that when I move, I end up having to re-do everyting all over whereas by sending an AT-Command, the module simply reverts back to normal upon rebooting the device. Again, there really isn't any benifit for the pop-up over the modemmanage url page other than astetics and quite frankly, it's removes functionality for an advanced user so I don't see the benefit at all. Another option would be for the pop-up option to use the modemmanage file for its settings instead of using the limited hardcoded selection. I do appreciate your consideration to this and hope that you can see that the redundancy in the menu selection isn't really needed since the older way of simply using the url page worked just as effectively and to an inexperienced user, offers no real visual difference. But to an advanced user, offers a substancial difference in the ease to make quick changes.
Upon clicking on mail icon it simply loads the sms page. You don't have a pop-up window for that option. The same could/should be done for the Modem AT Command icon.

1 Like

Sorry no idea how to send a PM on here. but I think there is an AT command to check if the IMIE has been changed. Can you add it to the list?

Hi,

Regarding the modification of IMEI, if the cellular modem works fine, we are not recommended that users modify it.

So, we do not disclose this AT command, please get support by contacting [email protected].

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.