nanoFramework.Iot.Device.Card 1.2.605
前缀已预留
dotnet add package nanoFramework.Iot.Device.Card --version 1.2.605
NuGet\Install-Package nanoFramework.Iot.Device.Card -Version 1.2.605
此命令旨在在Visual Studio的软件包管理器控制台中使用,因为它使用了NuGet模块的Install-Package版本。
<PackageReference Include="nanoFramework.Iot.Device.Card" Version="1.2.605" />
对于支持PackageReference的项目,请将此XML节点复制到项目文件中以引用软件包。
paket add nanoFramework.Iot.Device.Card --version 1.2.605
NuGet 团队不提供对此客户端的支持。请联系其维护者以获取支持。
#r "nuget: nanoFramework.Iot.Device.Card, 1.2.605"
#r 指令可用于 F# Interactive 和 Polyglot Notebooks。请将此复制到交互式工具或脚本的源代码中,以引用软件包。
// Install nanoFramework.Iot.Device.Card as a Cake Addin #addin nuget:?package=nanoFramework.Iot.Device.Card&version=1.2.605 // Install nanoFramework.Iot.Device.Card as a Cake Tool #tool nuget:?package=nanoFramework.Iot.Device.Card&version=1.2.605
NuGet 团队不提供对此客户端的支持。请联系其维护者以获取支持。
RFID 共享元素
所有RFID和NFC读取器的常见元素,如14443类型A、类型B、Innovision Jewel等卡片类型。
它还包括一个抽象类,读者必须实现该类,以便以透明的方式管理Mifare、Ultralight卡片和其他高级卡片。
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);
}
}
产品 | 版本 兼容和额外的计算目标框架版本。 |
---|---|
.NET Framework | net 是兼容的。 |
-
- nanoFramework.CoreLibrary (>= 1.15.5)
- nanoFramework.Logging (>= 1.1.108)
- nanoFramework.System.Text (>= 1.2.54)
NuGet软件包 (1)
显示依赖nanoFramework.Iot.Device.Card的Top 1个NuGet包
包 | 下载 |
---|---|
nanoFramework.Iot.Device.Mfrc522 此包包含适用于.NET nanoFramework C#项目的.NET IoT Core绑定Iot.Device.Mfrc522。 |
GitHub仓库 (1)
显示依赖nanoFramework.Iot.Device.Card的Top 1个流行的GitHub仓库
仓库 | 星标 |
---|---|
nanoframework/nanoFramework.IoT.Device
📦 此仓库包含各种传感器、芯片、显示屏、帽子以及驱动程序的.NET nanoFramework实现
|
版本 | 下载 | 最后更新 |
---|---|---|
1.2.605 | 90 | 8/2/2024 |
1.2.593 | 103 | 7/24/2024 |
1.2.587 | 130 | 7/12/2024 |
1.2.550 | 405 | 5/17/2024 |
1.2.546 | 134 | 5/15/2024 |
1.2.529 | 294 | 4/12/2024 |
1.2.524 | 109 | 4/9/2024 |
1.2.519 | 114 | 4/5/2024 |
1.2.485 | 402 | 2/2/2024 |
1.2.482 | 134 | 1/31/2024 |
1.2.444 | 543 | 11/17/2023 |
1.2.432 | 183 | 11/10/2023 |
1.2.428 | 76 | 11/10/2023 |
1.2.421 | 95 | 11/9/2023 |
1.2.419 | 73 | 11/9/2023 |
1.2.326 | 1,145 | 5/24/2023 |
1.2.297 | 249 | 5/3/2023 |
1.2.243 | 843 | 2/20/2023 |
1.2.212 | 482 | 1/5/2023 |
1.2.203 | 675 | 12/28/2022 |
1.2.159 | 633 | 11/14/2022 |
1.2.153 | 538 | 11/5/2022 |
1.2.141 | 612 | 10/25/2022 |
1.2.128 | 116 | 10/22/2022 |
1.2.118 | 131 | 10/11/2022 |
1.2.114 | 117 | 10/8/2022 |
1.2.95 | 139 | 9/22/2022 |
1.2.89 | 141 | 9/16/2022 |
1.2.87 | 191 | 9/15/2022 |
1.2.40 | 133 | 8/6/2022 |
1.2.35 | 113 | 8/4/2022 |
1.1.116.8772 | 143 | 6/24/2022 |
1.1.113.2032 | 123 | 6/23/2022 |
1.1.111.5739 | 116 | 6/17/2022 |
1.1.109.32999 | 117 | 6/16/2022 |
1.1.99.36719 | 120 | 6/14/2022 |
1.1.97.17326 | 126 | 6/13/2022 |
1.1.92.53000 | 126 | 6/8/2022 |
1.1.48.19401 | 132 | 5/19/2022 |
1.1.38 | 147 | 5/4/2022 |
1.1.3 | 149 | 4/15/2022 |
1.1.1 | 137 | 4/14/2022 |
1.0.300 | 143 | 3/31/2022 |
1.0.288-preview.114 | 130 | 3/25/2022 |
1.0.288-preview.113 | 119 | 3/25/2022 |
1.0.288-preview.104 | 108 | 3/22/2022 |
1.0.288-preview.100 | 116 | 3/19/2022 |
1.0.288-preview.98 | 130 | 3/18/2022 |
1.0.288-preview.94 | 118 | 3/15/2022 |
1.0.288-preview.93 | 117 | 3/15/2022 |
1.0.288-preview.90 | 124 | 3/11/2022 |
1.0.288-preview.87 | 128 | 3/10/2022 |
1.0.288-preview.73 | 126 | 2/25/2022 |
1.0.288-preview.65 | 121 | 2/18/2022 |
1.0.288-preview.59 | 115 | 2/11/2022 |
1.0.288-preview.51 | 129 | 2/8/2022 |
1.0.288-preview.48 | 134 | 2/4/2022 |
1.0.288-preview.41 | 129 | 1/31/2022 |
1.0.288-preview.33 | 134 | 1/30/2022 |
1.0.288-preview.29 | 139 | 1/28/2022 |
1.0.288-preview.20 | 144 | 1/27/2022 |
1.0.288-preview.19 | 131 | 1/27/2022 |
1.0.288-preview.18 | 137 | 1/27/2022 |
1.0.288-preview.5 | 141 | 1/24/2022 |
1.0.288-preview.1 | 123 | 1/21/2022 |
1.0.272 | 173 | 1/10/2022 |