MfrcCommand Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Command of MFRC522 reader
public enum MfrcCommand
type MfrcCommand =
Public Enum MfrcCommand
- Inheritance
-
MfrcCommand
Fields
CalculateCrc | 3 | Calculate CRC: activates the CRC coprocessor or performs a self test |
GenerateRandomId | 2 | Generate Random Id: generates a 10-byte random ID number |
Idle | 0 | Idle : no action, cancels current command execution |
Memory | 1 | Memory: stores 25 bytes into the internal buffer |
MifareAuthenticate | 14 | Mifare Authenticate: performs the MIFARE standard authentication as a reader |
NoCommandChange | 7 | No Command Change: no command change, can be used to modify the CommandReg register bits without affecting the command, for example, the PowerDown bit |
Receive | 8 | Receive: activates the receiver circuits |
ResetPhase | 15 | Reset Phase: soft resets the MFRC522 |
Transceive | 12 | Transceive: transmits data from FIFO buffer to antenna and automatically activates the receiver after transmission |
Transmit | 4 | Transmit: transmits data from the FIFO buffer |
Remarks
Most of the time, the only one you need to use is the Transceive command. The SendAndReceiveData function is already using some of those commands to allow send and receive scenarios
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for