Hi, everyone!
I currently have the rework.network board+enclosure that has an RJ45 port and a microUSB port and that can supply 10W to the modem. The installed RM520N-GLAA has been successfully configured to use the RJ45 port using these AT commands from iamromulan’s wiki:
AT+QCFG=“data_interface”,0,0
AT+QETH=“eth_driver”,“r8125”,1
AT+QCFG=“pcie/mode”,1
AT+QCFG=“usbnet”,1
AT+CFUN=1,1
I am now trying to switch from the rework.network box with the RJ45+USB ports to the newest one that has only a microUSB port but can provide 20W of power to the modem.
As such, I need to switch the RM520N-GLAA back to use the microUSB port and not the RJ45 port.
What are the AT commands that I need to issue?
I suspect it is these:
AT+QCFG=“data_interface”,0,0 (sets USB for data, not PCIe; this is already in effect, can skip this step)
AT+QETH=“eth_driver”,“r8125”,0 (turns off driver for r8125 Ethernet)
AT+QCFG=“pcie/mode”,0 (switches PCIe back to EndPoint mode, rather than Root Complex–I don’t know if this setting matters for what I am trying to do)
AT+QCFG=“usbnet”,0 (0 is for NDIS/QMI or maybe I should use 2 for MBIM)
AT+QMAPWAC=0 (I have read this is to switch off wireless auto-connect but that it also has to be set to 0 for USB mode to work properly, but I have not found official documentation for this command to confirm exactly what it does yet.)
AT+CFUN=1,1 (to reset the modem device)
Before I do this, am I missing anything? This is my only internet connection right now, so if I get stuck, it will be hard to research fixes online. Better to be sure before I start.
Thanks in advance!
