RM520N-GL - Unable to use QPING - Error 558 : Socket write failed

HI,

I just received an RM520N-GL device, and I would like to send some PING request, using AT+QPING commands.

When doing this, it’s not working, even if I’m registered to the network in LTE or 5G NSA, with an IP address. Is there a new FW to try ?

BR,
Mathieu F.

Here are some AT commands outputs:

AT+CGCONTRDP
+CGCONTRDP: 1,5,"internet","192.169.0.7",,"8.8.8.8","4.4.4.4"
OK

AT+QPING=1,"8.8.8.8"
OK

+QPING: 558

ATI9
Quectel
RM520N-GL
Revision: RM520NGLAAR01A08M4G
OK

Dear @Mathieu
Please query your current firmware via ATI
From the description of AT command, please sue AT+QIACT to activate the context firstly, then try again.

Hi @silvia ,

Same issue after QIACT …

AT+QIACT?
OK

AT+QIACT=1
OK

AT+QIACT?
+QIACT: 1,1,1,"192.169.0.7"
OK

AT+QPING=1,"8.8.8.8"
OK

+QPING: 558

ATIATI
RM520NGLAAR01A08M4G_01.200.01.200
OK

Dear @Mathieu
I tested on my side and it worked fine.
Please try to use AT+QICSGP to configure APN, then activate and ping.

Hi @silvia,

It doesn’t change anything …

AT+QICSGP=1
+QICSGP: 1,"internet","","",0
OK

AT+QIACT?
+QIACT: 1,1,1,"192.169.0.2"
OK

AT+CGCONTRDP
+CGCONTRDP: 1,5,"internet","192.169.0.2",,"8.8.8.8","4.4.4.4"
OK

AT+QPING=1,"8.8.8.8"
OK

+QPING: 558

Hi @Mathieu and @silvia ,

were you able to find out what is causing this behavior?

I have the exact same modem with the same firmware and the same issue with qping giving me 558.

AT+QGMR;+COPS?;+CREG?;+QICSGP=1,1,"web.vodafone.de";+QIDEACT=1;+QIACT=1;+QIACT?;+QPING=1,"8.8.8.8",5,1
RM520NGLAAR01A08M4G_01.200.01.200

+COPS: 0,0,"vodafone.de",13

+CREG: 0,1

+QIACT: 1,1,1,"100.81.44.13"

OK

+QPING: 558

No updates on my side … I’m still looking for some hints, but didn’t find anything yet …

Hii, I’m having the same issue. Did you find any solutions to this problem??

Dear @Ariadna_Daniela_Medi
Please confirm you had activated the PDP context and don’t have any other external dail-up.

HI Silvia,

So I´m trying to activate it and I have AT+CGACT=1,1
+CME ERROR: unknown error and I also have AT+CGACT?
+CGACT: 1,0.

I have two quectel, this happen in one quectel and in the other one I have AT+CGACT?
+CGACT: 0,1
+CGACT: 1,0
And when I try to activate both conexts I get:
AT+CGACT=1,1
+CME ERROR: pdn type and APN duplicate used

I’m unable to ping any of them :frowning:

Dear @Ariadna_Daniela_Medi
It seems your SIM card didn’t allowed to activate two PDP context.
Please confirm your PDP context.
AT+QIACT?

Hi @silvia

Thank you so much for your response!

I’m currently unable to activate the PDP context because the Quectel modem isn’t receiving any signal. Is there a way to work under low-signal conditions? My antenna doesn’t seem to be working as expected, and I’m not sure what else I can try.

Dear @Ariadna_Daniela_Medi
For low-signal conditions, it is hard to work properly.

Hi Silvia,

Thank you for taking the time to answer all my questions. I’ve made a few modifications to my antenna, and it’s now working. However, I’m experiencing some connection issues.

When I attempt to ping, I encounter errors with the modem. Could you provide guidance on how to address this?

Looking forward to your advice, here is my quectel terminal:

+CEREG: 1,"8F6B","02F650D3",9

+IP: 10.133.194.221

+IP: 2806:0370:4328:0cce:67d2:aee5:c89d:ae83

+CSCON: 0
at+csq
at+csq
+CSQ: 20,0

OK

+CSCON: 1

+CSCON: 0
AT+CGACT=1
AT+CGACT=1
OK
AT+QIDNSCFG=0,"8.8.8.8","8.8.4.4"
AT+QIDNSCFG=0,"8.8.8.8","8.8.4.4"
OK
AT+QPING=0,"8.8.8.8",10
AT+QPING=0,"8.8.8.8",10
OK

+CSCON: 1

+QPING: 0,8.8.8.8,32,373,116

+CSCON: 0

+QPING: 569

+CSCON: 1

+CSCON: 0

+QPING: 569

+CSCON: 1

+CSCON: 0

+QPING: 569

+QPING: 0,4,1,3,373,373,373

As you can see, I’m trying to ping Google, but the connection to the network disconnects constantly, even though I’m getting a good signal.

Dear @Ariadna_Daniela_Medi
Did you use other tool to dail up? like QMI, Quectel-CM and others.

Thanks for answering @silvia :slight_smile:

I have the BC660K module, and it seems that Quectel-CM is not available for this model. Additionally, I can’t find the QMI tool you mentioned. I am not using any specific tool, just the module’s serial terminal. Is there any tool I could use to properly configure my Quectel module and ensure it doesn’t experience these disconnections?

Dear @Ariadna_Daniela_Medi
From the log, you had got the IP address, it seems you had make a data call.
If have external dail up, QPING will show error due to it is internal dail up.
Please check if you had other dail up.

Hii @silvia
I was wondering if by “dial-up” you are referring to the PDP contexts that are currently active. Does it have something to do with this?

I noticed that I have two PDP contexts: one is activated, and the other one is not. However, I cannot deactivate, activate, or erase any of them. Here is the output:

+CEREG: 1,"8F6B","02F650D3",9  
+IP: 10.49.163.54  
+IP: 2806:0370:4218:bea2:fe04:f120:5710:aa0b  
+CSCON: 0  
+CSCON: 1  

AT+CGACT?  
+CGACT: 0,1  
+CGACT: 1,0  

Could you please confirm if this is related to the issue?

Thank you!

Dear @Ariadna_Daniela_Medi
Please check as below:
AT+QCFG=“usbnet”
AT+CGDCONT?