Skip to content

Commit b8f0c80

Browse files
authored
Merge pull request #105652 from JimacoMS3/fix-gh-issue-47539
Fix for gh issue 47539: Response codes in chart are wrong
2 parents 65d3632 + 2dc6447 commit b8f0c80

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

articles/iot-hub/iot-hub-mqtt-support.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -155,28 +155,27 @@ This repository contains:
155155

156156
**For Windows:**
157157

158-
TelemetryMQTTWin32: contains code to send a telemetry message to an Azure IoT hub, built and run on a Windows machine.
158+
* TelemetryMQTTWin32: contains code to send a telemetry message to an Azure IoT hub, built and run on a Windows machine.
159159

160-
SubscribeMQTTWin32: contains code to subscribe to events of a given IoT hub on a Windows machine.
160+
* SubscribeMQTTWin32: contains code to subscribe to events of a given IoT hub on a Windows machine.
161161

162-
DeviceTwinMQTTWin32: contains code to query and subscribe to the device twin events of a device in the Azure IoT hub on a Windows machine.
162+
* DeviceTwinMQTTWin32: contains code to query and subscribe to the device twin events of a device in the Azure IoT hub on a Windows machine.
163163

164-
PnPMQTTWin32: contains code to send a telemetry message with IoT Plug & Play preview Device capabilities to an Azure IoT hub, built and run on a Windows machine. More on IoT Plug & Play [here](https://docs.microsoft.com/azure/iot-pnp/overview-iot-plug-and-play)
164+
* PnPMQTTWin32: contains code to send a telemetry message with IoT Plug & Play preview Device capabilities to an Azure IoT hub, built and run on a Windows machine. More on IoT Plug & Play [here](https://docs.microsoft.com/azure/iot-pnp/overview-iot-plug-and-play)
165165

166166
**For Linux:**
167167

168-
MQTTLinux: contains code and build script to run on Linux (WSL, Ubuntu and Raspbian have been tested so far).
168+
* MQTTLinux: contains code and build script to run on Linux (WSL, Ubuntu, and Raspbian have been tested so far).
169169

170-
LinuxConsoleVS2019: contains the same code but in a VS2019 project targeting WSL (Windows Linux sub system). This project allows you to debug the code running on Linux step by step from Visual Studio.
170+
* LinuxConsoleVS2019: contains the same code but in a VS2019 project targeting WSL (Windows Linux sub system). This project allows you to debug the code running on Linux step by step from Visual Studio.
171171

172172
**For mosquitto_pub:**
173173

174-
This folder contains two samples commands used with mosquitto_pub utility tool provided by Mosquitto.org.
174+
This folder contains two samples commands used with mosquitto_pub utility tool provided by Mosquitto.org.
175175

176-
Mosquitto_sendmessage: to send a simple text message to an Azure IoT hub acting as a device.
177-
178-
Mosquitto_subscribe: to see events occurring in an Azure IoT hub.
176+
* Mosquitto_sendmessage: to send a simple text message to an Azure IoT hub acting as a device.
179177

178+
* Mosquitto_subscribe: to see events occurring in an Azure IoT hub.
180179

181180
## Using the MQTT protocol directly (as a module)
182181

@@ -336,7 +335,7 @@ The possible status codes are:
336335

337336
|Status | Description |
338337
| ----- | ----------- |
339-
| 204 | Success (no content is returned) |
338+
| 200 | Success |
340339
| 429 | Too many requests (throttled), as per [IoT Hub throttling](iot-hub-devguide-quotas-throttling.md) |
341340
| 5** | Server errors |
342341

@@ -367,7 +366,7 @@ The possible status codes are:
367366

368367
|Status | Description |
369368
| ----- | ----------- |
370-
| 200 | Success |
369+
| 204 | Success (no content is returned) |
371370
| 400 | Bad Request. Malformed JSON |
372371
| 429 | Too many requests (throttled), as per [IoT Hub throttling](iot-hub-devguide-quotas-throttling.md) |
373372
| 5** | Server errors |
@@ -402,7 +401,7 @@ When a device is connected, IoT Hub sends notifications to the topic `$iothub/tw
402401
}
403402
```
404403

405-
As for property updates, `null` values means that the JSON object member is being deleted. Also, note that `$version` indicates the new version of the desired properties section of the twin.
404+
As for property updates, `null` values mean that the JSON object member is being deleted. Also, note that `$version` indicates the new version of the desired properties section of the twin.
406405

407406
> [!IMPORTANT]
408407
> IoT Hub generates change notifications only when devices are connected. Make sure to implement the [device reconnection flow](iot-hub-devguide-device-twins.md#device-reconnection-flow) to keep the desired properties synchronized between IoT Hub and the device app.

0 commit comments

Comments
 (0)