Send a ISO7816 command APDU to the tag and receives a response APDU. Only available when `mifareFamily` returns `NFCMiFarePlus`, `NFCMiFareDESFire`.
- Parameters:
- apdu: The ISO7816-4 command APDU object.
- resultHandler: Returns a `NFCISO7816ResponseAPDU` or an Error when the operation is completed. A `NFCErrorDomain` error is returned when there is a communication
issue with the tag or tag does not support ISO7816-4 commands.
Send a ISO7816 command APDU to the tag and receives a response APDU. Only available when `mifareFamily` returns `NFCMiFarePlus`, `NFCMiFareDESFire`.
- Parameters:
- apdu: The ISO7816-4 command APDU object.
- Returns:
Returns a `NFCISO7816ResponseAPDU` object. A `NFCErrorDomain` error is returned when there is a communication
issue with the tag or tag does not support ISO7816-4 commands.
Send native MIFARE command to a tag. Support MIFARE UltraLight, Plus, and DESFire products. Crypto1 protocol is not supported.
Command chaining is handled internally by the method and the full response composed of the individual fragment is returned in the completion handler.
- Parameters:
- command: The complete MiFare command. CRC bytes are calculated and inserted automatically to the provided packet data frame.
- resultHandler: Completion handler called when the operation is completed. A `NFCErrorDomain` error is returned when there is a communication issue with the tag.
Successfully read data blocks will be returned from the Data object.