Skip to content

Commit 0c3cb46

Browse files
authored
Add sample for Over the Air from Azure IoT (#201)
1 parent c68f629 commit 0c3cb46

23 files changed

+1178
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
Microsoft Visual Studio Solution File, Format Version 12.00
2+
# Visual Studio Version 17
3+
VisualStudioVersion = 17.0.32126.317
4+
MinimumVisualStudioVersion = 10.0.40219.1
5+
Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "AzureEdgeOTAEngine", "AzureEdgeOTAEngine\AzureEdgeOTAEngine.nfproj", "{134D1FF7-73CC-4B27-AA43-58FE42996DD1}"
6+
EndProject
7+
Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "CountMeasurement", "CountMeasurement\CountMeasurement.nfproj", "{D5F674EE-F974-4E8D-ACA2-D15AEF662C74}"
8+
EndProject
9+
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "OtaInterface", "OtaInterface\OtaInterface.shproj", "{D836967A-A9EE-4A90-8AF1-3DAE5E3F64FE}"
10+
EndProject
11+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FindPeFiles", "FindPeFiles\FindPeFiles.csproj", "{FB5A2D69-0660-481E-929D-6109A72C28CB}"
12+
EndProject
13+
Global
14+
GlobalSection(SharedMSBuildProjectFiles) = preSolution
15+
OtaInterface\OtaInterface.projitems*{d836967a-a9ee-4a90-8af1-3dae5e3f64fe}*SharedItemsImports = 13
16+
OtaInterface\OtaInterface.projitems*{fb5a2d69-0660-481e-929d-6109a72c28cb}*SharedItemsImports = 5
17+
EndGlobalSection
18+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
19+
Debug|Any CPU = Debug|Any CPU
20+
Release|Any CPU = Release|Any CPU
21+
EndGlobalSection
22+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
23+
{134D1FF7-73CC-4B27-AA43-58FE42996DD1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
24+
{134D1FF7-73CC-4B27-AA43-58FE42996DD1}.Debug|Any CPU.Build.0 = Debug|Any CPU
25+
{134D1FF7-73CC-4B27-AA43-58FE42996DD1}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
26+
{134D1FF7-73CC-4B27-AA43-58FE42996DD1}.Release|Any CPU.ActiveCfg = Release|Any CPU
27+
{134D1FF7-73CC-4B27-AA43-58FE42996DD1}.Release|Any CPU.Build.0 = Release|Any CPU
28+
{134D1FF7-73CC-4B27-AA43-58FE42996DD1}.Release|Any CPU.Deploy.0 = Release|Any CPU
29+
{D5F674EE-F974-4E8D-ACA2-D15AEF662C74}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
30+
{D5F674EE-F974-4E8D-ACA2-D15AEF662C74}.Debug|Any CPU.Build.0 = Debug|Any CPU
31+
{D5F674EE-F974-4E8D-ACA2-D15AEF662C74}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
32+
{D5F674EE-F974-4E8D-ACA2-D15AEF662C74}.Release|Any CPU.ActiveCfg = Release|Any CPU
33+
{D5F674EE-F974-4E8D-ACA2-D15AEF662C74}.Release|Any CPU.Build.0 = Release|Any CPU
34+
{D5F674EE-F974-4E8D-ACA2-D15AEF662C74}.Release|Any CPU.Deploy.0 = Release|Any CPU
35+
{FB5A2D69-0660-481E-929D-6109A72C28CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
36+
{FB5A2D69-0660-481E-929D-6109A72C28CB}.Debug|Any CPU.Build.0 = Debug|Any CPU
37+
EndGlobalSection
38+
GlobalSection(SolutionProperties) = preSolution
39+
HideSolutionNode = FALSE
40+
EndGlobalSection
41+
GlobalSection(ExtensibilityGlobals) = postSolution
42+
SolutionGuid = {C967FC56-9F2D-40AD-8B89-52B96DFD776B}
43+
EndGlobalSection
44+
EndGlobal
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup Label="Globals">
4+
<NanoFrameworkProjectSystemPath>$(MSBuildExtensionsPath)\nanoFramework\v1.0\</NanoFrameworkProjectSystemPath>
5+
</PropertyGroup>
6+
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props')" />
7+
<PropertyGroup>
8+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
9+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
10+
<ProjectTypeGuids>{11A8DD76-328B-46DF-9F39-F559912D0360};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
11+
<ProjectGuid>134d1ff7-73cc-4b27-aa43-58fe42996dd1</ProjectGuid>
12+
<OutputType>Exe</OutputType>
13+
<AppDesignerFolder>Properties</AppDesignerFolder>
14+
<FileAlignment>512</FileAlignment>
15+
<RootNamespace>AzureEdgeOTAEngine</RootNamespace>
16+
<AssemblyName>AzureEdgeOTAEngine</AssemblyName>
17+
<TargetFrameworkVersion>v1.0</TargetFrameworkVersion>
18+
</PropertyGroup>
19+
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.props')" />
20+
<ItemGroup>
21+
<Compile Include="Program.cs" />
22+
<Compile Include="Properties\AssemblyInfo.cs" />
23+
<Compile Include="Resource.Designer.cs">
24+
<DesignTime>True</DesignTime>
25+
<AutoGen>True</AutoGen>
26+
<DependentUpon>Resource.resx</DependentUpon>
27+
</Compile>
28+
<Compile Include="Secrets.cs" />
29+
</ItemGroup>
30+
<ItemGroup>
31+
<None Include="packages.config" />
32+
<None Include="Resources\azurePEMCertBaltimore.der" />
33+
<None Include="Resources\AzureRoot.der" />
34+
</ItemGroup>
35+
<ItemGroup>
36+
<EmbeddedResource Include="Resource.resx">
37+
<Generator>nFResXFileCodeGenerator</Generator>
38+
<LastGenOutput>Resource.Designer.cs</LastGenOutput>
39+
</EmbeddedResource>
40+
</ItemGroup>
41+
<ItemGroup>
42+
<Reference Include="mscorlib">
43+
<HintPath>..\packages\nanoFramework.CoreLibrary.1.12.0-preview.9\lib\mscorlib.dll</HintPath>
44+
</Reference>
45+
<Reference Include="nanoFramework.Azure.Devices.Client">
46+
<HintPath>..\packages\nanoFramework.Azure.Devices.Client.1.0.0-preview.224\lib\nanoFramework.Azure.Devices.Client.dll</HintPath>
47+
</Reference>
48+
<Reference Include="nanoFramework.Hardware.Esp32">
49+
<HintPath>..\packages\nanoFramework.Hardware.Esp32.1.3.5-preview.7\lib\nanoFramework.Hardware.Esp32.dll</HintPath>
50+
</Reference>
51+
<Reference Include="nanoFramework.Json">
52+
<HintPath>..\packages\nanoFramework.Json.2.1.2-preview.47\lib\nanoFramework.Json.dll</HintPath>
53+
</Reference>
54+
<Reference Include="nanoFramework.M2Mqtt">
55+
<HintPath>..\packages\nanoFramework.M2Mqtt.5.0.2-preview.80\lib\nanoFramework.M2Mqtt.dll</HintPath>
56+
</Reference>
57+
<Reference Include="nanoFramework.Networking.Sntp">
58+
<HintPath>..\packages\nanoFramework.Networking.Sntp.1.5.8-preview.8\lib\nanoFramework.Networking.Sntp.dll</HintPath>
59+
</Reference>
60+
<Reference Include="nanoFramework.ResourceManager">
61+
<HintPath>..\packages\nanoFramework.ResourceManager.1.1.4-preview.8\lib\nanoFramework.ResourceManager.dll</HintPath>
62+
</Reference>
63+
<Reference Include="nanoFramework.Runtime.Events">
64+
<HintPath>..\packages\nanoFramework.Runtime.Events.1.10.0-preview.8\lib\nanoFramework.Runtime.Events.dll</HintPath>
65+
</Reference>
66+
<Reference Include="nanoFramework.Runtime.Native">
67+
<HintPath>..\packages\nanoFramework.Runtime.Native.1.5.4-preview.5\lib\nanoFramework.Runtime.Native.dll</HintPath>
68+
</Reference>
69+
<Reference Include="nanoFramework.System.Collections">
70+
<HintPath>..\packages\nanoFramework.System.Collections.1.4.0-preview.16\lib\nanoFramework.System.Collections.dll</HintPath>
71+
</Reference>
72+
<Reference Include="nanoFramework.System.Text">
73+
<HintPath>..\packages\nanoFramework.System.Text.1.1.3-preview.15\lib\nanoFramework.System.Text.dll</HintPath>
74+
</Reference>
75+
<Reference Include="System.Buffers.Binary.BinaryPrimitives">
76+
<HintPath>..\packages\nanoFramework.System.Buffers.Binary.BinaryPrimitives.1.0.288-preview.64\lib\System.Buffers.Binary.BinaryPrimitives.dll</HintPath>
77+
</Reference>
78+
<Reference Include="System.Device.I2c">
79+
<HintPath>..\packages\nanoFramework.System.Device.I2c.1.0.3-preview.8\lib\System.Device.I2c.dll</HintPath>
80+
</Reference>
81+
<Reference Include="System.Device.WiFi">
82+
<HintPath>..\packages\nanoFramework.System.Device.WiFi.1.4.0-preview.36\lib\System.Device.WiFi.dll</HintPath>
83+
</Reference>
84+
<Reference Include="System.IO.FileSystem">
85+
<HintPath>..\packages\nanoFramework.System.IO.FileSystem.1.0.3-preview.12\lib\System.IO.FileSystem.dll</HintPath>
86+
</Reference>
87+
<Reference Include="System.IO.Streams">
88+
<HintPath>..\packages\nanoFramework.System.IO.Streams.1.0.0-preview.12\lib\System.IO.Streams.dll</HintPath>
89+
</Reference>
90+
<Reference Include="System.Net">
91+
<HintPath>..\packages\nanoFramework.System.Net.1.8.0-preview.29\lib\System.Net.dll</HintPath>
92+
</Reference>
93+
<Reference Include="System.Net.Http">
94+
<HintPath>..\packages\nanoFramework.System.Net.Http.Client.1.4.0-preview.29\lib\System.Net.Http.dll</HintPath>
95+
</Reference>
96+
<Reference Include="System.Threading">
97+
<HintPath>..\packages\nanoFramework.System.Threading.1.0.4-preview.16\lib\System.Threading.dll</HintPath>
98+
</Reference>
99+
</ItemGroup>
100+
<Import Project="..\OtaInterface\OtaInterface.projitems" Label="Shared" />
101+
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.CSharp.targets" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.CSharp.targets')" />
102+
<ProjectExtensions>
103+
<ProjectCapabilities>
104+
<ProjectConfigurationsDeclaredAsItems />
105+
</ProjectCapabilities>
106+
</ProjectExtensions>
107+
</Project>

0 commit comments

Comments
 (0)