nanoFramework.Iot.Device.Card 1.2.881

Prefix Reserved
dotnet add package nanoFramework.Iot.Device.Card --version 1.2.881
                    
NuGet\Install-Package nanoFramework.Iot.Device.Card -Version 1.2.881
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="nanoFramework.Iot.Device.Card" Version="1.2.881" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="nanoFramework.Iot.Device.Card" Version="1.2.881" />
                    
Directory.Packages.props
<PackageReference Include="nanoFramework.Iot.Device.Card" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add nanoFramework.Iot.Device.Card --version 1.2.881
                    
#r "nuget: nanoFramework.Iot.Device.Card, 1.2.881"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package nanoFramework.Iot.Device.Card@1.2.881
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=nanoFramework.Iot.Device.Card&version=1.2.881
                    
Install as a Cake Addin
#tool nuget:?package=nanoFramework.Iot.Device.Card&version=1.2.881
                    
Install as a Cake Tool

RFID shared elements

Common elements of all RFID and NFC readers like the type of cards 14443 Type A, Type B, Innovision Jewel.

This contains as well an abstract class that has to be implemented by readers to have a transparent way of managing Mifare, Ultralight cards and other high level cards.

namespace Iot.Device.Card
{
    /// <summary>
    /// Abstract class implementing a specific Write and Read function
    /// This class allow to transceive information with the card
    /// This class has to be implemented in all RFID/NFC/Card readers
    /// So Mifare cards can be used the same way independent of any reader
    /// </summary>
    public abstract class CardTransceiver
    {
        /// <summary>
        /// This function has to be implemented by all NFC/RFID/Card readers. This function is used in exchange of data with
        /// the reader and the cards.
        /// </summary>
        /// <param name="targetNumber">Some readers have a notion of target number for the cards as they can read multiple ones</param>
        /// <param name="dataToSend">A standardized raw buffer with the command at the position 0 in the array</param>
        /// <param name="dataFromCard">If any data are read from the card, they will be put into this array</param>
        /// <returns>-1 in case of error, otherwise the number of bytes read and copied into the <paramref name="dataFromCard"/> array</returns>
        public abstract int Transceive(byte targetNumber, SpanByte dataToSend, SpanByte dataFromCard);

        /// <summary>
        /// Once you have an authentication operation failing with Mifare cards or a read/write, the card stop.
        /// TYhe only way to have it back is to send the unselect and anti collision.
        /// This function provides this feature
        /// </summary>
        /// <param name="targetNumber">The target number to reselect</param>
        /// <returns>True if success</returns>
        public abstract bool ReselectTarget(byte targetNumber);
    }
}
Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on nanoFramework.Iot.Device.Card:

Package Downloads
nanoFramework.Iot.Device.Mfrc522

This package includes the .NET IoT Core binding Iot.Device.Mfrc522 for .NET nanoFramework C# projects.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.881 522 4/28/2025
1.2.867 387 4/2/2025
1.2.861 202 4/2/2025
1.2.850 302 3/10/2025
1.2.840 319 3/5/2025
1.2.836 141 3/3/2025
1.2.817 349 2/26/2025
1.2.810 161 2/25/2025
1.2.788 307 2/5/2025
1.2.784 198 2/4/2025
1.2.780 191 2/4/2025
1.2.768 228 2/4/2025
1.2.757 180 1/31/2025
1.2.752 186 1/31/2025
1.2.727 324 1/8/2025
1.2.702 286 12/18/2024
1.2.689 243 12/11/2024
1.2.671 408 10/23/2024
1.2.654 318 10/2/2024
1.2.633 314 8/30/2024
1.2.605 433 8/2/2024
1.2.593 200 7/24/2024
1.2.587 225 7/12/2024
1.2.550 503 5/17/2024
1.2.546 221 5/15/2024
1.2.529 369 4/12/2024
1.2.524 188 4/9/2024
1.2.519 179 4/5/2024
1.2.485 642 2/2/2024
1.2.482 212 1/31/2024
1.2.444 635 11/17/2023
1.2.432 267 11/10/2023
1.2.428 119 11/10/2023
1.2.421 135 11/9/2023
1.2.419 121 11/9/2023
1.2.326 1,542 5/24/2023
1.2.297 338 5/3/2023
1.2.243 1,207 2/20/2023
1.2.212 570 1/5/2023
1.2.203 911 12/28/2022
1.2.159 724 11/14/2022
1.2.153 622 11/5/2022
1.2.141 707 10/25/2022
1.2.128 194 10/22/2022
1.2.118 205 10/11/2022
1.2.114 191 10/8/2022
1.2.95 214 9/22/2022
1.2.89 217 9/16/2022
1.2.87 268 9/15/2022
1.2.40 219 8/6/2022
1.2.35 193 8/4/2022
1.1.116.8772 224 6/24/2022
1.1.113.2032 206 6/23/2022
1.1.111.5739 211 6/17/2022
1.1.109.32999 199 6/16/2022
1.1.99.36719 201 6/14/2022
1.1.97.17326 217 6/13/2022
1.1.92.53000 223 6/8/2022
1.1.48.19401 224 5/19/2022
1.1.38 239 5/4/2022
1.1.3 239 4/15/2022
1.1.1 229 4/14/2022
1.0.300 233 3/31/2022
1.0.288-preview.114 220 3/25/2022
1.0.288-preview.113 202 3/25/2022
1.0.288-preview.104 208 3/22/2022
1.0.288-preview.100 198 3/19/2022
1.0.288-preview.98 216 3/18/2022
1.0.288-preview.94 211 3/15/2022
1.0.288-preview.93 201 3/15/2022
1.0.288-preview.90 210 3/11/2022
1.0.288-preview.87 216 3/10/2022
1.0.288-preview.73 215 2/25/2022
1.0.288-preview.65 207 2/18/2022
1.0.288-preview.59 203 2/11/2022
1.0.288-preview.51 214 2/8/2022
1.0.288-preview.48 220 2/4/2022
1.0.288-preview.41 223 1/31/2022
1.0.288-preview.33 234 1/30/2022
1.0.288-preview.29 231 1/28/2022
1.0.288-preview.20 234 1/27/2022
1.0.288-preview.19 223 1/27/2022
1.0.288-preview.18 224 1/27/2022
1.0.288-preview.5 229 1/24/2022
1.0.288-preview.1 213 1/21/2022
1.0.272 262 1/10/2022