Skip to content

Commit a8de815

Browse files
authored
Update iot-hub-event-grid.md
1 parent 25cd30a commit a8de815

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

articles/iot-hub/iot-hub-event-grid.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -179,13 +179,7 @@ To filter messages before telemetry data is sent, you can update your [routing q
179179

180180
## Limitations for device connected and device disconnected events
181181

182-
To receive device connected and device disconnected events, you must open the D2C link or C2D link for your device. If your device is using MQTT protocol, IoT Hub will keep the C2D link open. For AMQP, you can open the C2D link by calling the [Receive Async API](https://docs.microsoft.com/dotnet/api/microsoft.azure.devices.client.deviceclient.receiveasync?view=azure-dotnet).
183-
184-
The D2C link is open if you are sending telemetry.
185-
186-
## Limitations for device connected and device disconnected events
187-
188-
To receive device connection state events, a device must do either a ‘D2C Send Telemetry’ OR a ‘C2D Receive Message’ operation with Iot Hub. However, note that if a device is using AMQP protocol to connect with Iot Hub, it is recommended that they do a ‘C2D Receive Message’ operation otherwise their connection state notifications may be delayed by few minutes. If your device is using MQTT protocol, IoT Hub will keep the C2D link open. For AMQP, you can open the C2D link by calling the [Receive Async API](https://docs.microsoft.com/dotnet/api/microsoft.azure.devices.client.deviceclient.receiveasync?view=azure-dotnet), for IoT Hub C# SDK, or [device client for AMQP] (https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-amqp-support#device-client).
182+
To receive device connection state events, a device must do either a ‘D2C Send Telemetry’ OR a ‘C2D Receive Message’ operation with Iot Hub. However, note that if a device is using AMQP protocol to connect with Iot Hub, it is recommended that they do a ‘C2D Receive Message’ operation otherwise their connection state notifications may be delayed by few minutes. If your device is using MQTT protocol, IoT Hub will keep the C2D link open. For AMQP, you can open the C2D link by calling the [Receive Async API](https://docs.microsoft.com/dotnet/api/microsoft.azure.devices.client.deviceclient.receiveasync?view=azure-dotnet), for IoT Hub C# SDK, or [device client for AMQP](https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-amqp-support#device-client).
189183

190184
The D2C link is open if you are sending telemetry.
191185

0 commit comments

Comments
 (0)