ALFelix
28-08-2004, 11:50 AM
I'm developing an aplication using Microsoft Visual studio 6.0 (VC and VB) and the eMMbeded visual tools 3.0 for PocketPC. A have a PCMCIA Smartcard Reader/Writer (ACS ACR90) that works perfectly in both systems (PC and PocketPc - i've used downloaded programs with no problems).
I'm an experienced developer in other areas and other types of harware:
- Magnetic cards.
- PCMCIA.
- Etc.
But i'm a begginer in smart cards.
I've been using ScardTRansmit to send/receive data to/from the SIM card.
I can send some commands and receive the styatus response:
90 00 or 9F xx (Where xx is the number of bytes to get with GET RESPONSE).
I can't get this bytes.
I do This:
Send a SELECT command: A0A40000027F20 - Select the DFGSM
Response: 9F 22 - OK 22 bytes to get...
Send a GET RESPONSE command: A0C0000022 - Get 22 Bytes response
Response: 90 00 - OK...
Where are the response bytes?????
Can some one show me an exmple of how to use ScardTransmit to get this bytes???
Thank you.
I'm an experienced developer in other areas and other types of harware:
- Magnetic cards.
- PCMCIA.
- Etc.
But i'm a begginer in smart cards.
I've been using ScardTRansmit to send/receive data to/from the SIM card.
I can send some commands and receive the styatus response:
90 00 or 9F xx (Where xx is the number of bytes to get with GET RESPONSE).
I can't get this bytes.
I do This:
Send a SELECT command: A0A40000027F20 - Select the DFGSM
Response: 9F 22 - OK 22 bytes to get...
Send a GET RESPONSE command: A0C0000022 - Get 22 Bytes response
Response: 90 00 - OK...
Where are the response bytes?????
Can some one show me an exmple of how to use ScardTransmit to get this bytes???
Thank you.