sanket
January 14, 2022, 1:07pm
1
Hello, I am trying to retrieve an EID from a SIM card using EC25. I have tried few commands but getting errors.
AT+CCHO=“A0000005591010FFFFFFFF8900000200” - Open logical Channel
+CCHO: 1
AT+CGLA=1,42,“00A4040C10A0000005591010FFFFFFFF8900000200” - Select ECASD
ERROR
Has anyone tried it before? Could you share the commands?
Thank you.
rspmn
January 14, 2022, 9:22pm
2
Hi Sanket,
simply pass the GET DATA APDU to AT+CGLA like this:
at+cgla=1,10,“81CA005A12”
+CGLA: 40,“5A10890000000000000000000000000000079000”
OK
at+cchc=1
OK
Regards,
Reinhard
sanket
January 14, 2022, 9:25pm
3
rspmn:
Reinhard
Thank you for the response, Reinhard. I am not able to select the ECASD so can’t do a Get Data. I get error at Select ECASD. Did you do open logical channel first, followed by Select ECASD and then Get Data? If so, can you share commands please?
rspmn
January 14, 2022, 9:36pm
4
AT+CCHO already does the SELECT for you, I used the same AT+CCHO command you used directly followed by AT+CGLA.
sanket
January 14, 2022, 9:39pm
5
Great, thank you so much Reinhard. I will skip Select ECASD and try again.
Have a good day.
sanket
January 14, 2022, 9:59pm
6
Thank you, Reinhard. It worked. Appreciate your help. Have a nice weekend.