Eg800g/q at+qnetdevctl

Hi,

I’m working with an EG800G/Q, and I’ve got a few questions regarding QNETDEVCTL:

  1. I can’t find QNETDEVCTL in the list of AT commands for the modem, which is a bit strange, but it seems to be accepted?
  2. What exactly does the command do? In a different datasheet it says “This command connects USB netcard to network.”; does this mean that even if you have an LTE connection, this command needs to be run in order for the usbnet to be able toe access it?
  3. I’ve ran AT+QNETDEVCTL=1,1 before, and it has succeeded, but when running it now it fails with CME ERROR: 50 (Excute command failure). I’ve tried doing AT&F but it doesn’t have an effect. Is there anything obvious I can try? I’ve been able to activate a PDP context and ping a website, so it seems my connection is fine, so I’m not sure what could suddenly cause this to fail?

Thanks,
Daniel

hi daniel,
1、The QNETDEVCTL command is supported by EC800Q. This command is used for dial-up Internet access. Please see my screenshot for details.
2、The prerequisite for dialing is to register with the network.
3、The error is reported because the command is typed incorrectly. Please refer to the screenshot below for an explanation of this command. Thank you.



Hi Anna,

Thanks for your reply.

Regarding point 3, here’s the last part of my command sequence:

AT+QIACT=1
OK

AT+QIACT?
+QIACT: 1,1,1,"<IP>"
OK

AT+QNETDEVCTL=?
+QNETDEVCTL: (0,1,3),(1-7),(0,1)
OK

AT+QNETDEVCTL?
+QNETDEVCTL: 0,0,0,0
OK

AT+QNETDEVCTL=1,1,1
+CME ERROR: 50

I don’t see how I’m writing the last command incorrectly?

hi,
Please use the following command to check the registration network status
AT+QENG=“servingcell”
In addition, use the following command to obtain the cause of the error:
AT+qigeterror
My local test can dial up normally, please provide the version information, thank you.
[2024-01-03_10:36:35:726]AT+QNETDEVCTL=1,1,1

[2024-01-03_10:36:35:926]OK
[2024-01-03_10:36:41:826]
[2024-01-03_10:36:41:826]+QNETDEVSTATUS: 1,1,“IPV4V6”,0

Hi,
Here’s my complete output after resetting:

ATI
Quectel
EG800G
Revision: EG800GEULDR01A09M04

OK
AT+QICSGP=1,1,"<APN>","","",0
OK

AT+QIACT=1
OK

AT+QIACT?
+QIACT: 1,1,1,"<IP>"
OK

AT+QCFG="usbnet"
+QCFG: "usbnet",3
OK

AT+QNETDEVCTL=1,1,1
+CME ERROR: 50

AT+qigeterror
+QIGETERROR: 0,operate successfully
OK

AT+QENG="servingcell"
+QENG: "servingcell","NOCONN","LTE","FDD",242,14,30D9026,200,6200,20,3,3,A413,-91,-7,-69,82,34
OK

AT+qigeterror
+QIGETERROR: 0,operate successfully
OK

hi,

You can try the following command
AT+QNETDEVCTL=1,1

Hi,

I’ve tested on a different setup we have, and on that EVK+EG800 it works.
Now, the EG800 on the board that works is an

ATI
Quectel
EG800Q-EU
Revision: EG800QEULCR01A09M04

whereas on the board that doesn’t work it’s an

ATI
Quectel
EG800G
Revision: EG800GEULDR01A09M04

Any difference in these two versions? Is there any factory reset I can do on the one that doesn’t work, because I believe it has worked on it before?

Thanks,
Daniel

hi,
There is not much difference between these two versions. You can use the following command


thanks.