You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: samples/1-Wire/README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
Shows how to use the [nanoFramework.Device.OneWire](http://docs.nanoframework.net/api/nanoFramework.Device.OneWire.html) API to read and write from/to a 1-Wire device.
4
4
5
+
The sample is [located here](./).
6
+
5
7
## Hardware requirements
6
8
7
9
- A .NET nanoFramework target with 1-Wire capability enabled in the firmware for example a STM32F407_DISCO or any of the ESP32 targets.
Copy file name to clipboardExpand all lines: samples/AMQP/Azure-IoT-Hub/README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
# 🌶️🌶️ -Azure AMQP sample
2
2
3
-
Shows how to use AMQP.Net Lite library with Azure.
3
+
Shows how to use AMQP.Net Lite library.
4
+
5
+
The sample is [located here](./Program.cs).
4
6
5
7
## Hardware requirements
6
8
@@ -16,7 +18,8 @@ To use a secured (TLS) connection to Azure IoT Hub the following is required:
16
18
17
19
1. Generate an SAS Token for your device. [Azure IoT Explorer](https://github.com/Azure/azure-iot-explorer) it's a convenient tool to do this for you.
18
20
After setting up the access to you IoT Hub, navigate to the device, enter the desired parameters and generate the SAS Token (see the print screen below).
Copy file name to clipboardExpand all lines: samples/AMQP/Azure-ServiceBus-Sender/README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
# 🌶️🌶️ - Azure Service Bus AMQP sample
2
2
3
-
Shows how to use AMQP.Net Lite library with Azure Servic eBus.
3
+
Shows how to use Shows how to use AMQP.Net Lite library with Azure Service Bus.
4
+
5
+
The sample is [located here](./Program.cs).
4
6
5
7
## Hardware requirements
6
8
@@ -16,7 +18,8 @@ To use a secured (TLS) connection to Azure IoT Hub the following is required:
16
18
17
19
1. Generate an SAS Token for your device. [Azure IoT Explorer](https://github.com/Azure/azure-iot-explorer) it's a convenient tool to do this for you.
18
20
After setting up the access to you IoT Hub, navigate to the device, enter the desired parameters and generate the SAS Token (see the print screen below).
Copy file name to clipboardExpand all lines: samples/AMQP/README.md
+3-9Lines changed: 3 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,7 @@
2
2
3
3
Shows how to use AMQP.Net Lite library.
4
4
5
-
> **Note:** This sample is part of a large collection of nanoFramework feature samples.
6
-
> If you are unfamiliar with Git and GitHub, you can download the entire collection as a
7
-
> [ZIP file](https://github.com/nanoframework/Samples/archive/main.zip), but be
8
-
> sure to unzip everything to access any shared dependencies.
9
-
<!-- For more info on working with the ZIP file,
10
-
> the samples collection, and GitHub, see [Get the UWP samples from GitHub](https://aka.ms/ovu2uq).
11
-
> For more samples, see the [Samples portal](https://aka.ms/winsamples) on the Windows Dev Center. -->
5
+
The sample pack is [located here](./).
12
6
13
7
## Hardware requirements
14
8
@@ -24,7 +18,8 @@ To use a secured (TLS) connection to Azure IoT Hub the following is required:
24
18
25
19
1. Generate an SAS Token for your device. [Azure IoT Explorer](https://github.com/Azure/azure-iot-explorer) it's a convenient tool to do this for you.
26
20
After setting up the access to you IoT Hub, navigate to the device, enter the desired parameters and generate the SAS Token (see the print screen below).
27
-

21
+
22
+

28
23
29
24
### Reference
30
25
@@ -49,5 +44,4 @@ The next steps depend on whether you just want to deploy the sample or you want
49
44
- To debug the sample and then run it, press F5 or select `Debug > Start Debugging`.
50
45
51
46
> **Important**: Before deploying or running the sample, please make sure your device is visible in the Device Explorer.
52
-
53
47
> **Tip**: To display the Device Explorer, go to Visual Studio menus: `View > Other Windows > Device Explorer`.
Copy file name to clipboardExpand all lines: samples/AzureMQTTTwinsBMP280Sleep/README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
Shows how to use M2Mqtt library with Azure IoT measuring a BMP280 sensor. This leverages the [nanoFramework.IoT.Device](https://github.com/nanoframework/nanoFramework.IoT.Device) repository.
4
4
5
+
The sample is [located here](./).
6
+
5
7
## Hardware requirements
6
8
7
9
An hardware device with networking capabilities running a nanoFramework image.
@@ -40,5 +42,4 @@ The next steps depend on whether you just want to deploy the sample or you want
40
42
**Important**: You can debug this sample only for one cycle as the device will very quickly go to sleep. If you want to debug, comment the part where it goes to sleep and replace with and infinite thread sleep timeout or a loop to once of the previous part of the code.
41
43
42
44
> **Important**: Before deploying or running the sample, please make sure your device is visible in the Device Explorer.
43
-
44
45
> **Tip**: To display the Device Explorer, go to Visual Studio menus: `View > Other Windows > Device Explorer`.
Copy file name to clipboardExpand all lines: samples/AzureSDK/AzureIoTPnP/README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@ This sample uses the .NET nanoFramework Azure IoT Plug & Play. You can find it h
4
4
5
5
Note: the samples include the Azure IoT certificate. You can as well upload it into your device as explained in the [main readme](https://github.com/nanoframework/nanoFramework.Azure.Devices).
6
6
7
+
The sample is [located here](./).
8
+
7
9
## Testing the sample
8
10
9
11
This sample uses a specific DTDL as an example, [you'll find it here](https://github.com/Azure/iot-plugandplay-models/blob/main/dtmi/com/example/thermostat-1.json). The Model ID is `dtmi:com:example:Thermostat;1`. This is what is going to be used in this sample.
Copy file name to clipboardExpand all lines: samples/AzureSDK/AzureSDK/README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@ This sample uses the .NET nanoFramework Azure IoT Hub SDK with MQTT protocol. Yo
4
4
5
5
Note: the samples include the Azure IoT certificate. You can as well upload it into your device as explained in the [main readme](https://github.com/nanoframework/nanoFramework.Azure.Devices).
6
6
7
+
The sample is [located here](./).
8
+
7
9
## Testing the sample
8
10
9
11
This sample uses a very popular BMP280 sensor. If you don't have this sensor, there is part of the code that is marked as comment. Just comment those lines and uncomment one of the line. This will simply simulate the sensor with static data.
0 commit comments