Can't get UID or indentifier
I can't seem to print out the UID from the tag.
I can get the tag object successfully but can't seem to print the UID.
Can anyone see what's wrong?
def connected(tag):
return False
clf = nfc.Contactless
print(clf)
tag = clf.connect(
Traceback (most recent call last):
File "server.py", line 27, in <module>
tag = clf.connect(
File "/home/
result = self._rdwr_
File "/home/
if options[
File "server.py", line 13, in connected
print(tag.uid)
AttributeError: 'NTAG213' object has no attribute 'uid'
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- nfcpy Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask A for more information if necessary.