From 2002d335c5c403957bbb3a8dd9cfd528cf1b56c5 Mon Sep 17 00:00:00 2001 From: gdudek Date: Sat, 2 Aug 2025 14:15:37 -0400 Subject: [PATCH] pn532: bump InListPassiveTarget response_length to 64 to handle long ATS --- 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 c809d12..1974ebe 100644 --- a/adafruit_pn532/adafruit_pn532.py +++ b/adafruit_pn532/adafruit_pn532.py @@ -409,7 +409,7 @@ def get_passive_target(self, timeout: float = 1) -> Optional[Union[bytes, bytear card's UID. This reduces the amount of time spend checking for a card. """ response = self.process_response( - _COMMAND_INLISTPASSIVETARGET, response_length=30, timeout=timeout + _COMMAND_INLISTPASSIVETARGET, response_length=64, timeout=timeout ) # If no response is available return None to indicate no card is present. if response is None: