hy ,
I have a ACR120U SDK, and I want to install it with LINUX (débian), I have just on this link :
"http://www.acs.com.hk/drivers-manual.php?driver=ACR120" , the API drivers and I don't understand how is it work?.... somebody can help me?
Printable View
hy ,
I have a ACR120U SDK, and I want to install it with LINUX (débian), I have just on this link :
"http://www.acs.com.hk/drivers-manual.php?driver=ACR120" , the API drivers and I don't understand how is it work?.... somebody can help me?
Moved from API forum since this seems like a Linux installation problem.
OK looking at the download, it comes as a RAR file so firstly you'll need to extract that using unrar or a similar utility, then if you cd into the extracted directory, you need to run "install.sh -i" which should install the drivers. Any help?
Quote:
Originally Posted by CyberSurfer
when I have installed the file .rar download of "http://www.acs.com.hk/drivers-manual.php?driver=ACR120", and I do "install.sh -i" what have I do after in order to do work the ACR120U. I have just installed the librairy. The CD-ROM doesn't have the program of LINUX; Because When I connect the USB to the PC, nothing takes place.
Quote:
Originally Posted by CyberSurfer
When I extract I have that:
Extracting from ACR120U_API_Linux-Installer.rar
Creating ACR120U_API_Linux-Installer OK
Extracting ACR120U_API_Linux-Installer/ACR120.h OK
Extracting ACR120U_API_Linux-Installer/libACR120U.so.1.5.0.4 OK
Extracting ACR120U_API_Linux-Installer/ReadMe.txt OK
Extracting ACR120U_API_Linux-Installer/setup.sh OK
Then I install it:
# ./setup.sh -i
Please specify the location to install driver library [default: /usr/local]:
Installing ACR120U Shared Library ...
Installing driver library to /usr/local/lib ...
Installing library header to /usr/local/include ...
Installation is done!
And after When I connect the contacless, how have I do to work it?
thanks
I think you need to check the API Reference out. I've the same reader but I've used it with Windows and .Net, which was a relatively easy exercise.
hi i everyone please help me i need sdk for acr 120 usb for developt my final project actually i need source code sample ..... can any people hepl me please........:)
The SDK includes sample code in C++, C# and VB.Net.
but i'm missing my cd development kit where i can get the new one please?
You can find everything here.
hi iwas develop code for login with acr 120 usb but i have error code -2030
this is my code :
whats wrong with my codevb Code:
Dim sto As Long Dim LogType As Byte Dim TagType As Byte Dim TagLength As Byte Dim TagSN(0 To 9) As Byte Dim ResultTagType As Byte Dim ResultTagLength As Byte ' Select Tag retcode = ACR120_Select(rHandle, ResultTagType, ResultTagLength, TagSN(0)) If retcode < 0 Then MsgBox ErrDef(retcode) HaveTag = False Else HaveTag = True MsgBox "selected Success" If HaveTag = True Then If ResultTagType = 4 Or ResultTagType = 5 Then SN = "" For ctr = 0 To 3 SN = SN + Hex(TagSN(ctr)) + " " Next End If End If End If Select Case (Combo1.ListIndex) Case 0: LogType = ACR120_LOGIN_KEYTYPE_AA 'Log in using Keytype AA... User Key Input 'Convert Hex keys to Decimal before storing in Pkey() pKey(0) = Hex_Dec(Text3, 1) pKey(1) = Hex_Dec(Text4, 1) pKey(2) = Hex_Dec(Text5, 1) pKey(3) = Hex_Dec(Text6, 1) pKey(4) = Hex_Dec(Text7, 1) pKey(5) = Hex_Dec(Text8, 1) Case 1: LogType = ACR120_LOGIN_KEYTYPE_BB 'Log in using Keytype BB... User Key Input 'Convert Hex keys to Decimal before storing in Pkey() pKey(0) = Hex_Dec(Text3, 1) pKey(1) = Hex_Dec(Text4, 1) pKey(2) = Hex_Dec(Text5, 1) pKey(3) = Hex_Dec(Text6, 1) pKey(4) = Hex_Dec(Text7, 1) pKey(5) = Hex_Dec(Text8, 1) Case 2: LogType = ACR120_LOGIN_KEYTYPE_FF 'Log in using the Transport Key which is FF FF FF FF FF FF pKey(0) = &HFF pKey(1) = &HFF pKey(2) = &HFF pKey(3) = &HFF pKey(4) = &HFF pKey(5) = &HFF Case 3: LogType = ACR120_LOGIN_KEYTYPE_STORED_A 'Login using stored keys A from user specified Register in EEPROM sto = CLng(txtStoredNumber.Text) Case 4: LogType = ACR120_LOGIN_KEYTYPE_STORED_B 'Login using stored keys B From user specified register in EEPROM sto = CLng(txtStoredNumber.Text) Case Else: MsgBox "Please Select Log-in Type", vbExclamation, "Log-In Fail" Exit Sub End Select 'set sector Sec = CInt(txtSector.Text) 'MsgBox sto 'Log in retcode = ACR120_Login(rHandle, Sec, LogType, sto, pKey(0)) RETCODE ITS ALWAYS GOTO ERROR .... -2030 'check if retcode is error If retcode < 0 Then 'Form1.List1.AddItem (ErrDef(retcode)) MsgBox ErrDef(retcode) Else 'Form1.List1.AddItem ("Login Success: " + CStr(retcode)) 'Form1.List1.AddItem ("Log at Sector: " + CStr(Sec)) Unload Me End If 'autoscroll listbox to the latest added item 'Form1.List1.ListIndex = Form1.List1.NewIndex Unload Me
-2030 means ERR_ACR120_INCORRECT_PARAM. You're passing something incorrect to the Login method. If you can add VBCode tags to your post I can try to see what's wrong, even though it's VB6. Better still, can you dump the contents of the rHandle, Sec, LogType, sto and pKey variables to a new post, plus the type of card you're using?
Thanks manavo, it's clearer now.
shivavalkyre, the contents of the rHandle, Sec, LogType, sto and pKey variables prior to the would be very helpful ACR120_Login method would be nice ;-)
Have you resolved your problem with your code?
Attaching the VB.Net samples I've got.
Thanks ntg... will be checking it out immediately...
I dont have the SDK CD :-(. Please ntg, could you attach the C++ and C# samples too?
Thanks in advance!
Here you go.
Thank you very much!
Doesn't have one. Try reading the VB.Net samples instead.
Kindle post the Delphi SDK for me....
--
Regards
Zack
Kindly note that I've never mentioned that there are Delphi samples.
Dear Ntg,
Sorry for misunderstanding me. I was making an enquiry, that if you have it i would really appreciate if you shared. i thought you had the SDK CD, which has most of the languages. But if anyone else has please share it with me, i have an application am upgreading in delphi.
Regards
Zack
Hi I'm having some problems with the development of one application using my reader ACR120 Usb !
I saw that some of you posted some sample souce code but even with that I'm not able to read more than the UID of a mifare Ultralight card !
I'm trying to read the entire memory of the card and also to be able to write inside the user memory but I don't understand how to deal with that !
Is there anyone of u who would be able to help me !or who would be able to send me the ACR120 Tool program from the sdk disk ???
Thanks in advance
Unfortunately I haven't used a mifare Ultralight card.
I read on the documentation of the sdk cd that the ACR120 Tool program would be able to give me some information in a lot of different tags.
It would be nice if u can provide me that program !!!
Whatever ACS has posted in this link is available for download. I can't really post one of their own programs from the SDK now, can I?
Maybe it's not so good to post it directly like that in the forum but u can contact me by personnal message to find a solution !
thanks in advance !
Sorry black, bad idea. I'd really love to help you out but posting the code is the only thing I can do.
It's ok ! the sample u already posted helped me a lot but not to finalize what I want to do :(
I also contacted the website of the reader's creator to ak them how to use that reader with the mifare ultralight cards but they does'nt seem to care a lot about their customers :(
They just want you to buy the SDK ;)
please help me guys.., this is for our thesis.., we used acr120u reader and the problem is we dont know how to write in mifare card, what is the purpose of login?
Thesis for what?
an access control system, we used acr120u for our system.
The card has data that is arranged in sectors. To access sector data you need to provide a key (that's what happens with Login). Depending upon the key, you may be able to just read the data or read and write data back to the card. Key distribution depends upon your application (for example, access control is totally different than having a transport wallet like the Oyster Card).
The mifare cards use what at first inspection appears to be a complex access control system but when you get familiarized it's not that hard. However, in order to get more info you need the ACR SDK documents. I don't know what you've purchased but I suspect that if you only got an ACR contactless reader/writer you didn't get access to the documents. If that is so, you need to purchase an ACR SDK which comes complete with a contactless reader/writer and the SDK CD. That includes the "Mifare Standard Card IC Functional Specification" (without which you have no chance of figuring out the Mifare card scheme) and the "ACR Contactless Reader/Writer API". There are also some other documents but these are the most important ones.
Thanks ntg for the info, I have the sdk which I downloaded in here. Where do I get that key? What happens if I log in that key? I can now able to write on the card when I login that key? Thanks for your time.:)
Mifare cards come with default keys which you can use to later change those keys. Posted samples (like the master key sample) shows the default key.
Can these be possible?:
1. write/read generated number in mifare ultralight card.
2. change mifare ultralight card serial number.
3. write/read data in mifare ultralight card.
Hope for the answer. Thanks.. Thanks.. Thanks.. and Thank you!!!
As far as I know, you can't change the Mifare serial number.
So, writing a generated number or data in mifare ultralight card can be possible? How can I achieve it?
As I posted previously, you need to have a look at the SDK docs. Everything's described in there.
Where do I get that SDK documents? Where do I download that? Please tell me. Thank you.
Yes, I have the SDK but it is only a program made on vb.net and I don't have the knowledge to use it especially writing on the card.
Thank you very much ntg for your time and the answer and also for your patience. I am now clear with this problem. Thanks again.
You're welcome.
Hi,
Does anyone know if the ACR120u support Mifare standard 1k cards with 7 bytes UID? I know that the ACR120u and Mifare standard 1k cards support ISO14443, but i'm unable to read or write data in a 7 bytes UID card. I don't have any trouble writing or reading in a 4 bytes UID card using the ACR120u.
Sorry if this question doesn't belong in this post.