0

I connected my mobile device to the IOT hub. I would like to display the connectivity (online/offline) status of the device on IOT hub service app installed on another device. How to achieve this? Is there any automatic trigger/event that fires when there is change in connectivity status? Also is there any API in service SDK to check the connectivity status of the device.

Chandra
  • 515
  • 6
  • 19

1 Answers1

2

Yes, we publish device connection state on Event Grid, which can be used for trigger: https://learn.microsoft.com/en-us/azure/iot-hub/iot-hub-how-to-order-connection-state-events

Yi Zhong - MSFT
  • 306
  • 2
  • 7