Merge pull request #47 from the-infinity/patch-1
accept longer ATS for ISO14443A-4 cards
This commit is contained in:
commit
9e9335a6c1
2 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -32,7 +32,7 @@ class PN532_I2C(PN532):
|
|||
def __init__(self, i2c, *, irq=None, reset=None, req=None, debug=False):
|
||||
"""Create an instance of the PN532 class using I2C. Note that PN532
|
||||
uses clock stretching. Optional IRQ pin (not used),
|
||||
reset pin and debugging output.
|
||||
resetp pin and debugging output.
|
||||
"""
|
||||
self.debug = debug
|
||||
self._req = req
|
||||
|
|
Loading…
Reference in a new issue