Did you get any manual / guide / CD with it when you bought it?
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 would be VERY interested if anybody come up with a piece of code for red/write to a smart card....
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! :)
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 :)
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
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