This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 674
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
restructure directory, update readme files and copyrights
- Loading branch information
1 parent
d73a8dc
commit 3da86ab
Showing
14 changed files
with
117 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,6 @@ | |
|
||
These are the available versions of this Azure IoT Edge module sample: | ||
|
||
* [C#](./CS/README.md) | ||
* [C#](./CS/README.md) | ||
|
||
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact <[email protected]> with any additional questions or comments. |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
</PropertyGroup> | ||
<Import Project="..\..\Common.CS.Props"/> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.Azure.Devices.Client" Version="1.19.0" /> | ||
<PackageReference Include="Mono.Options.Core" Version="1.0.0" /> | ||
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" /> | ||
<PackageReference Include="YamlDotNet" Version="5.3.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\..\Common\CS\Common\Common.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Reference Include="Windows.Devices.DevicesLowLevelContract"> | ||
<HintPath>$(WindowsSdkPath)\Windows.Devices.DevicesLowLevelContract\3.0.0.0\Windows.Devices.DevicesLowLevelContract.winmd</HintPath> | ||
<IsWinMDFile>true</IsWinMDFile> | ||
</Reference> | ||
<Reference Include="Windows.Foundation.FoundationContract"> | ||
<HintPath>$(WindowsSdkPath)\Windows.Foundation.FoundationContract\3.0.0.0\Windows.Foundation.FoundationContract.winmd</HintPath> | ||
<IsWinMDFile>true</IsWinMDFile> | ||
</Reference> | ||
<Reference Include="Windows.Foundation.UniversalApiContract"> | ||
<HintPath>$(WindowsSdkPath)\Windows.Foundation.UniversalApiContract\7.0.0.0\Windows.Foundation.UniversalApiContract.winmd</HintPath> | ||
<IsWinMDFile>true</IsWinMDFile> | ||
</Reference> | ||
</ItemGroup> | ||
|
||
</Project> |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM iotedgewinmlcontainerregistry.azurecr.io/nano | ||
|
||
USER ContainerUser | ||
|
||
ARG EXE_DIR=. | ||
|
||
WORKDIR /app | ||
|
||
COPY $EXE_DIR/ ./ | ||
|
||
ENV IPInterfaceName vEthernet (Ethernet) | ||
|
||
CMD ["ConsoleDotNetCoreGPIO.exe -l"] |
15 changes: 15 additions & 0 deletions
15
Samples/EdgeModules/Gpio/CS/Properties/PublishProfiles/FolderProfile.pubxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
https://go.microsoft.com/fwlink/?LinkID=208121. | ||
--> | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<PublishProtocol>FileSystem</PublishProtocol> | ||
<Configuration>Release</Configuration> | ||
<Platform>Any CPU</Platform> | ||
<TargetFramework>netcoreapp2.2</TargetFramework> | ||
<PublishDir>bin\Release\netcoreapp2.2\publish\</PublishDir> | ||
<SelfContained>false</SelfContained> | ||
<_IsPortable>true</_IsPortable> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# WinRT GPIO Azure IoT Edge module | ||
|
||
These are the available versions of this Azure IoT Edge module sample: | ||
|
||
* [C#](./CS/README.md) | ||
|
||
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact <[email protected]> with any additional questions or comments. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# HubEventHandler Azure Function for IoT Hub Events | ||
|
||
These are the available versions of this Azure IoT Edge module sample: | ||
|
||
* [C#](./CS/README.md) | ||
|
||
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact <[email protected]> with any additional questions or comments. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# MultiModule Overview | ||
|
||
## Design | ||
|
||
The fruit WinML project is trained to recognize four objects. When it detects an object change it sends an [Azure IoT Device to Cloud Message](https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-messaging | ||
) with the name of the object in the message. | ||
The GPIO module listens for copies of those messages and maps the object name to a colored LED which is turned on and off via GPIO pins according to the following table: | ||
|
||
|Object|LED Color| | ||
|------|---------| | ||
| Apple | Red | | ||
| Grapes | Blue | | ||
| Pear | Yellow | | ||
| Pen | Green | | ||
|
||
The pin number to color mappings are configurable from the GPIO [Module Twin Desired Properties](https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-module-twins). Thus, the same module application can be used for different boards. | ||
|
||
## Installation | ||
|
||
In you Azure Subscription you need a resource group that contains the following resources: | ||
|
||
* Azure IoT Hub | ||
* Azure Container Registry | ||
* Azure Storage | ||
* Azure Function App |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,6 @@ | |
|
||
These are the available versions of this Azure IoT Edge module sample: | ||
|
||
* [C#](./CS/README.md) | ||
* [C#](./CS/README.md) | ||
|
||
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact <[email protected]> with any additional questions or comments. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,6 @@ | |
|
||
These are the available versions of this Azure IoT Edge module sample: | ||
|
||
* [C#](./cs/README.md) | ||
* [C#](./cs/README.md) | ||
|
||
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact <[email protected]> with any additional questions or comments. |