Skip to content

Commit ed7733a

Browse files
authored
Add PN532, MFRC522, PN5180 NFC readers, Mifare, Ultralight and NDEF (#113)
* adding NFC cards * Adjusting adjusting nuspec * adding comments, adjusting nuspec * adjusting documentation * adjusting card sln name * adjusting card sln and nfproj names
1 parent 1204c86 commit ed7733a

File tree

541 files changed

+6628
-26245
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

541 files changed

+6628
-26245
lines changed

devices/Bmxx80/ListBme680HeaterProfileConfig.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -169,14 +169,14 @@ public struct Enumerator : IEnumerator, IDisposable
169169
/// <param name="collection"></param>
170170
public Enumerator(ListBme680HeaterProfileConfig collection)
171171
{
172-
_index = 0;
172+
_index = -1;
173173
_collection = collection;
174174
}
175175

176176
/// <summary>
177177
/// Gets the element at the current position of the enumerator.
178178
/// </summary>
179-
public Bme680HeaterProfileConfig Current => _collection[_index];
179+
public Bme680HeaterProfileConfig Current => _collection[_index == -1 ? 0 : _index];
180180

181181
object IEnumerator.Current => Current;
182182

@@ -193,7 +193,7 @@ public void Dispose()
193193
/// the enumerator has passed the end of the collection.</returns>
194194
public bool MoveNext()
195195
{
196-
if (_index >= _collection.Count)
196+
if ((_index + 1) >= _collection.Count)
197197
{
198198
return false;
199199
}
@@ -207,7 +207,7 @@ public bool MoveNext()
207207
/// </summary>
208208
public void Reset()
209209
{
210-
_index = 0;
210+
_index = -1;
211211
}
212212
}
213213

src/devices_generated/Card/CardRfid.nfproj devices/Card/Card.nfproj

+9-13
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,6 @@
1919
<LangVersion>9.0</LangVersion>
2020
</PropertyGroup>
2121
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.props')" />
22-
<ItemGroup>
23-
<Reference Include="mscorlib">
24-
<HintPath>packages\nanoFramework.CoreLibrary.1.10.4-preview.11\lib\mscorlib.dll</HintPath>
25-
<Private>True</Private>
26-
</Reference>
27-
<Reference Include="UnitsNet.Length">
28-
<HintPath>packages\UnitsNet.nanoFramework.Length.4.92.0\lib\UnitsNet.Length.dll</HintPath>
29-
<Private>True</Private>
30-
</Reference>
31-
</ItemGroup>
3222
<ItemGroup>
3323
<None Include="packages.config" />
3424
<Compile Include="*.cs" />
@@ -39,18 +29,24 @@
3929
<Compile Include="*.cs" />
4030
<None Include="*.md" />
4131
</ItemGroup>
32+
<ItemGroup>
33+
<Reference Include="mscorlib, Version=1.10.5.4, Culture=neutral, PublicKeyToken=c07d481e9758c731">
34+
<HintPath>packages\nanoFramework.CoreLibrary.1.10.5\lib\mscorlib.dll</HintPath>
35+
<Private>True</Private>
36+
<SpecificVersion>True</SpecificVersion>
37+
</Reference>
38+
</ItemGroup>
4239
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.CSharp.targets" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.CSharp.targets')" />
43-
<Import Project="..\..\src\System.Runtime.CompilerService\System.Runtime.CompilerService.projitems" Label="Shared" />
4440
<ProjectExtensions>
4541
<ProjectCapabilities>
4642
<ProjectConfigurationsDeclaredAsItems />
4743
</ProjectCapabilities>
4844
</ProjectExtensions>
4945
<Import Project="packages\Nerdbank.GitVersioning.3.4.194\build\Nerdbank.GitVersioning.targets" Condition="Exists('packages\Nerdbank.GitVersioning.3.4.194\build\Nerdbank.GitVersioning.targets')" />
50-
<Target Name = "EnsureNuGetPackageBuildImports" BeforeTargets = "PrepareForBuild">
46+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
5147
<PropertyGroup>
5248
<ErrorText> This project references NuGet package(s) that are missing on this computer.Enable NuGet Package Restore to download them.For more information, see http://go.microsoft.com/fwlink/?LinkID=322105.The missing file is {0}.</ErrorText>
5349
</PropertyGroup>
54-
<Error Condition = "!Exists('packages\Nerdbank.GitVersioning.3.4.194\build\Nerdbank.GitVersioning.targets')" Text = "$([System.String]::Format('$(ErrorText)', 'packages\Nerdbank.GitVersioning.3.4.194\build\Nerdbank.GitVersioning.targets'))" />
50+
<Error Condition="!Exists('packages\Nerdbank.GitVersioning.3.4.194\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\Nerdbank.GitVersioning.3.4.194\build\Nerdbank.GitVersioning.targets'))" />
5551
</Target>
5652
</Project>

devices/Card/Card.nuspec

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
3+
<metadata>
4+
<id>nanoFramework.Iot.Device.CardRfid</id>
5+
<version>$version$</version>
6+
<title>nanoFramework.Iot.Device.CardRfid</title>
7+
<authors>nanoFramework project contributors</authors>
8+
<owners>nanoFramework project contributors,dotnetfoundation</owners>
9+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
10+
<license type="file">LICENSE.md</license>
11+
<releaseNotes>
12+
</releaseNotes>
13+
<developmentDependency>false</developmentDependency>
14+
<projectUrl>https://github.com/nanoframework/nanoFramework.IoT.Device</projectUrl>
15+
<iconUrl>https://secure.gravatar.com/avatar/97d0e092247f0716db6d4b47b7d1d1ad</iconUrl>
16+
<icon>images\nf-logo.png</icon>
17+
<repository type="git" url="https://github.com/nanoframework/nanoFramework.IoT.Device" commit="$commit$" />
18+
<copyright>Copyright (c) .NET Foundation and Contributors</copyright>
19+
<description>This package includes the .NET IoT Core binding Iot.Device.CardRfid, Mifare, Ultralight and NDEF for .NET nanoFramework C# projects.</description>
20+
<summary>Iot.Device.CardRfid, Mifare, Ultralight and NDEF assembly for .NET nanoFramework C# projects</summary>
21+
<tags>nanoFramework C# csharp netmf netnf Iot.Device.CardRfid</tags>
22+
<dependencies>
23+
<dependency id="nanoFramework.CoreLibrary" version="1.10.5" />
24+
<dependency id="nanoFramework.System.Text" version="1.1.1-preview.70" />
25+
</dependencies>
26+
</metadata>
27+
<files>
28+
<file src="bin\Release\Iot.Device.CardRfid.dll" target="lib\Iot.Device.CardRfid.dll" />
29+
<file src="bin\Release\Iot.Device.CardRfid.pdb" target="lib\Iot.Device.CardRfid.pdb" />
30+
<file src="bin\Release\Iot.Device.CardRfid.pdbx" target="lib\Iot.Device.CardRfid.pdbx" />
31+
<file src="bin\Release\Iot.Device.CardRfid.pe" target="lib\Iot.Device.CardRfid.pe" />
32+
<file src="bin\Release\Iot.Device.CardRfid.xml" target="lib\Iot.Device.CardRfid.xml" />
33+
<file src="Mifare\bin\Release\Iot.Device.Mifare.dll" target="lib\Iot.Device.Mifare.dll" />
34+
<file src="Mifare\bin\Release\Iot.Device.Mifare.pdb" target="lib\Iot.Device.Mifare.pdb" />
35+
<file src="Mifare\bin\Release\Iot.Device.Mifare.pdbx" target="lib\Iot.Device.Mifare.pdbx" />
36+
<file src="Mifare\bin\Release\Iot.Device.Mifare.pe" target="lib\Iot.Device.Mifare.pe" />
37+
<file src="Mifare\bin\Release\Iot.Device.Mifare.xml" target="lib\Iot.Device.Mifare.xml" />
38+
<file src="Ndef\bin\Release\Iot.Device.Ndef.dll" target="lib\Iot.Device.Ndef.dll" />
39+
<file src="Ndef\bin\Release\Iot.Device.Ndef.pdb" target="lib\Iot.Device.Ndef.pdb" />
40+
<file src="Ndef\bin\Release\Iot.Device.Ndef.pdbx" target="lib\Iot.Device.Ndef.pdbx" />
41+
<file src="Ndef\bin\Release\Iot.Device.Ndef.pe" target="lib\Iot.Device.Ndef.pe" />
42+
<file src="Ndef\bin\Release\Iot.Device.Ndef.xml" target="lib\Iot.Device.Ndef.xml" />
43+
<file src="Ultralight\bin\Release\Iot.Device.Ultralight.dll" target="lib\Iot.Device.Ultralight.dll" />
44+
<file src="Ultralight\bin\Release\Iot.Device.Ultralight.pdb" target="lib\Iot.Device.Ultralight.pdb" />
45+
<file src="Ultralight\bin\Release\Iot.Device.Ultralight.pdbx" target="lib\Iot.Device.Ultralight.pdbx" />
46+
<file src="Ultralight\bin\Release\Iot.Device.Ultralight.pe" target="lib\Iot.Device.Ultralight.pe" />
47+
<file src="Ultralight\bin\Release\Iot.Device.Ultralight.xml" target="lib\Iot.Device.Ultralight.xml" />
48+
<file src="readme.md" target="" />
49+
<file src="..\..\assets\nf-logo.png" target="images" />
50+
<file src="..\..\LICENSE.md" target="" />
51+
</files>
52+
</package>

devices/Card/Card.sln

+106
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
Microsoft Visual Studio Solution File, Format Version 12.00
2+
# Visual Studio Version 16
3+
VisualStudioVersion = 16.0.31105.61
4+
MinimumVisualStudioVersion = 15.0.26124.0
5+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Card", "Card.nfproj", "{7E99A789-283C-AFEF-CCEF-50A40E38813F}"
6+
EndProject
7+
Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "Mifare", "Mifare\Mifare.nfproj", "{D1F84C93-3A17-46FA-9761-CF4AAC3EF2D7}"
8+
EndProject
9+
Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "Ndef", "Ndef\Ndef.nfproj", "{150CED27-7CF0-4671-9370-B330D2D49066}"
10+
EndProject
11+
Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "Ultralight", "Ultralight\Ultralight.nfproj", "{DC2A68E1-21C5-4C4E-BA99-222F116EC4B2}"
12+
EndProject
13+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Shared Project", "Shared Project", "{1DB0B9F5-6A23-4E2A-9478-7106E8BFE212}"
14+
EndProject
15+
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "BinaryPrimitives", "..\..\src\BinaryPrimitives\BinaryPrimitives.shproj", "{3F28B003-6318-4E21-A9B6-6C0DBD0BDBFD}"
16+
EndProject
17+
Global
18+
GlobalSection(SharedMSBuildProjectFiles) = preSolution
19+
..\..\src\BinaryPrimitives\BinaryPrimitives.projitems*{3f28b003-6318-4e21-a9b6-6c0dbd0bdbfd}*SharedItemsImports = 13
20+
EndGlobalSection
21+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
22+
Debug|Any CPU = Debug|Any CPU
23+
Debug|x64 = Debug|x64
24+
Debug|x86 = Debug|x86
25+
Release|Any CPU = Release|Any CPU
26+
Release|x64 = Release|x64
27+
Release|x86 = Release|x86
28+
EndGlobalSection
29+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
30+
{7E99A789-283C-AFEF-CCEF-50A40E38813F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
31+
{7E99A789-283C-AFEF-CCEF-50A40E38813F}.Debug|Any CPU.Build.0 = Debug|Any CPU
32+
{7E99A789-283C-AFEF-CCEF-50A40E38813F}.Debug|x64.ActiveCfg = Debug|Any CPU
33+
{7E99A789-283C-AFEF-CCEF-50A40E38813F}.Debug|x64.Build.0 = Debug|Any CPU
34+
{7E99A789-283C-AFEF-CCEF-50A40E38813F}.Debug|x86.ActiveCfg = Debug|Any CPU
35+
{7E99A789-283C-AFEF-CCEF-50A40E38813F}.Debug|x86.Build.0 = Debug|Any CPU
36+
{7E99A789-283C-AFEF-CCEF-50A40E38813F}.Release|Any CPU.ActiveCfg = Release|Any CPU
37+
{7E99A789-283C-AFEF-CCEF-50A40E38813F}.Release|Any CPU.Build.0 = Release|Any CPU
38+
{7E99A789-283C-AFEF-CCEF-50A40E38813F}.Release|x64.ActiveCfg = Release|Any CPU
39+
{7E99A789-283C-AFEF-CCEF-50A40E38813F}.Release|x64.Build.0 = Release|Any CPU
40+
{7E99A789-283C-AFEF-CCEF-50A40E38813F}.Release|x86.ActiveCfg = Release|Any CPU
41+
{7E99A789-283C-AFEF-CCEF-50A40E38813F}.Release|x86.Build.0 = Release|Any CPU
42+
{D1F84C93-3A17-46FA-9761-CF4AAC3EF2D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
43+
{D1F84C93-3A17-46FA-9761-CF4AAC3EF2D7}.Debug|Any CPU.Build.0 = Debug|Any CPU
44+
{D1F84C93-3A17-46FA-9761-CF4AAC3EF2D7}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
45+
{D1F84C93-3A17-46FA-9761-CF4AAC3EF2D7}.Debug|x64.ActiveCfg = Debug|Any CPU
46+
{D1F84C93-3A17-46FA-9761-CF4AAC3EF2D7}.Debug|x64.Build.0 = Debug|Any CPU
47+
{D1F84C93-3A17-46FA-9761-CF4AAC3EF2D7}.Debug|x64.Deploy.0 = Debug|Any CPU
48+
{D1F84C93-3A17-46FA-9761-CF4AAC3EF2D7}.Debug|x86.ActiveCfg = Debug|Any CPU
49+
{D1F84C93-3A17-46FA-9761-CF4AAC3EF2D7}.Debug|x86.Build.0 = Debug|Any CPU
50+
{D1F84C93-3A17-46FA-9761-CF4AAC3EF2D7}.Debug|x86.Deploy.0 = Debug|Any CPU
51+
{D1F84C93-3A17-46FA-9761-CF4AAC3EF2D7}.Release|Any CPU.ActiveCfg = Release|Any CPU
52+
{D1F84C93-3A17-46FA-9761-CF4AAC3EF2D7}.Release|Any CPU.Build.0 = Release|Any CPU
53+
{D1F84C93-3A17-46FA-9761-CF4AAC3EF2D7}.Release|Any CPU.Deploy.0 = Release|Any CPU
54+
{D1F84C93-3A17-46FA-9761-CF4AAC3EF2D7}.Release|x64.ActiveCfg = Release|Any CPU
55+
{D1F84C93-3A17-46FA-9761-CF4AAC3EF2D7}.Release|x64.Build.0 = Release|Any CPU
56+
{D1F84C93-3A17-46FA-9761-CF4AAC3EF2D7}.Release|x64.Deploy.0 = Release|Any CPU
57+
{D1F84C93-3A17-46FA-9761-CF4AAC3EF2D7}.Release|x86.ActiveCfg = Release|Any CPU
58+
{D1F84C93-3A17-46FA-9761-CF4AAC3EF2D7}.Release|x86.Build.0 = Release|Any CPU
59+
{D1F84C93-3A17-46FA-9761-CF4AAC3EF2D7}.Release|x86.Deploy.0 = Release|Any CPU
60+
{150CED27-7CF0-4671-9370-B330D2D49066}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
61+
{150CED27-7CF0-4671-9370-B330D2D49066}.Debug|Any CPU.Build.0 = Debug|Any CPU
62+
{150CED27-7CF0-4671-9370-B330D2D49066}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
63+
{150CED27-7CF0-4671-9370-B330D2D49066}.Debug|x64.ActiveCfg = Debug|Any CPU
64+
{150CED27-7CF0-4671-9370-B330D2D49066}.Debug|x64.Build.0 = Debug|Any CPU
65+
{150CED27-7CF0-4671-9370-B330D2D49066}.Debug|x64.Deploy.0 = Debug|Any CPU
66+
{150CED27-7CF0-4671-9370-B330D2D49066}.Debug|x86.ActiveCfg = Debug|Any CPU
67+
{150CED27-7CF0-4671-9370-B330D2D49066}.Debug|x86.Build.0 = Debug|Any CPU
68+
{150CED27-7CF0-4671-9370-B330D2D49066}.Debug|x86.Deploy.0 = Debug|Any CPU
69+
{150CED27-7CF0-4671-9370-B330D2D49066}.Release|Any CPU.ActiveCfg = Release|Any CPU
70+
{150CED27-7CF0-4671-9370-B330D2D49066}.Release|Any CPU.Build.0 = Release|Any CPU
71+
{150CED27-7CF0-4671-9370-B330D2D49066}.Release|Any CPU.Deploy.0 = Release|Any CPU
72+
{150CED27-7CF0-4671-9370-B330D2D49066}.Release|x64.ActiveCfg = Release|Any CPU
73+
{150CED27-7CF0-4671-9370-B330D2D49066}.Release|x64.Build.0 = Release|Any CPU
74+
{150CED27-7CF0-4671-9370-B330D2D49066}.Release|x64.Deploy.0 = Release|Any CPU
75+
{150CED27-7CF0-4671-9370-B330D2D49066}.Release|x86.ActiveCfg = Release|Any CPU
76+
{150CED27-7CF0-4671-9370-B330D2D49066}.Release|x86.Build.0 = Release|Any CPU
77+
{150CED27-7CF0-4671-9370-B330D2D49066}.Release|x86.Deploy.0 = Release|Any CPU
78+
{DC2A68E1-21C5-4C4E-BA99-222F116EC4B2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
79+
{DC2A68E1-21C5-4C4E-BA99-222F116EC4B2}.Debug|Any CPU.Build.0 = Debug|Any CPU
80+
{DC2A68E1-21C5-4C4E-BA99-222F116EC4B2}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
81+
{DC2A68E1-21C5-4C4E-BA99-222F116EC4B2}.Debug|x64.ActiveCfg = Debug|Any CPU
82+
{DC2A68E1-21C5-4C4E-BA99-222F116EC4B2}.Debug|x64.Build.0 = Debug|Any CPU
83+
{DC2A68E1-21C5-4C4E-BA99-222F116EC4B2}.Debug|x64.Deploy.0 = Debug|Any CPU
84+
{DC2A68E1-21C5-4C4E-BA99-222F116EC4B2}.Debug|x86.ActiveCfg = Debug|Any CPU
85+
{DC2A68E1-21C5-4C4E-BA99-222F116EC4B2}.Debug|x86.Build.0 = Debug|Any CPU
86+
{DC2A68E1-21C5-4C4E-BA99-222F116EC4B2}.Debug|x86.Deploy.0 = Debug|Any CPU
87+
{DC2A68E1-21C5-4C4E-BA99-222F116EC4B2}.Release|Any CPU.ActiveCfg = Release|Any CPU
88+
{DC2A68E1-21C5-4C4E-BA99-222F116EC4B2}.Release|Any CPU.Build.0 = Release|Any CPU
89+
{DC2A68E1-21C5-4C4E-BA99-222F116EC4B2}.Release|Any CPU.Deploy.0 = Release|Any CPU
90+
{DC2A68E1-21C5-4C4E-BA99-222F116EC4B2}.Release|x64.ActiveCfg = Release|Any CPU
91+
{DC2A68E1-21C5-4C4E-BA99-222F116EC4B2}.Release|x64.Build.0 = Release|Any CPU
92+
{DC2A68E1-21C5-4C4E-BA99-222F116EC4B2}.Release|x64.Deploy.0 = Release|Any CPU
93+
{DC2A68E1-21C5-4C4E-BA99-222F116EC4B2}.Release|x86.ActiveCfg = Release|Any CPU
94+
{DC2A68E1-21C5-4C4E-BA99-222F116EC4B2}.Release|x86.Build.0 = Release|Any CPU
95+
{DC2A68E1-21C5-4C4E-BA99-222F116EC4B2}.Release|x86.Deploy.0 = Release|Any CPU
96+
EndGlobalSection
97+
GlobalSection(SolutionProperties) = preSolution
98+
HideSolutionNode = FALSE
99+
EndGlobalSection
100+
GlobalSection(NestedProjects) = preSolution
101+
{3F28B003-6318-4E21-A9B6-6C0DBD0BDBFD} = {1DB0B9F5-6A23-4E2A-9478-7106E8BFE212}
102+
EndGlobalSection
103+
GlobalSection(ExtensibilityGlobals) = postSolution
104+
SolutionGuid = {D4095E39-2A90-408C-900D-6596AAC77EDA}
105+
EndGlobalSection
106+
EndGlobal

src/devices_generated/Card/CardTransceiver.cs devices/Card/CardTransceiver.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
42

53
namespace Iot.Device.Card
64
{
File renamed without changes.

devices/Card/Mifare/Helper.cs

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
4+
namespace Iot.Device.Card.Mifare
5+
{
6+
internal static class Helper
7+
{
8+
9+
/// <summary>
10+
/// Compare the elements of 2 different byte arrays
11+
/// </summary>
12+
/// <param name="first">First array to compare</param>
13+
/// <param name="second">Second array to compare</param>
14+
/// <returns>True if all elements are equa</returns>
15+
public static bool SequenceEqual(this byte[] first, byte[] second)
16+
{
17+
if (first.Length != second.Length)
18+
{
19+
return false;
20+
}
21+
22+
for (int i = 0; i < first.Length; i++)
23+
{
24+
if (first[i] != second[i])
25+
{
26+
return false;
27+
}
28+
}
29+
30+
return true;
31+
}
32+
}
33+
}

src/devices_generated/Gpio/samples/Iot.Device.Gpio.Samples.nfproj devices/Card/Mifare/Mifare.nfproj

+28-24
Original file line numberDiff line numberDiff line change
@@ -8,46 +8,50 @@
88
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
99
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
1010
<ProjectTypeGuids>{11A8DD76-328B-46DF-9F39-F559912D0360};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
11-
<ProjectGuid>{D24807ED-4B6F-1957-BE62-63FBBC31E325}</ProjectGuid>
12-
<OutputType>Exe</OutputType>
11+
<ProjectGuid>d1f84c93-3a17-46fa-9761-cf4aac3ef2d7</ProjectGuid>
12+
<OutputType>Library</OutputType>
1313
<AppDesignerFolder>Properties</AppDesignerFolder>
1414
<FileAlignment>512</FileAlignment>
15-
<RootNamespace>Iot.Device.Iot.Device.Gpio.Samples</RootNamespace>
16-
<AssemblyName>Iot.Device.Iot.Device.Gpio.Samples</AssemblyName>
15+
<RootNamespace>Iot.Device.Mifare</RootNamespace>
16+
<AssemblyName>Iot.Device.Mifare</AssemblyName>
1717
<TargetFrameworkVersion>v1.0</TargetFrameworkVersion>
18-
<DocumentationFile>bin\$(Configuration)\Iot.Device.Iot.Device.Gpio.Samples.xml</DocumentationFile>
19-
<LangVersion>9.0</LangVersion>
18+
<DocumentationFile>bin\$(Configuration)\Iot.Device.Mifare.xml</DocumentationFile>
2019
</PropertyGroup>
2120
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.props')" />
2221
<ItemGroup>
23-
<Reference Include="mscorlib">
24-
<HintPath>..\packages\nanoFramework.CoreLibrary.1.10.4-preview.11\lib\mscorlib.dll</HintPath>
22+
<Compile Include="Helper.cs" />
23+
<Compile Include="AccessSector.cs" />
24+
<Compile Include="AccessType.cs" />
25+
<Compile Include="MifareCard.cs" />
26+
<Compile Include="MifareCardCapacity.cs" />
27+
<Compile Include="MifareCardCommand.cs" />
28+
<Compile Include="Properties\AssemblyInfo.cs" />
29+
<Compile Include="Tailer\Sixtet.cs" />
30+
<Compile Include="Tailer\Triplet.cs" />
31+
</ItemGroup>
32+
<ItemGroup>
33+
<ProjectReference Include="..\Card.nfproj" />
34+
<ProjectReference Include="..\Ndef\Ndef.nfproj" />
35+
</ItemGroup>
36+
<ItemGroup>
37+
<Reference Include="mscorlib, Version=1.10.5.4, Culture=neutral, PublicKeyToken=c07d481e9758c731">
38+
<HintPath>..\packages\nanoFramework.CoreLibrary.1.10.5\lib\mscorlib.dll</HintPath>
2539
<Private>True</Private>
40+
<SpecificVersion>True</SpecificVersion>
2641
</Reference>
27-
<Reference Include="System.Device.Gpio">
28-
<HintPath>..\packages\nanoFramework.System.Device.Gpio.1.0.0-preview.40\lib\System.Device.Gpio.dll</HintPath>
42+
<Reference Include="nanoFramework.Logging, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c07d481e9758c731">
43+
<HintPath>..\packages\nanoFramework.Logging.1.0.0-preview.114\lib\nanoFramework.Logging.dll</HintPath>
2944
<Private>True</Private>
30-
</Reference>
31-
<Reference Include="nanoFramework.Runtime.Events">
32-
<HintPath>..\packages\nanoFramework.Runtime.Events.1.9.0-preview.26\lib\nanoFramework.Runtime.Events.dll</HintPath>
33-
<Private>True</Private>
34-
</Reference>
45+
<SpecificVersion>True</SpecificVersion>
46+
</Reference>
3547
</ItemGroup>
3648
<ItemGroup>
3749
<None Include="packages.config" />
38-
<!-- INSERT FILE REFERENCES HERE -->
39-
</ItemGroup>
40-
<ItemGroup>
41-
<Compile Include="Properties\AssemblyInfo.cs" />
42-
<Compile Include="*.cs" />
43-
<None Include="*.md" />
4450
</ItemGroup>
4551
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.CSharp.targets" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.CSharp.targets')" />
46-
<Import Project="..\..\src\System.Runtime.CompilerService\System.Runtime.CompilerService.projitems" Label="Shared" />
4752
<ProjectExtensions>
4853
<ProjectCapabilities>
4954
<ProjectConfigurationsDeclaredAsItems />
5055
</ProjectCapabilities>
5156
</ProjectExtensions>
52-
<!-- INSERT NBGV IMPORT HERE -->
53-
</Project>
57+
</Project>

0 commit comments

Comments
 (0)