cannot read type4tag ndef record

Asked by Derk Tegeler

When touching a type 4 tag (Yubikey NEO), the ndef record is 'None', whilst it works on a android phone.

The examples/tagtool.py app reports an exception: 'capability container not found'

Is this a bug or a limitation?

code:
In [1]: def connected(tag):
    print tag,tag.ndef
   ...:

In [2]: import nfc

In [3]: c=nfc.ContactlessFrontend('usb' )

In [4]: c.connect(rdwr={'on-connect': connected})
Type4Tag ATQ=4400 SAK=28 UID=043d1d4a0e3580 ATS=1178f7b102597562696b65794e454f7233 None
Out[4]: <nfc.tag.tt4.Type4Tag at 0x24a0210>

In [5]: print c
SCM Micro SCL3711-NFC&RW on usb:002:025

Question information

Language:
English Edit question
Status:
Answered
For:
nfcpy Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Stephen Tiedemann (stephen-tiedemann) said :
#1

Your tag may just not be prepared for NDEF. Run "examples/tagtool.py -d nfc.tag" to see if the NDEF File on the tag could be opened.

Can you help with this problem?

Provide an answer of your own, or ask Derk Tegeler for more information if necessary.

To post a message you must log in.