Skip to content

Commit

Permalink
Minor sample fixes (#2937)
Browse files Browse the repository at this point in the history
  • Loading branch information
schoims authored Nov 7, 2022
1 parent 5c0581b commit 6f34bf4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This sample code demonstrates the various connection status changes and connecti
// Connection string:
// Get the device connection string from Azure IoT Portal, or using Azure CLI.
// Azure portal -
// Navigate to your IoT Hub. From the left pane, under "Explorers", click on "IoT devices".
// Navigate to your IoT Hub. From the left pane, under "Device management", click on "Devices".
// Click and navigate to your device.
// Copy the connection strings listed (primary and/or secondary).
// Azure CLI -
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ namespace Microsoft.Azure.Devices.Client.Samples
internal class Parameters
{
[Option(
's',
"DeviceSecurityType",
HelpText = "(Required) The flow that will be used for connecting the device for the sample. Possible case-insensitive values include: dps, connectionString." +
"\nDefaults to environment variable 'IOTHUB_DEVICE_SECURITY_TYPE'.")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This folder contains samples to illustrate how to use the DigitalTwinClient to p

## Prerequisites
In order to run the device samples on Linux or Windows, you will first need the following prerequisites:
* [Setup your IoT hub][lnk-setup-iot-hub]
* [Set up your IoT hub][lnk-setup-iot-hub]
* [Provision your device and get its credentials][lnk-manage-iot-device]

## Setup Environment
Expand Down Expand Up @@ -36,15 +36,15 @@ You need to clone the repository or download the sample (the one you want to try
dotnet run
```
[lnk-thermostat-sample]: /iot-hub/Samples/service/DigitalTwinClientSamples/Thermostat/
[lnk-thermostat-sample]: /iothub/service/samples/solutions/DigitalTwinClientSamples/Thermostat
[lnk-temperatureController-sample]: /iot-hub/Samples/service/DigitalTwinClientSamples/TemperatureController/
[lnk-temperatureController-sample]: /iothub/service/samples/solutions/DigitalTwinClientSamples/TemperatureController
[lnk-setup-iot-hub]: https://aka.ms/howtocreateazureiothub
[lnk-manage-iot-device]: https://github.com/Azure/azure-iot-device-ecosystem/blob/master/setup_iothub.md#create-new-device-in-the-iot-hub-device-identity-registry
[lnk-thermostat-device-sample]: /iot-hub/Samples/device/PnpDeviceSamples/Thermostat
[lnk-thermostat-device-sample]: /iothub/device/samples/solutions/PnpDeviceSamples/Thermostat
[lnk-temperaturecontroller-device-sample]: /iot-hub/Samples/device/PnpDeviceSamples/TemperatureController
[lnk-temperaturecontroller-device-sample]: /iothub/device/samples/solutions/PnpDeviceSamples/TemperatureController

0 comments on commit 6f34bf4

Please sign in to comment.