Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 1.09 KB

README.md

File metadata and controls

18 lines (10 loc) · 1.09 KB

Azure IoT Hub - DeviceStreams Sample

Example how to work with Azure IoT Hub Device Streams


This example shows how to work with Azure IoT Hub - Device Streams when using SSH to connect to a IoT device via Internet/IoT Hub.

DeviceProxy represents local proxy for IoT device which acts as client for the local SSH daemon. It's responsible for authenticating against IoT Hub as well as creating a WebSocket connection to streaming endpoint of Azure IoT Hub.

ServiceProxy represents proxy for service which acts as a server for a local SSH client. It's responsible for authenticating against IoT Hub as well as creating a WebSocket connection to streaming endpoint of Azure IoT Hub.

DeviceProxy and ServiceProxy communicates with each other using created WebSocket via streaming endpoint of Azure IoT Hub.

Further information: https://www.fzankl.de/en/blog/remote-access-for-iot-devices-using-azure-iot-hub

How to run this sample

To run this example you have to provide valid IoT Hub configuration via launchSettings.json for DeviceProxy and ServiceProxy.