History

NFC: netlink: Add new netlink command NFC_CMD_ACTIVATE_TARGET

Some tag might get deactivated after some read or write tentative. This may happen for example with Mifare Ultralight C tag when trying to read the last 4 blocks (starting block 0x2c) configured as write only. NFC_CMD_ACTIVATE_TARGET will try to reselect the tag in order to detect if it got remove from the field or if it is still present.

Christophe Ricard committed 11 years ago

Commit 3682f491 parent 9295b5b2 files · +31 −0Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/nfc.h+1−0
@@ -116,6 +116,7 @@ enum nfc_commands { · 115 unmodified lines
116116 NFC_EVENT_SE_TRANSACTION,
117117 NFC_CMD_GET_SE,
118118 NFC_CMD_SE_IO,
119+ NFC_CMD_ACTIVATE_TARGET,
119120 /* private: internal use only */
120121 __NFC_CMD_AFTER_LAST
121122 };