GithubHelp home page GithubHelp logo

Comments (7)

zizusoft avatar zizusoft commented on August 11, 2024

Any idea is Mifare Classic tag identifier (the CSN) is being returned (even if the payload record isn't) ?

from plugin.nfc.

jerryvanechelpoel avatar jerryvanechelpoel commented on August 11, 2024

I believe it did. What I noticed is that tag is detected, but the payload is not read out. I tried NFC Tools to make sure that the tag contains data, and it dit, so it must be clearly something in this library.

from plugin.nfc.

franckbour avatar franckbour commented on August 11, 2024

I have two MifareClassic 1k tags and its works fine.

The available technologies of your tag should be NfcA, MifareClassic, Ndef.
If you have NdefFormatable instead of Ndef, your need to format the tag before using this plugin.

image

from plugin.nfc.

jerryvanechelpoel avatar jerryvanechelpoel commented on August 11, 2024

Well that's exactly what I said: NFC Tools detects the data, but Plugin.NFC just isn't able to read the data from the tag and show it to the consuming code.

from plugin.nfc.

franckbour avatar franckbour commented on August 11, 2024

Then i need more information. Like I just said, i tested with two differents tags and it works fine, data and serial number are read.
What technologies are used in your tag and what kind of data is stored ?

from plugin.nfc.

twsl avatar twsl commented on August 11, 2024

In order to support mifare classic on android, check here, for mifare desfire you need to read from isodep

from plugin.nfc.

dalton5 avatar dalton5 commented on August 11, 2024

Hi,

I had the same issue. And the problem came from the format method line 248

In the NFC.android.cs file,

Add an else and this code. It worked perfectly for me. And I was not able to do it with the original code.

NdefFormatable ndefFormatable = NdefFormatable.Get(_currentTag); if (ndefFormatable != null && clearMessage) { // initialize tag with new NDEF message try { ndefFormatable.Connect(); ndefFormatable.Format(null); } finally { try { ndefFormatable.Close(); } catch (Exception e) { isnull = true; } } }

from plugin.nfc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.