hi all,

I'm having a hard time searching on how to read or write on a smart card? i have an acr120 contactless reader/writer as the input/output device. Please help.

Thank you.

Recommended Answers

All 19 Replies

http://www.scdeveloper.com/Readers/ACR120.htm
Perhaps click on "SC Developer Resources" ?

Did you get any manual / guide / CD with it when you bought it?

hi salem,

thanks for the response. actually we did get a sample program/sdk. the thing is, this is the first time i'm going to use the technology so i'm still researching the basics. i thought i can treat it as a common flash drive where i can do a simple read/write process

Well, I'm just curious. But, whats wrong with just mounting the card onto the operating system and using the filesystem to read/write to it? Are you trying to do something fancy/more complicated with it?

nothing fancy. i only need to know how to write and read a simple code (like student number) on a mifare chip which was embedded on an id card. now i know that i have to login first at a certain sector and block before i can read or write on it in hexa or ascii format.

I got same problem to for this ACR120....plz help us

I got same problem to for this ACR120....plz help us

Did you read Salem's link?

commented: hai i am new user +0

Yup...but still need to discuss more detail..maybe you can give sample application/code that have done with this reader...more helpful..tq

it sedems on the entire net nobody want to share code for this... quite strange

Hi friends i am currently going on with this smartcard- Read/ Write

I would be VERY interested if anybody come up with a piece of code for red/write to a smart card....

brillox

Member Avatar for lewix

I would be VERY interested if anybody come up with a piece of code for red/write to a smart card....

brillox

Hi!
I'm lewix and i'm a smartcard software developer.
If you are still interested about an example to read/write a smartcard you can check my project site
http://www.theskycard.org
SkyCard is my opensource application, written in C#, to handle T0/T1 smartcards and synchronous smartcards like Siemens SLE4428/SLE4442/SLE5528/SLE5542.
Any suggestion about improving my software is accepted! :)

Hi!
Lewix

Hi Lewix,

I am Italian too but I live in Scotland....

I am interested in the code; if I can get your private email address I can send to you my code as I managed to write an application, but I am unclear on APDU commands. Every tutorial that I find it makes me more confused :)

Massimo

hi all,

I'm having a hard time searching on how to read or write on a smart card? i have an acr120 contactless reader/writer as the input/output device. Please help.

Thank you.

hi..
if u want read & write on smart card based on ISO7816 standard.refer the iso7816-4 to ISO7816-9 standards in which the commands will be explained.

Hi,
I'm struggling with searching on how to read or write on a biometric card ? i have an smartec cid308 reader/writer as the input/output device. Please help.
Regards,
Rajesh

Fist u have to include ACS120.CS file in your aplication.
after that use ACS120_Open() u can pass ur port no here
then use ACS120_Select()
then user ACS120_Login() u have to pass sector no (0,15 for 1K card)
then user ACS120_Read(), ACS120_ReasdValue(),
ACS120Write(),ACS120WriteValue() functions by passing block No (0,2 for IK card)

There are 16 sectors in one 1k card
each sector have 4 blocks of each 16 byte
00,01,02,03
01 block of 01 sector is reserved for Manufacturer identification
03 block of each sector is reserved for trailr.
so do not write on these place
all the above functions can be fing in ACS120U.cs file which comes with SDK sample applications

hello,

ManojGarg can u send me an email address? I am new in this stuff and have no ideea about how to read/write smart cards. Maybe u can help me, thank you!

I want to knw maybe i can use MSR206 to write on a chip card? pls anyone to tell me suitble machine to write on chip card.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.