MfRc522.SendAndReceiveData Method
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.
Sand and Receive Data.
public Iot.Device.Mfrc522.Status SendAndReceiveData (Iot.Device.Mfrc522.MfrcCommand command, ReadOnlySpan<byte> sendData, Span<byte> receiveData, byte numberValidBitsLastByte = 8);
member this.SendAndReceiveData : Iot.Device.Mfrc522.MfrcCommand * ReadOnlySpan<byte> * Span<byte> * byte -> Iot.Device.Mfrc522.Status
Public Function SendAndReceiveData (command As MfrcCommand, sendData As ReadOnlySpan(Of Byte), receiveData As Span(Of Byte), Optional numberValidBitsLastByte As Byte = 8) As Status
Parameters
- command
- MfrcCommand
The MFRC522 command.
- sendData
- ReadOnlySpan<Byte>
The data to send.
The data to receive. Note that you need to have at least the size of data you expect to receive.
- numberValidBitsLastByte
- Byte
The number of bits valid in the last byte, 8 is the default.
Returns
True if the operation is successful.
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