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-hub/iot-hub-c-c-module-twin-getstarted.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -173,7 +173,7 @@ In this section, you create a C app on your simulated device that updates the mo
173
173
174
174
1. **Get your module connection string** -- now if you login to [Azure portal](https://portal.azure.com). Navigate to your IoT Hub and click IoT Devices. Find myFirstDevice, open it and you see myFirstModule was successfully created. Copy the module connection string. It is needed in the next step.
Copy file name to clipboardExpand all lines: articles/iot-hub/iot-hub-csharp-csharp-module-twin-getstarted.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,15 +49,15 @@ In this section, you create a .NET console app on your simulated device that upd
49
49
50
50
1.**Create a Visual Studio project:** In Visual Studio, add a Visual C# Windows Classic Desktop project to the existing solution by using the **Console App (.NET Framework)** project template. Make sure the .NET Framework version is 4.6.1 or later. Name the project **UpdateModuleTwinReportedProperties**.
51
51
52
-

52
+

53
53
54
54
2.**Install the latest Azure IoT Hub .NET device SDK:** Module identity and module twin is in public preview. It's only available in the IoT Hub prerelease device SDKs. In Visual Studio, open tools > Nuget package manager > manage Nuget packages for solution. Search Microsoft.Azure.Devices.Client. Make sure you've checked include prerelease check box. Select the latest version and install. Now you have access to all the module features.
55
55
56
56

57
57
58
58
3.**Get your module connection string** -- now if you login to [Azure portal](https://portal.azure.com/). Navigate to your IoT Hub and click IoT Devices. Find myFirstDevice, open it and you see myFirstModule was successfully created. Copy the module connection string. It is needed in the next step.
@@ -155,7 +155,7 @@ In this section, you create a .NET console app on your simulated device that upd
155
155
156
156
## Run the apps
157
157
158
-
Youarenowreadytoruntheapps. InVisualStudio, inSolutionExplorer, right-clickyoursolution, andthenclick**SetStartUpprojects**. Select**Multiplestartupprojects**, andthenselect**Start**astheactionfor the console app. And then press F5 to start the app.
158
+
Youarenowreadytoruntheapps. InVisualStudio, inSolutionExplorer, right-clickyoursolution, andthenclick**SetStartUpprojects**. Select**Multiplestartupprojects**, andthenselect**Start**astheactionfor the console app. And then press F5 to start the app.
Copy file name to clipboardExpand all lines: articles/iot-hub/iot-hub-portal-csharp-module-twin-getstarted.md
+15-29Lines changed: 15 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,18 +18,18 @@ ms.date: 04/26/2018
18
18
19
19
In this tutorial, you will learn:
20
20
21
-
1. How to create a module identity in the portal.
21
+
1. How to create a module identity in the portal.
22
22
23
-
2. How to use .NET device SDK update the module twin from your device.
23
+
2. How to use a .NET device SDK update the module twin from your device.
24
24
25
25
> [!NOTE]
26
-
> For information about the Azure IoT SDKs that you can use to build both applications to run on devices, and your solution back end, see [Azure IoT SDKs][lnk-hub-sdks].
26
+
> For information about the Azure IoT SDKs that you can use to build both applications to run on devices, and your solution back end, see [Azure IoT SDKs](iot-hub-devguide-sdks.md).
27
27
>
28
28
29
29
To complete this tutorial, you need the following:
30
30
31
31
* Visual Studio 2015 or Visual Studio 2017.
32
-
* An active Azure account. (If you don't have an account, you can create a [free account][lnk-free-trial] in just a couple of minutes.)
32
+
* An active Azure account. (If you don't have an account, you can create a [free account](https://azure.microsoft.com/pricing/free-trial/) in just a couple of minutes.)
33
33
34
34
## Create an IoT hub
35
35
@@ -45,13 +45,13 @@ To complete this tutorial, you need the following:
45
45
46
46
## Create a module identity in the portal
47
47
48
-
Within one device identity, you can create up to 20 module identities. Click the **Add Module Identity** button on top to create your first module identity called **myFirstModule**.
48
+
Within one device identity, you can create up to 20 module identities. Click the **Add Module Identity** button on top to create your first module identity called **myFirstModule**.
Save and click the just created module identity. You can see the module identity details. Save the connect string - primary key. It will be used in the next section where you set up your module on the device.
@@ -61,19 +61,19 @@ You've successfully created the module identity in your IoT Hub. Let's try to co
61
61
62
62
In Visual Studio, add a Visual C# Windows Classic Desktop project to the existing solution by using the **Console App (.NET Framework)** project template. Make sure the .NET Framework version is 4.6.1 or later. Name the project **UpdateModuleTwinReportedProperties**.
63
63
64
-
![Create a visual studio project][13]
64
+

65
65
66
66
## Install the latest Azure IoT Hub .NET device SDK
67
67
68
-
Module identity and module twin is in public preview. It's only available in the IoT Hub prerelease device SDKs. In Visual Studio, open tools > Nuget package manager > manage Nuget packages for solution. Search Microsoft.Azure.Devices.Client. Make sure you've checked include prerelease check box. Select the latest version and install. Now you have access to all the module features.
68
+
Module identity and module twin is in public preview. It's only available in the IoT Hub pre-release device SDKs. In Visual Studio, open tools > Nuget package manager > manage Nuget packages for solution. Search Microsoft.Azure.Devices.Client. Make sure you've checked include pre-release check box. Select the latest version and install. Now you have access to all the module features.
69
69
70
-
![Install Azure IoT Hub .NET service SDK V1.16.0-preview-005][14]
70
+

71
71
72
72
## Get your module connection string
73
73
74
-
Login to [Azure portal][lnk-portal]. Navigate to your IoT Hub and click IoT Devices. Find myFirstDevice, open it and you see myFirstModule was successfully created. Copy the module connection string. It is needed in the next step.
74
+
Login to [Azure portal](https://portal.azure.com/). Navigate to your IoT Hub and click IoT Devices. Find myFirstDevice, open it and you see myFirstModule was successfully created. Copy the module connection string. It is needed in the next step.
@@ -153,26 +153,12 @@ This code sample shows you how to retrieve the module twin and update reported p
153
153
154
154
## Run the apps
155
155
156
-
You are now ready to run the apps. In Visual Studio, in Solution Explorer, right-click your solution, and then click **Set StartUp projects**. Select **Multiple startup projects**, and then select **Start** as the action for the console app. And then press F5 to start both apps running.
156
+
You are now ready to run the apps. In Visual Studio, in Solution Explorer, right-click your solution, and then click **Set StartUp projects**. Select **Multiple startup projects**, and then select **Start** as the action for the console app. And then press F5 to start both apps running.
157
157
158
158
## Next steps
159
159
160
160
To continue getting started with IoT Hub and to explore other IoT scenarios, see:
161
161
162
-
*[Get started with IoT Hub module identity and module twin using .NET backup and .NET device][lnk-csharp-csharp-getstarted]
163
-
*[Getting started with IoT Edge][lnk-iot-edge]
162
+
*[Get started with IoT Hub module identity and module twin using .NET backup and .NET device](iot-hub-csharp-csharp-module-twin-getstarted.md)
Copy file name to clipboardExpand all lines: articles/iot-hub/iot-hub-protocol-gateway.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,10 +11,12 @@ ms.date: 07/11/2017
11
11
---
12
12
13
13
# Support additional protocols for IoT Hub
14
+
14
15
Azure IoT Hub natively supports communication over the MQTT, AMQP, and HTTPS protocols. In some cases, devices or field gateways might not be able to use one of these standard protocols and require protocol adaptation. In such cases, you can use a custom gateway. A custom gateway enables protocol adaptation for IoT Hub endpoints by bridging the traffic to and from IoT Hub. You can use the [Azure IoT protocol gateway](https://github.com/Azure/azure-iot-protocol-gateway/blob/master/README.md) as a custom gateway to enable protocol adaptation for IoT Hub.
15
16
16
17
## Azure IoT protocol gateway
17
-
The Azure IoT protocol gateway is a framework for protocol adaptation that is designed for high-scale, bidirectional device communication with IoT Hub. The protocol gateway is a pass-through component that accepts device connections over a specific protocol. It bridges the traffic to IoT Hub over AMQP 1.0.
18
+
19
+
The Azure IoT protocol gateway is a framework for protocol adaptation that is designed for high-scale, bidirectional device communication with IoT Hub. The protocol gateway is a pass-through component that accepts device connections over a specific protocol. It bridges the traffic to IoT Hub over AMQP 1.0.
18
20
19
21
You can deploy the protocol gateway in Azure in a highly scalable way by using Azure Service Fabric, Azure Cloud Services worker roles, or Windows Virtual Machines. In addition, the protocol gateway can be deployed in on-premises environments, such as field gateways.
20
22
@@ -25,17 +27,17 @@ The MQTT adapter also demonstrates the programming model for building protocol a
25
27
For flexibility, the Azure IoT protocol gateway and MQTT implementation are provided in an open-source software project. You can use the open-source project to add support for various protocols and protocol versions, or customize the implementation for your scenario.
26
28
27
29
## Next steps
30
+
28
31
To learn more about the Azure IoT protocol gateway and how to use and deploy it as part of your IoT solution, see:
29
32
30
33
*[Azure IoT protocol gateway repository on GitHub](https://github.com/Azure/azure-iot-protocol-gateway/blob/master/README.md)
0 commit comments