954,093 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How to read/write on a smart card

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.

alski
Newbie Poster
6 posts since Oct 2007
Reputation Points: 10
Solved Threads: 0
 

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?

Salem
Posting Sage
Team Colleague
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953
 

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

alski
Newbie Poster
6 posts since Oct 2007
Reputation Points: 10
Solved Threads: 0
 

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?

maddog39
Light Poster
39 posts since Oct 2007
Reputation Points: 10
Solved Threads: 5
 

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.

alski
Newbie Poster
6 posts since Oct 2007
Reputation Points: 10
Solved Threads: 0
 

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

kerek2
Junior Poster
118 posts since Sep 2007
Reputation Points: 20
Solved Threads: 0
 
I got same problem to for this ACR120....plz help us


Did you read Salem's link?

John A
Vampirical Lurker
Team Colleague
7,630 posts since Apr 2006
Reputation Points: 2,240
Solved Threads: 339
 

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

kerek2
Junior Poster
118 posts since Sep 2007
Reputation Points: 20
Solved Threads: 0
 

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

brillox
Newbie Poster
5 posts since Dec 2007
Reputation Points: 10
Solved Threads: 0
 

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

sanyak
Newbie Poster
2 posts since Aug 2008
Reputation Points: 10
Solved Threads: 1
 

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

brillox

brillox
Newbie Poster
5 posts since Dec 2007
Reputation Points: 10
Solved Threads: 0
 

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

lewix
Newbie Poster
1 post since Oct 2008
Reputation Points: 10
Solved Threads: 0
 

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

brillox
Newbie Poster
5 posts since Dec 2007
Reputation Points: 10
Solved Threads: 0
 

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.

sekarcse038
Newbie Poster
3 posts since Oct 2009
Reputation Points: 10
Solved Threads: 0
 

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

mishra200
Newbie Poster
1 post since Nov 2009
Reputation Points: 10
Solved Threads: 0
 

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

ManojGarg
Newbie Poster
1 post since Jun 2010
Reputation Points: 10
Solved Threads: 0
 

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!

zorbea44
Newbie Poster
1 post since Sep 2010
Reputation Points: 10
Solved Threads: 0
 

I think this software will work http://www.cardlogix.com/products/software/devtools.asp it's called Smart Toolz. I know it works with Omnikey, SCM, and some ACR readers but not 100% sure on the 120 model.

reloohcs
Newbie Poster
1 post since Oct 2010
Reputation Points: 10
Solved Threads: 0
 

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.

dynamate
Newbie Poster
1 post since Nov 2010
Reputation Points: 10
Solved Threads: 0
 

Can use http://comex-project.googlecode.com to send/receive data, this reader is standard pcsc

A.Basile
Newbie Poster
1 post since Nov 2011
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: