Skip to content

Commit 3c8f3b4

Browse files
Merge pull request #236016 from timlt/mqttupdate
Inline updates and links
2 parents 8e82af7 + 35466f5 commit 3c8f3b4

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

articles/iot/iot-mqtt-connect-to-iot-dps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.custom: [amqp, mqtt]
1212

1313
# Communicate with DPS using the MQTT protocol
1414

15-
DPS enables devices to communicate with the DPS device endpoint using:
15+
Azure IoT Device Provisioning Service (DPS) enables devices to communicate with the DPS device endpoint using:
1616

1717
* [MQTT v3.1.1](https://mqtt.org/) on port 8883
1818
* [MQTT v3.1.1](http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html#_Toc398718127) over WebSocket on port 443.

articles/iot/iot-mqtt-connect-to-iot-hub.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ All device communication with IoT Hub must be secured using TLS/SSL. Therefore,
2626

2727
## Connecting to IoT Hub
2828

29-
A device can use the MQTT protocol to connect to an IoT hub using any of the following options:
29+
A device can use the MQTT protocol to connect to an IoT hub using one of the following options:
3030

31-
* Libraries in the [Azure IoT SDKs](https://github.com/Azure/azure-iot-sdks).
31+
* The [Azure IoT SDKs](iot-sdks.md).
3232
* The MQTT protocol directly.
3333

3434
The MQTT port (TCP port 8883) is blocked in many corporate and educational networking environments. If you can't open port 8883 in your firewall, we recommend using MQTT over WebSockets. MQTT over WebSockets communicates over port 443, which is almost always open in networking environments. To learn how to specify the MQTT and MQTT over WebSockets protocols when using the Azure IoT SDKs, see [Using the device SDKs](#using-the-device-sdks).
@@ -98,7 +98,9 @@ When doing so, make sure to check the following items:
9898

9999
## Using the MQTT protocol directly (as a device)
100100

101-
If a device can't use the device SDKs, it can still connect to the public device endpoints using the MQTT protocol on port 8883. In the **CONNECT** packet, the device should use the following values:
101+
If a device can't use the device SDKs, it can still connect to the public device endpoints using the MQTT protocol on port 8883.
102+
103+
In the **CONNECT** packet, the device should use the following values:
102104

103105
* For the **ClientId** field, use the **deviceId**.
104106

@@ -121,6 +123,8 @@ If a device can't use the device SDKs, it can still connect to the public device
121123

122124
You can also use the cross-platform [Azure IoT Hub extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-toolkit) or the CLI extension command [az iot hub generate-sas-token](/cli/azure/iot/hub#az-iot-hub-generate-sas-token) to quickly generate a SAS token. You can then copy and paste the SAS token into your own code for testing purposes.
123125

126+
For a tutorial on using MQTT directly, see [Use MQTT to develop an IoT device client without using a device SDK](../iot-develop/tutorial-use-mqtt.md).
127+
124128
### Using the Azure IoT Hub extension for Visual Studio Code
125129

126130
1. In the side bar, expand the **Devices** node under the **Azure IoT Hub** section.
@@ -417,7 +421,13 @@ For more information, see [Understand and invoke direct methods from IoT Hub](..
417421

418422
## Next steps
419423

420-
To learn more about the MQTT protocol, see the [MQTT documentation](https://mqtt.org/).
424+
To learn more about using MQTT, see:
425+
426+
* [MQTT documentation](https://mqtt.org/)
427+
* [Use MQTT to develop an IoT device client without using a device SDK](../iot-develop/tutorial-use-mqtt.md)
428+
429+
To learn more about using IoT device SDKS, see:
430+
* [Azure IoT SDKs](iot-sdks.md)
421431

422432
To learn more about planning your IoT Hub deployment, see:
423433

@@ -426,7 +436,3 @@ To learn more about planning your IoT Hub deployment, see:
426436
* [Connecting IoT Devices to Azure: IoT Hub and Event Hubs](../iot-hub/iot-hub-compare-event-hubs.md)
427437
* [Choose the right IoT Hub tier for your solution](../iot-hub/iot-hub-scaling.md)
428438

429-
To further explore the capabilities of IoT Hub, see:
430-
431-
* [Azure IoT Hub concepts overview](../iot-hub/iot-hub-devguide.md)
432-
* [Quickstart: Deploy your first IoT Edge module to a virtual Linux device](../iot-edge/quickstart-linux.md)

0 commit comments

Comments
 (0)