Problems using AT+CSIM command | Telit Cinterion IoT Developer Community
September 10, 2019 - 2:07pm, 4472 views
Hi,
I have a GSM modem. The SIM card has a custom applet installed that I am trying to communicate with using custom APDU messages but I am having difficulties so am hoping that someone will be able to offer some advice please.
When I send the at command At + csim = 42,"00a4040010AID" to select my custom applet just reply: +CME ERROR: unknown
My GSM modem responds to many At command even for example when I send AT+CSIM=14,"00a40000023f00". But when in command P1='04' i.e select with AID reply +CME ERROR: unknown.
I try to open a new channel first like in the example below:
AT+CSIM=10,"0070000001"
But reply +CME ERROR: unknown
I hope anyone can help me.
Hello,
Please send the module name with firmware version (ATI1 reply). Please also paste AT commands log with all the commands you send. Have you sent AT+CMEE=2 command to enable extended error report?
Regards,
Bartłomiej
Thanks for your reply,
[2019-09-10 17:18:13:993_S:] AT
[2019-09-10 17:18:14:006_R:] AT
[2019-09-10 17:18:14:006_R:] OK
/* Use ATV1 to set the response format */
[2019-09-10 17:18:14:023_S:] ATV1
[2019-09-10 17:18:14:030_R:] ATV1
[2019-09-10 17:18:14:030_R:] OK
/* Use ATE1 to enable echo mode */
[2019-09-10 17:18:14:054_S:] ATE1
[2019-09-10 17:18:14:065_R:] ATE1
[2019-09-10 17:18:14:065_R:] OK
/* Use AT+CMEE=2 to enable result code and use verbose values */
[2019-09-10 17:18:14:084_S:] AT+CMEE=2
[2019-09-10 17:18:14:093_R:] AT+CMEE=2
[2019-09-10 17:18:14:093_R:] OK
[2019-09-10 17:18:14:110_S:] AT+IPR?
[2019-09-10 17:18:14:119_R:] AT+IPR?
[2019-09-10 17:18:14:119_R:] +IPR: 115200
[2019-09-10 17:18:14:119_R:] OK
[2019-09-10 17:18:14:141_S:] ATI
[2019-09-10 17:18:14:153_R:] ATI
[2019-09-10 17:18:14:153_R:] SIM800 R14.18
[2019-09-10 17:18:14:153_R:] OK
[2019-09-10 17:18:14:230_S:] AT+CPIN?
[2019-09-10 17:18:14:242_R:] AT+CPIN?
[2019-09-10 17:18:14:242_R:] +CPIN: READY
[2019-09-10 17:18:14:242_R:] OK
[2019-09-10 17:18:59:217_S:] AT+CSIM=10,"0070000001"
[2019-09-10 17:18:59:228_R:] AT+CSIM=10,"0070000001"
[2019-09-10 17:18:59:228_R:] +CME ERROR: unknown
[2019-09-10 17:19:08:169_S:] AT+CSIM=42,"00a4040010a0000000185000000000000052414542"
[2019-09-10 17:19:08:181_R:] AT+CSIM=42,"00a4040010a0000000185000000000000052414542"
[2019-09-10 17:19:08:183_R:] +CME ERROR: unknown
Hello,
This is a Gemalto/Thales forum and SIM800 is not a Gemalto/Thales product so for me it's hard to say why it replies with error. I have asked you about ATI1 reply to be able to verify if this module supports CSIM command as '+CME ERROR: unknown' reply suggests that it might not. Please make sure that it supports this command.
Best regards,
Bartłomiej
Thanks for your reply,
Unfortunately I did not receive any response from the SIM800 forums, so please help me if possible.
I'm sure the module supports the CSIM command and even for example when I send AT+CSIM=14,"00a40000023f00", answers correctly.
But when I send the at command At + csim = 42,"00a4040010AID" to select my custom applet, The modem responds: +CME ERROR: unknown
Also when I try to open a new channel like in the example below:
AT+CSIM=10,"0070000001"
The modem responds: +CME ERROR: unknown
I guess this is not a module problem, but it might require some access to select an applet on usim or manage channel which I don't know.
Pls help me.
Hi,
This error is not very descriptive.
I'm also not really experienced with this command. I think that you need to open a separate channel to communicate with your applet without problems. But this also fails in your case. If you have proven the same commands working on some other device maybe the case is that this particular device does not support something or ***** some additional configuration. Maybe you could try some other channel number. Maybe SAT interface configuration has some influence or there's some incompatibility between your device and the SIM card.
Regards,
Bartłomiej