From c9fd4061b4a3b130a9cd93af79473021172b7fff Mon Sep 17 00:00:00 2001 From: Ernesto Ruge Date: Sat, 6 Mar 2021 12:40:37 +0100 Subject: [PATCH] accept longer ATS for ISO14443A-4 cards --- adafruit_pn532/adafruit_pn532.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adafruit_pn532/adafruit_pn532.py b/adafruit_pn532/adafruit_pn532.py index f674d5e..6671dc0 100644 --- a/adafruit_pn532/adafruit_pn532.py +++ b/adafruit_pn532/adafruit_pn532.py @@ -391,7 +391,7 @@ class PN532: card's UID. This reduces the amount of time spend checking for a card. """ response = self.process_response( - _COMMAND_INLISTPASSIVETARGET, response_length=19, timeout=timeout + _COMMAND_INLISTPASSIVETARGET, response_length=30, timeout=timeout ) # If no response is available return None to indicate no card is present. if response is None: