Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor fixes in samples #2937

Merged
merged 1 commit into from
Nov 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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