Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Read serial id mifare with pyscard

I am trying everything to read a serial id with a mifare card. I can use the atr from pyscard. But he will give the same id when i am using mulitiple cards.

Or do i write data on a mifare card. But how can i do this. I am useing the python script on a ubuntu server. My cardreader is a acr122u.

Please it will be very helpful

Thanks

like image 531
Wouter van Reeven Avatar asked Nov 07 '25 15:11

Wouter van Reeven


1 Answers

You should use APDU commands for this to work. The command to get UID is 0xFF,0xCA,0x00,0x00,0x00 in case of a mifare card.

Follow this link and look under high level api. This should give you an idea.

like image 56
Patrick Avatar answered Nov 10 '25 08:11

Patrick



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!