Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Latest commit

 

History

History
16 lines (9 loc) · 870 Bytes

azure-iot-hub-win.md

File metadata and controls

16 lines (9 loc) · 870 Bytes

Send message to Azure IoT hub

The sample code is under samples/azure-iot-hub folder.

Azure IoT hub

If you're curious what Azure IoT Hub is and how to setup and manage Azure IoT Hub, please reference this tutorial and prepare your own IoT hub and device connection string, which is needed by this sample app.

Build and deploy

To build and deploy the sample code, simply follow the same steps/commands as we do for blink sample. The only difference is the sample folder/app name, which is azure-iot-hub/azure-blink instead of blink.

Run the app

Follow the same steps as the blink sample. Use SSH to login to Pi device and run the azure-blink sample with device connection string parameter you prepared earlier.

ssh.png