AdamLaurie / RFIDIOt

python RFID / NFC library & tools
http://www.rfidiot.org/
1.04k stars 224 forks source link

"writeblock" function not implemented for "READER_LIBNFC" #20

Open erwanpillet opened 8 years ago

erwanpillet commented 8 years ago

When I try to use the writeblock function defined in RFIDIOT.py with the option readertype=READER_LIBNFC defined in init.py i get the error "9000 no further qualification" which is weird as this code is not an error code but a code to point out a well processed command in ISO7816

As i looked out into the code, it turned out that the function writeblock only has code for READER_FROSCH, READER_AGC and READER_PCSC.

Is READER_LIBNFC supported with the writeblock operation ?

Thanks for the attention,

Erwan

MonsieurV commented 6 years ago

Today the operation is clearly not implemented for READER_LIBNFC

See https://github.com/AdamLaurie/RFIDIOt/blob/f4b5582d2a1095575d0d6b9fdeaa824c445d89f3/rfidiot/RFIDIOt.py#L1760