mxgxw / MFRC522-python

A small class to interface with the NFC reader Module MFRC522
GNU Lesser General Public License v3.0
521 stars 419 forks source link

bad indentation #3

Closed patovala closed 10 years ago

patovala commented 10 years ago

Hi, I've downloaded your library but it has bad indentation in your last commit, i rolled back to your first version and it's working, but as your last commit it is not working.

mxgxw commented 10 years ago

Thanks for the report. I'll fix it, I fixed it on my Raspberry and forgot to commit changes. My mistake.

rroels commented 10 years ago

Also, next to this problem there is an issue with the basic auth example...

key = [0xFF,0xFF,0xFF,0xFF,0xFF]

Should be:

keyA = [0xFF,0xFF,0xFF,0xFF,0xFF,0xFF]

mxgxw commented 10 years ago

Hi peanutman!

Sorry for taking too long to fix it. The indentation is OK now, also the example is fixed but i'm having problems with Authentication, I'm trying to figure out the cause now.

Regards. Mario.

COBECTb commented 10 years ago

I always receive auth error for all cards which I have " Card read UID: 136,52,204,192,176 Size: 4 AUTH ERROR!! AUTH ERROR(status2reg & 0x08) != 0 AUTH ERROR Card detected Card read UID: 136,52,204,192,176 Size: 4 AUTH ERROR!! AUTH ERROR(status2reg & 0x08) != 0 AUTH ERROR "

Denisfmartinez commented 9 years ago

Hello, Do you fix the problem of authentification? I've the same problem, this register is the "MFCrypto1ON"