Answer the question
In order to leave comments, you need to log in
How to read the CHI policy with the Sankyo ICT3K7 card reader - without WINSCARD?
There is a CHI card (medical policy). There is a Sankyo ICT3K7 card reader. Task: to read the data.
Never worked with card readers before.
So far it worked:
- Connect to the card reader and initialize its operation
- Capture the card
- Get the card's response to reset (ATR)
I can't read anything from the card. Maybe I'm using the wrong commands, maybe I'm trying to read the wrong directories and files: no understanding.
I ask for help, especially if anyone has worked with ICT3K7 or ICT3K5.
I found 2 threads on the forums where people could read OMC via WinSCard via APDU: They chose foms_root, then FOMS_ID, chose file 0201, read the data. It was not possible to repeat.
Found the source code of the OMSReader program (available on GIThub). I tried to reproduce the sequence of actions of this program: I did not receive any data. The work came to a standstill.
I use RS8Test.exe like this:
For initialization: C$30$30$33$32$34$31$30$30$31$30$30
Pick up card: C$32$30
Activate on IC-card and get ATR: C$49$30
Then I tried: using C$49$34 or C$49 $34 send/read data. The card reader does not give errors, but always Data size = 0.
Card:
- Has a chip, does not have magnetic stripes
- Supports T=1 (according to ATR) - ATR: 3B D9 11 00 81 31 FE 8D 00 00 46 4F 4D 53 31 2E 31 32
This card reader model:
- Connects to a com port
- Does not have its own drivers and does not require them to work
- DOES NOT WORK WITH WINSCARD
Attempt to read:
C$49$34$00$a4$04$0c$07$46$4f$4d$53$5f$49$44C$49$34$00$a4$02$0c$02$02$01C$49$34$00$b0$00$00$00Answer : NI465 ( 4E 49 34 36 35 ) Data size = 0
Wrote a "wrapper" for working with ICT3K5_6240DLL.dll under Delphi.
For tests of the same commands that I wrote above - I use ExecuteCommand.
I will be grateful for any help.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question