Link RM520M with APN with user and pass

Hi,
I’m developing software to connect to an M2M APN automatically. My point is that AT+CGDCONT works perfectly unless I have an APN with a user and pass. I don’t understand how to give the chipset this information to log in. Can anybody help me?

Best


AT+QIACT=1

Thank you very much for supporting me!
Let me ask you something. Where can I find that document? The AT command’s main document does not have this AT+QICSGP.

Best

Have you checked if this command is supported by your modem?

AT+QICSGP?
AT+QICSGP=?

Yes, I have. But it’s weird because it should be in the main chipset documentation.

AT+QICSGP? returns
ERROR

AT+QICSGP=? returns
+QICSGP: (1-16),(1-3),,,,(0-3)

My Chipset is:
RM520N-GL
RM520NGLAAR01A08M4G

1 Like

AT+QICSGP? is not correct. To querry the APN and Iptype you should use
AT+QICSGP=1
To set the APN you should try
AT+QICSGP=1,3,“APN”,“user”,“passwd”

1 Like

(post deleted by author)

Thank you.
How do I fill in the auth type for APN? Which possibilities do we have?
In your answer you say AT+QICSGP=1,3,“APN”,“user”,“pass” but I don’t get the meaning of 1 and 3(first and second params).

shouldn’t it be something like:
AT+QICSGP=,,,,<auth_type>

about AT+QICSGP=1, is it for the activation purpose of the cid 1? after the APN setup creation?

is the AT command to querry the settings with CID 1.
For

You should follow this to set the Authtype.

The AT manual
https://www.quectel.com/download/quectel_rg50xqrm5xxq_series_at_commands_manual_v1-2/