Quectel RM520N-GL - eSIM Management

I’m trying to install an eSIM on a Quectel RM520N-GL.
According to the documentation, the eSIM functionality exists since firmware RM520NGLAAR01A06M4G_01.001.01.001

My RM520N-GL is running firmware RM520NGLAAR03A03M4G.

AT+QESIM=? lists the available commands and I’m able to activate lpa with AT+QESIM=“lpa_enable”,1.
However, all the other AT+QESIM commands fail with “ERROR”.

Please provide instructions to resolve this problem.

I’ve read the RG520x&RM520N_Series_eSIM_LPA_Application_Note, and I would like to request access to the source code to compile the quectel_lpad tool. If you are unable to provide source code, please provide a x86_64 linux compatible binary.
See below the logs of the AT commands that I tested.

AT+QESIM=?
+QESIM: "lpa_enable",(0-1)
+QESIM: "profile_brief"
+QESIM: "profile_detail",(1-8)
+QESIM: "eid"
+QESIM: "delete_profile",(1-8)
+QESIM: "nickname",(1-8),<nickname>
+QESIM: "def_svr_addr",<address>
+QESIM: "disable_profile",(1-8)
+QESIM: "enable_profile",(1-8)

OK
AT+QESIM="lpa_enable"
+QESIM: "lpa_enable",1

OK
AT+QESIM="profile_brief"
ERROR
AT+QESIM="eid"
ERROR
AT+QESIM="def_svr_addr"
ERROR
AT+QESIM="enable"
ERROR

Best regards,
Renato

1 Like

Thanks for sharing the source code.
I’ve compiled it and tried to add a profile, but it has not been succesfull.

Here’s the output:

# qquectel_lpad -D 1 -A 1\$RSP-3058.IDEMIA.IO\$XXXXX-XXXXX-XXXXX-XXXXX
Quctel LPAd Version: 1.0.7
Log level         : 1
########## Add profile ##########
SIM slot          : 1
Activation code   : 1$RSP-3058.IDEMIA.IO$XXXXX-XXXXX-XXXXX-XXXXX
Confirmation code : 
User consent      : 0
########## Delete profile ##########
SIM slot          : 0
Delete profile id : 0
[INFO ] [QMIM] [qmi_manager//qmi_manager.c] [478] Init QMI Client(1) Success
[DEBUG] [QMIM] [qmi_manager//qmi_manager.c] [205] Enter QMI Recieve Thread Main Loop
                                                                      
[                                                  ][  0%][|]         
[DEBUG] [QMIM] [qmi_manager//qmi_manager.c] [497] Do UIM HTTP Transaction Request
[DEBUG] [QMIM] [qmi_manager//qmi_manager.c] [513] Send Result : 3     
[WARN ] [MAIN] [app//main.c] [543] Send QMI UIM HTTP Message Failure, But It Matched Expectation
[DEBUG] [QMIM] [qmi_manager//qmi_manager.c] [503] Do UIM Add Profile Request
[DEBUG] [QMIM] [qmi_manager//qmi_manager.c] [513] Send Result : 110   
[ERROR] [MAIN] [app//main.c] [562] Send UIM Add Profile Message Failure
                                                                      
[                                                  ][  0%][|]

I have ping to RSP-3058.IDEMIA.IO and I’ve also installed the SSL certificates.

Communication with the module via AT commands, returns ERROR on any eSIM command other than lpa_enable and eid:

AT+QESIM=“lpa_enable”
+QESIM: “lpa_enable”,1

AT+QESIM="eid"
+QESIM: "eid",89041030891636202419800000380888

OK
AT+QESIM=“profile_brief”
ERROR

AT+QESIM="profile_detail"
ERROR

What could be the reason for this? I have the module installed in a Techship MC201 PCIE/USB with all the required hardware modifications for eSIM support on SIM slot 1.