Pn5180.SendDataToCard(Span<Byte>, Int32) 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.
Send data to a card.
public bool SendDataToCard (Span<byte> toSend, int numberValidBitsLastByte = 8);
member this.SendDataToCard : Span<byte> * int -> bool
Public Function SendDataToCard (toSend As Span(Of Byte), Optional numberValidBitsLastByte As Integer = 8) As Boolean
Parameters
- numberValidBitsLastByte
- Int32
The number of bits valid in the last byte, 8 is the default. If validBits == 3 then it's equivalent to apply a mask of 0b000_0111 to get the correct valid bits
Returns
True if success
Remarks
Using this function you'll have to manage yourself the possible low level communication protocol. This function write directly to the card all the bytes. Please make sure you'll first load specific radio frequence settings, detect a card, select it and then send data
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