Thanks for the suggestion DeaD_EyE,
I tried:
Scratch that! The last thing I did yesterday was to annotate out the the data being passed from the byte array and replace it with the frame length!
Switched it back and got the expected result!
Thanks again DeaD_EyE
I tried:
import binascii readable_data = binascii.b2a_hex(bytearray(b'K\x01\x01\x00\x00\x08\x04\x97*f9')) print(readable_data)And unfortunately get the following error:
Error:Traceback (most recent call last):
File "nfc-test2.py", line 23, in status_check
readable_data=binascii.b2a_hex(card_data)
TypeError: a bytes-like object is required, not 'int'
I'd also like to know what the x97*f9 means in the bytearray and how that translates to "readable data", so can answer the question myself next time and not have to bug anyone. Scratch that! The last thing I did yesterday was to annotate out the the data being passed from the byte array and replace it with the frame length!
Switched it back and got the expected result!
Thanks again DeaD_EyE