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.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -116,6 +116,7 @@ enum nfc_commands { · 115 unmodified lines | |||
| 116 | NFC_EVENT_SE_TRANSACTION, | 116 | NFC_EVENT_SE_TRANSACTION, |
| 117 | NFC_CMD_GET_SE, | 117 | NFC_CMD_GET_SE, |
| 118 | NFC_CMD_SE_IO, | 118 | NFC_CMD_SE_IO, |
| 119 | NFC_CMD_ACTIVATE_TARGET, | ||
| 119 | /* private: internal use only */ | 120 | /* private: internal use only */ |
| 120 | __NFC_CMD_AFTER_LAST | 121 | __NFC_CMD_AFTER_LAST |
| 121 | }; | 122 | }; |