android - What happens to CRC errors with <NfcTechnology>.transcieve(byte[])? -
i transferring bytes , reading bytes tag technologies; nfca, mifareultralight, isodep (mifare desfire), nfcf(felica lite-s) , mifareclassic. these have transceive(byte[]) function transmitting commands. work important detect when crc error has occurd, however, description of how transceive function handles crc rather brief. crc added transceive function , removed when responce received tag. how can detect when crc error has occurred? can see, transceive functions throw 2 kinds of exceptions: ioexception , taglostexception, , seems reasonable crc error result in ioexception, time ioexception thrown?
any appreciated..
by taking description of transceive
command:
throws ioexception
if there i/o failure, or operation canceled.
therefore, not crc, time out, parity, framing errors, ... detected. errors depend on nfc controller in android device.
Comments
Post a Comment