Hello,
I’m working on a 5G Quectel module, RG520N-EU TE-A, connected to RTA001-EV EValuationBoard.
I can correctly configure and activate the PDP context, but when I’m trying to open a TCP connection, the module returns error 566 (socket connect failed).
I’m using a 5G vodafone SIM.
Here is the sequence of AT commands:
AT+CREG?
+CREG: 0,1
OK
AT+QICSGP=1,1,“mobile.vodafone.it”,“”,“”
OK
AT+QIACT=1
OK
AT+QIOPEN=1,0,“TCP”,“X.X.X.X”,15000
OK
+QIOPEN: 0,566
AT+QIOPEN=1,1,“TCP”,“8.8.8.8”,80
OK
+QIOPEN: 1,566
errcode 566: Socket connect failed (from Application Note)
The IP “X.X.X.X” is obviously a public and working TCP server IP.
How can I estabilish the connection?
Thx in advance!