I would like to know which command is giving me that "0xC3" reply in order to modified the code and send always that specific command. Is it possible?
My card was a sim card from Vodafone, but i can't find any clear paper where i can read what type of reply is 0xC3. Can u give me an example of " sim card specification" ?
Thank u so much!
Giulio
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
A good starting point is the ETSI's TS 102 221 specification. If you check the ETSI homepage, you should be able to locate a version of this specification.
It helps in understanding the commands you specify in the Arduino code and the resonse codes. As far as I konw it just describes protocol, but not the actual wherabouts of yor vodafone card.
Also the ISO 7816 Part 4 might give some informations.
Regards
Angus71
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am working on a project using a SIM card. I am using an ARDUINO MEGA 2560 board and I'm having problems receiving data from the Smart Card. I think I´m doing something wrong with the connection maybe or something like that.
Can anyone help me please? :(
I have changed the pin connection like it said in the code program.
I am working on a project using a SIM card. I am using an ARDUINO MEGA 2560 board and I'm having problems receiving data from the Smart Card. I think I´m doing something wrong with the connection maybe or something like that.
Can anyone help me please? :(
I have changed the pin connection like it said in the code program.
HI Angus, good work! I managed to get ATR on my Uno board w/ NXP P60 smart card. But after sending a Select file command, I always got no response even after trying maxwaits from 0 to 150!
Always got:
Received ... 0
Any tips will be highly appreciated!
Many thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
First of all thank you so much for this greate library!
I'm using this smarcard reder
http://www.acs.com.hk/en/products/302/acr39u-smart-card-reader/
I've open it and debugged some break out pin, i've tried my best and in some way

it seems to work.
I get this reply msg using ADPU-t0_communication sketch:
https://drive.google.com/file/d/0Bx_8Za5rGFYpanZBNTdEYlJYaGM/view?usp=sharing.
Does it mean something to you?
I'm i doing right?
How can i prompt always the same command in order to get the same reply msg?
Regards
Hi Giulio,
to summarize your problems ...
When using the t0 communication sketch you have a working connection, but it gives always differnt results, if you restart the Arduino?
Otherwise it looks quite okay, a response starting with 0x61 means that the card accepted your "request" and will send you "0xC3" bytes as content.
Now you need the "card specification" to make any sence of the received data and the supported commands.
Hope that helps,
With kind regards
Angus71
Hi Angus71,
Thank u for the reply!
I would like to know which command is giving me that "0xC3" reply in order to modified the code and send always that specific command. Is it possible?
My card was a sim card from Vodafone, but i can't find any clear paper where i can read what type of reply is 0xC3. Can u give me an example of " sim card specification" ?
Thank u so much!
Giulio
Hi Giulio,
A good starting point is the ETSI's TS 102 221 specification. If you check the ETSI homepage, you should be able to locate a version of this specification.
It helps in understanding the commands you specify in the Arduino code and the resonse codes. As far as I konw it just describes protocol, but not the actual wherabouts of yor vodafone card.
Also the ISO 7816 Part 4 might give some informations.
Regards
Angus71
hi angus71 i didnt communication smart card whit arduino. i dont kmnow what i problem..
maybe you can help me..
can you contact me...
Hi!
I am working on a project using a SIM card. I am using an ARDUINO MEGA 2560 board and I'm having problems receiving data from the Smart Card. I think I´m doing something wrong with the connection maybe or something like that.
Can anyone help me please? :(
I have changed the pin connection like it said in the code program.
SC_C2_RST 7
SC_C1_VCC 12 //before 11
SC_C7_IO 10
SC_C3_CLK 11 //before 9
Thank you very much.
Hi!
I am working on a project using a SIM card. I am using an ARDUINO MEGA 2560 board and I'm having problems receiving data from the Smart Card. I think I´m doing something wrong with the connection maybe or something like that.
Can anyone help me please? :(
I have changed the pin connection like it said in the code program.
SC_C2_RST 7
SC_C1_VCC 12 //before 11
SC_C7_IO 10
SC_C3_CLK 11 //before 9
Thank you very much.
With the file "apdu_t0_communication" i get this
https://drive.google.com/open?id=148Hm7TIrYB-25agh-_uls_jAGiXUVvFk
And with the file "apdu_t1_communication" ...
https://drive.google.com/open?id=1-_d_3UlFuhKGw3Oa8xnXOyTQav2SznEI
HI Angus, good work! I managed to get ATR on my Uno board w/ NXP P60 smart card. But after sending a Select file command, I always got no response even after trying maxwaits from 0 to 150!
Always got:
Received ... 0
Any tips will be highly appreciated!
Many thanks