okadan / flutter-nfc-manager

A Flutter plugin for accessing the NFC features on Android and iOS.
https://pub.dev/packages/nfc_manager
MIT License
190 stars 125 forks source link

How to read all data from mifare ? #157

Open KhomsanSaejia opened 9 months ago

KhomsanSaejia commented 9 months ago

Sorry, I have some problems with when I read NFC. I want to read all data in mifare card (block, sector) in the example code. The response shows the number of blocks and the number of sectors. But there are no card details. Do you have a sample for me? Screenshot_20230918-151744 1

conedie commented 8 months ago

@KhomsanSaejia Did you find any solution?

conedie commented 8 months ago

@KhomsanSaejia Researching I found that it is related to the ASCII code.

KhomsanSaejia commented 8 months ago

@conedie yes I can. For now I can reading mifare classic

jennachennn commented 2 months ago

I have the same problem. I can only see the quantity of sectors but not the detailed card content. How did you handle this?

KhomsanSaejia commented 2 months ago

@jennachennn I'm not sure I will check my code again but you can use MifareClassic instead of Ndef

KhomsanSaejia commented 2 months ago

@jennachennn you can try this. code

jennachennn commented 2 months ago

@KhomsanSaejia Thank you! I'll give it a try.