diff options
Diffstat (limited to 'cards/pn532_card.py')
-rw-r--r-- | cards/pn532_card.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cards/pn532_card.py b/cards/pn532_card.py index 6bff738..bc84002 100644 --- a/cards/pn532_card.py +++ b/cards/pn532_card.py @@ -120,6 +120,15 @@ class PN532_Virtual_Card(Card): len(target.ats), " ".join(map(lambda a: "%02X" % a, target.ats))) result.append(s) + elif target.type == utils.PN532_Target.TYPE_ISO14443B: + s = s + ", ATQB: %s" % ( + " ".join(map(lambda a: "%02X" % a, target.atqb)) ) + + if len(target.attrib_res) > 0: + s = s + ", ATTRIB_RES (%i bytes): %s" % ( + len(target.attrib_res), " ".join(map(lambda a: "%02X" % a, target.attrib_res))) + + result.append(s) return result |