Talking to EM12-G in linux via AT commands

Hi Quectel friends,

I am trying to use minicom to talk to my EM12-G. Somehow I cannot see my command in the interactive shell, but I can see the response of command AT.

Welcome to minicom 2.8

OPTIONS: I18n 
Port /dev/ttyUSB3, 11:30:24

Press CTRL-A Z for help on special keys


OK

OK

OK

OK

OK

OK

OK

I must failed to config the EM12-G correctly. Can someone elaborate me w.r.t. that?

I see the same behavior for /dev/ttyUSB2, and /dev/ttyUSB1 and /dev/ttyUSB0 has no response.

What if you first send ATE ?
Your AT command port is USB If#= 2, in the absence of other serial devices it will correspond to the 3rd interface (/dev/ttyUSB2).

I tried ATE? in /dev/ttyUSB3 and after that I can see the command I type in.


ERROR
AT
OK
AT
OK
AT
OK

typing ATE? in /dev/ttyUSB2 didn’t help me though - this interface usually got stuck after a while.

Do you happens to know any other configuration that I might have missed?

? is not a part of the command, it is the ending of the sentence.

Thanks, I think after ATE I see the ttyUSB3 works with AT commands consistantly

Do you happens to know the series of AT commands that can help me connect the EM12-G to LTE network?

If AT+CGDCONT? shows that the correct APN is configured for context 1, then just switching to ECM mode with AT+QCFG="usbnet",1 may be all you need.

You can use the +CGDCONT command to set the APN if the MBN mechanism hasn’t beaten you to it.

Before setting ECM mode, read the current value for reference with AT+QCFG="usbnet"

First check what is the current state with

AT+CEREG?
AT+CGPADDR

Thanks, I’ll try it out and update here.