nanoFramework.Iot.Device.Card
1.2.485
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package nanoFramework.Iot.Device.Card --version 1.2.485
NuGet\Install-Package nanoFramework.Iot.Device.Card -Version 1.2.485
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.485" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add nanoFramework.Iot.Device.Card --version 1.2.485
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: nanoFramework.Iot.Device.Card, 1.2.485"
#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.
// Install nanoFramework.Iot.Device.Card as a Cake Addin #addin nuget:?package=nanoFramework.Iot.Device.Card&version=1.2.485 // Install nanoFramework.Iot.Device.Card as a Cake Tool #tool nuget:?package=nanoFramework.Iot.Device.Card&version=1.2.485
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.
-
- nanoFramework.CoreLibrary (>= 1.15.5)
- nanoFramework.Logging (>= 1.1.81)
- nanoFramework.System.Text (>= 1.2.54)
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 (1)
Showing the top 1 popular GitHub repositories that depend on nanoFramework.Iot.Device.Card:
Repository | Stars |
---|---|
nanoframework/nanoFramework.IoT.Device
📦 This repo includes .NET nanoFramework implementations for various sensors, chips, displays, hats and drivers
|
Version | Downloads | Last updated |
---|---|---|
1.2.671 | 239 | 10/23/2024 |
1.2.654 | 255 | 10/2/2024 |
1.2.633 | 258 | 8/30/2024 |
1.2.605 | 262 | 8/2/2024 |
1.2.593 | 142 | 7/24/2024 |
1.2.587 | 165 | 7/12/2024 |
1.2.550 | 448 | 5/17/2024 |
1.2.546 | 166 | 5/15/2024 |
1.2.529 | 320 | 4/12/2024 |
1.2.524 | 136 | 4/9/2024 |
1.2.519 | 131 | 4/5/2024 |
1.2.485 | 483 | 2/2/2024 |
1.2.482 | 165 | 1/31/2024 |
1.2.444 | 606 | 11/17/2023 |
1.2.432 | 233 | 11/10/2023 |
1.2.428 | 87 | 11/10/2023 |
1.2.421 | 107 | 11/9/2023 |
1.2.419 | 91 | 11/9/2023 |
1.2.326 | 1,283 | 5/24/2023 |
1.2.297 | 277 | 5/3/2023 |
1.2.243 | 945 | 2/20/2023 |
1.2.212 | 509 | 1/5/2023 |
1.2.203 | 747 | 12/28/2022 |
1.2.159 | 659 | 11/14/2022 |
1.2.153 | 560 | 11/5/2022 |
1.2.141 | 639 | 10/25/2022 |
1.2.128 | 127 | 10/22/2022 |
1.2.118 | 142 | 10/11/2022 |
1.2.114 | 128 | 10/8/2022 |
1.2.95 | 150 | 9/22/2022 |
1.2.89 | 152 | 9/16/2022 |
1.2.87 | 202 | 9/15/2022 |
1.2.40 | 150 | 8/6/2022 |
1.2.35 | 122 | 8/4/2022 |
1.1.116.8772 | 154 | 6/24/2022 |
1.1.113.2032 | 132 | 6/23/2022 |
1.1.111.5739 | 133 | 6/17/2022 |
1.1.109.32999 | 127 | 6/16/2022 |
1.1.99.36719 | 129 | 6/14/2022 |
1.1.97.17326 | 142 | 6/13/2022 |
1.1.92.53000 | 137 | 6/8/2022 |
1.1.48.19401 | 148 | 5/19/2022 |
1.1.38 | 159 | 5/4/2022 |
1.1.3 | 162 | 4/15/2022 |
1.1.1 | 149 | 4/14/2022 |
1.0.300 | 155 | 3/31/2022 |
1.0.288-preview.114 | 145 | 3/25/2022 |
1.0.288-preview.113 | 127 | 3/25/2022 |
1.0.288-preview.104 | 117 | 3/22/2022 |
1.0.288-preview.100 | 126 | 3/19/2022 |
1.0.288-preview.98 | 144 | 3/18/2022 |
1.0.288-preview.94 | 133 | 3/15/2022 |
1.0.288-preview.93 | 126 | 3/15/2022 |
1.0.288-preview.90 | 134 | 3/11/2022 |
1.0.288-preview.87 | 139 | 3/10/2022 |
1.0.288-preview.73 | 136 | 2/25/2022 |
1.0.288-preview.65 | 130 | 2/18/2022 |
1.0.288-preview.59 | 125 | 2/11/2022 |
1.0.288-preview.51 | 138 | 2/8/2022 |
1.0.288-preview.48 | 143 | 2/4/2022 |
1.0.288-preview.41 | 145 | 1/31/2022 |
1.0.288-preview.33 | 149 | 1/30/2022 |
1.0.288-preview.29 | 150 | 1/28/2022 |
1.0.288-preview.20 | 153 | 1/27/2022 |
1.0.288-preview.19 | 145 | 1/27/2022 |
1.0.288-preview.18 | 145 | 1/27/2022 |
1.0.288-preview.5 | 149 | 1/24/2022 |
1.0.288-preview.1 | 137 | 1/21/2022 |
1.0.272 | 182 | 1/10/2022 |