You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having issues with the module and rfid, sometimes when it doesn't read well it crashes.
tag_type = self.pn532.mifare_read(address)
File "/home/pi/.py/lib/python3.7/site-packages/py532lib/mifare.py", line 181, in mifare_read
return self.in_data_exchange(bytearray([MIFARE_COMMAND_READ,address]))
File "/home/pi/.py/lib/python3.7/site-packages/py532lib/mifare.py", line 112, in in_data_exchange
raise IOError("InDataExchange returned error status: {0:#x}".format(response[1]))
OSError: InDataExchange returned error status: 0x1
When I try to try/catch the error and read again, it blocks the rfid. It stops to work and I need to power off/on the rfid.
Any hint?
The text was updated successfully, but these errors were encountered:
I'm having issues with the module and rfid, sometimes when it doesn't read well it crashes.
File "/home/pi/.py/lib/python3.7/site-packages/py532lib/mifare.py", line 181, in mifare_read
return self.in_data_exchange(bytearray([MIFARE_COMMAND_READ,address]))
File "/home/pi/.py/lib/python3.7/site-packages/py532lib/mifare.py", line 112, in in_data_exchange
raise IOError("InDataExchange returned error status: {0:#x}".format(response[1]))
OSError: InDataExchange returned error status: 0x1
When I try to try/catch the error and read again, it blocks the rfid. It stops to work and I need to power off/on the rfid.
Any hint?
The text was updated successfully, but these errors were encountered: