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: articles/iot-edge/tutorial-c-module.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
# Mandatory fields. See more on aka.ms/skyeye/meta.
3
-
title: Tutorial develop C module for Linux - Azure IoT Edge | Microsoft Docs
3
+
title: Tutorial - develop C module for Linux - Azure IoT Edge | Microsoft Docs
4
4
description: This tutorial shows you how to create an IoT Edge module with C code and deploy it to a Linux device running IoT Edge
5
5
services: iot-edge
6
6
author: PatAltimore
@@ -43,6 +43,7 @@ Use the following table to understand your options for developing and deploying
43
43
| - | ------------------ | ------------- |
44
44
|**Linux AMD64**|||
45
45
|**Linux ARM32**|||
46
+
|**Linux ARM64**|||
46
47
47
48
Before beginning this tutorial, you should have gone through the previous tutorial to set up your development environment for Linux container development: [Develop IoT Edge modules using Linux containers](tutorial-develop-for-linux.md). By completing that tutorial, you should have the following prerequisites in place:
48
49
@@ -52,11 +53,11 @@ Before beginning this tutorial, you should have gone through the previous tutori
52
53
*[Visual Studio Code](https://code.visualstudio.com/) configured with the [Azure IoT Tools](https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-tools).
53
54
*[Docker CE](https://docs.docker.com/install/) configured to run Linux containers.
54
55
55
-
To develop an IoT Edge module in C, install the following additional prerequisites on your development machine:
56
+
To develop an IoT Edge module in C, install the following prerequisites on your development machine:
56
57
57
58
*[C/C++ extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools) for Visual Studio Code.
58
59
59
-
Installing the Azure IoT C SDK is not required for this tutorial, but can provide helpful functionality like intellisense and reading program definitions. For installation information, see [Azure IoT C SDKs and Libraries](https://github.com/Azure/azure-iot-sdk-c).
60
+
Installing the Azure IoT C SDK isn't required for this tutorial, but can provide helpful functionality like intellisense and reading program definitions. For installation information, see [Azure IoT C SDKs and Libraries](https://github.com/Azure/azure-iot-sdk-c).
60
61
61
62
## Create a module project
62
63
@@ -105,7 +106,7 @@ Currently, Visual Studio Code can develop C modules for Linux AMD64 and Linux AR
105
106
106
107
### Update the module with custom code
107
108
108
-
The default module code receives messages on an input queue and passes them along through an output queue. Let's add some additional code so that the module processes the messages at the edge before forwarding them to IoT Hub. Update the module so that it analyzes the temperature data in each message, and only sends the message to IoT Hub if the temperature exceeds a certain threshold.
109
+
The default module code receives messages on an input queue and passes them along through an output queue. Let's add more code so the module processes messages at the edge before forwarding them to IoT Hub. Update the module so that it analyzes the temperature data in each message, and only sends the message to IoT Hub if the temperature exceeds a certain threshold.
109
110
110
111
1. The data from the sensor in this scenario comes in JSON format. To filter messages in JSON format, import a JSON library for C. This tutorial uses Parson.
111
112
@@ -323,7 +324,7 @@ Make sure that your IoT Edge device is up and running.
323
324
324
325
2. Right-click the name of your IoT Edge device, then select **Create Deployment for Single Device**.
325
326
326
-
3. Select the **deployment.amd64.json** file in the **config** folder and then click **Select Edge Deployment Manifest**. Do not use the deployment.template.json file.
327
+
3. Select the **deployment.amd64.json** file in the **config** folder and then click **Select Edge Deployment Manifest**. Don't use the deployment.template.json file, as that file is only a template.
327
328
328
329
4. Under your device, expand **Modules** to see a list of deployed and running modules. Click the refresh button. You should see the new **CModule** running along with the **SimulatedTemperatureSensor** module and the **$edgeAgent** and **$edgeHub**.
329
330
@@ -357,7 +358,7 @@ We used the CModule module twin in the deployment manifest to set the temperatur
357
358
358
359
## Clean up resources
359
360
360
-
If you plan to continue to the next recommended article, you can keep the resources and configurations that you created and reuse them. You can also keep using the same IoT Edge device as a test device.
361
+
If you continue to the next recommended article, you can keep your resources and configurations and reuse them. You can also keep using the same IoT Edge device as a test device.
361
362
362
363
Otherwise, you can delete the local configurations and the Azure resources that you used in this article to avoid charges.
Copy file name to clipboardExpand all lines: articles/iot-edge/tutorial-java-module.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,7 @@ Use the following table to understand your options for developing and deploying
39
39
| - | ------------------ | ------------------ |
40
40
|**Linux AMD64**|||
41
41
|**Linux ARM32**|||
42
+
|**Linux ARM64**|||
42
43
43
44
Before beginning this tutorial, you should have gone through the previous tutorial to set up your development environment for Linux container development: [Develop IoT Edge modules for Linux devices](tutorial-develop-for-linux.md). By completing either of those tutorials, you should have the following prerequisites in place:
Copy file name to clipboardExpand all lines: articles/iot-edge/tutorial-python-module.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,7 @@ Use the following table to understand your options for developing and deploying
44
44
| - | ------------------ | ------------------ |
45
45
|**Linux AMD64**|||
46
46
|**Linux ARM32**|||
47
+
|**Linux ARM64**|||
47
48
48
49
Before beginning this tutorial, you should have gone through the previous tutorial to set up your development environment for Linux container development: [Develop IoT Edge modules using Linux containers](tutorial-develop-for-linux.md). By completing that tutorial, you should have the following prerequisites in place:
0 commit comments