0
votes

I'm using Phonegap-nfc plugin

I'm trying to read data (payload) from my non-NDEF NFC card. the only ACTION that is triggered is ACTION_TAG_DISCOVERED and i only can read the tag_info.

the tag's techs are NfcB and IsoDep

nfc_tech_filter.xml

<tech-list>
    <tech>android.nfc.tech.NfcB</tech>
    <tech>android.nfc.tech.IsoDep</tech>
</tech-list>

NfcReader/AndroidManifest.xml

<intent-filter>
            <action android:name="android.nfc.action.NDEF_DISCOVERED" />
            <action android:name="android.nfc.action.TECH_DISCOVERED" />
            <action android:name="android.nfc.action.TAG_DISCOVERED" />
            <category android:name="android.intent.category.DEFAULT" />
</intent-filter>

can anyone please help me get the data?

1
What do you expect to read if the tag does not contain an NDEF payload? What type of card is it?Michael Roland
Thanks @MichaelRoland for your attention,,,Ben Cohen

1 Answers

0
votes

This plugin only supports NDEF. Android supports NfcB and IsoDep so it's possible to extend this plugin to do what i need.

Thanks to Don...