Skip to content

Commit a7d8130

Browse files
authored
Merge pull request #219936 from KennedyDMSFT/US43315
User Story 43315 - in progress
2 parents bb9d7b6 + 0d3f940 commit a7d8130

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

articles/iot-hub/TOC.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -669,13 +669,13 @@
669669
items:
670670
- name: C# (.NET)
671671
displayName: samples, azure-iot-samples-csharp, .NET Core SDK
672-
href: https://github.com/Azure-Samples/azure-iot-samples-csharp
672+
href: https://github.com/Azure/azure-iot-sdk-csharp#samples
673673
- name: Node.js
674674
displayName: samples, azure-iot-samples-node, Node.js LTS, npm
675675
href: https://azure.microsoft.com/resources/samples/azure-iot-samples-node/
676676
- name: Java
677677
displayName: samples, azure-iot-samples-java, Java SE 8, Maven 3, mvn
678-
href: https://github.com/Azure-Samples/azure-iot-samples-java
678+
href: https://github.com/Azure/azure-iot-sdk-java#samples
679679
- name: Python
680680
displayName: samples, azure-iot-samples-python, Azure IoT Python SDK,
681681
href: https://azure.microsoft.com/resources/samples/azure-iot-samples-python/

articles/iot-hub/iot-hub-devguide-messages-read-builtin.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ In the portal, the Event Hub-compatible endpoint field contains a complete Event
5252
| Hostname | abcd1234namespace.servicebus.windows.net |
5353
| Namespace | abcd1234namespace |
5454

55-
You can then choose any shared access policy from the drop-down as shown in the screenshot above. It only shows policies that have the **ServiceConnect** permissions to connect to the specified Event Hub.
55+
You can then choose any shared access policy from the drop-down as shown in the screenshot above. It only shows policies that have the **ServiceConnect** permissions to connect to the specified event hub.
5656

5757
The SDKs you can use to connect to the built-in Event Hub-compatible endpoint that IoT Hub exposes include:
5858

@@ -79,7 +79,7 @@ You can use the Event Hubs SDKs to read from the built-in endpoint in environmen
7979
| Language | Sample |
8080
| -------- | ------ |
8181
| .NET | [ReadD2cMessages .NET](https://github.com/Azure/azure-iot-sdk-csharp/tree/main/iothub/service/samples/getting%20started/ReadD2cMessages) |
82-
| Java | [read-d2c-messages Java](https://github.com/Azure-Samples/azure-iot-samples-java/tree/master/iot-hub/Quickstarts/read-d2c-messages) |
82+
| Java | [read-d2c-messages Java](https://github.com/Azure/azure-iot-sdk-java/tree/main/service/iot-service-samples/read-d2c-messages) |
8383
| Node.js | [read-d2c-messages Node.js](https://github.com/Azure-Samples/azure-iot-samples-node/tree/master/iot-hub/Quickstarts/read-d2c-messages) |
8484
| Python | [read-dec-messages Python](https://github.com/Azure-Samples/azure-iot-samples-python/tree/master/iot-hub/Quickstarts/read-d2c-messages) |
8585

articles/iot-hub/iot-hub-how-to-android-things.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ A device must be registered with your IoT hub before it can connect. In this qui
6565
adb devices
6666
```
6767
68-
3. Download our sample for Android/Android Things from this [repository](https://github.com/Azure-Samples/azure-iot-samples-java) or use Git.
68+
3. Download our sample for Android/Android Things from the [Microsoft Azure IoT SDKs for Java repository](https://github.com/Azure/azure-iot-sdk-java/#samples) or use Git to clone the repository as shown in the following example.
6969
7070
```
71-
git clone https://github.com/Azure-Samples/azure-iot-samples-java.git
71+
git clone https://github.com/Azure/azure-iot-sdk-java.git
7272
```
7373
74-
4. In Android Studio, open the Android Project in located in "\azure-iot-samples-java\iot-hub\Samples\device\AndroidSample".
74+
4. In Android Studio, open the Android Project from the *\azure-iot-sdk-java\device\iot-device-samples\android-sample* folder in your copy of the repository.
7575
7676
5. Open gradle.properties file, and replace "Device_connection_string" with your device connection string noted earlier.
7777

articles/iot-hub/iot-hub-ios-swift-c2d.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ To learn more about cloud-to-device messages, see [Send cloud-to-device messages
3333

3434
* An active IoT hub in Azure.
3535

36-
* The code sample from [Azure samples](https://github.com/Azure-Samples/azure-iot-samples-ios/archive/master.zip).
36+
* The code sample from the [Azure IoT Samples for IoS Platform repository](https://github.com/Azure-Samples/azure-iot-samples-ios).
3737

3838
* The latest version of [XCode](https://developer.apple.com/xcode/), running the latest version of the iOS SDK. This quickstart was tested with XCode 9.3 and iOS 11.3.
3939

@@ -49,7 +49,7 @@ In this section, you simulate an iOS device running a Swift application to recei
4949

5050
CocoaPods manages dependencies for iOS projects that use third-party libraries.
5151

52-
In a terminal window, navigate to the Azure-IoT-Samples-iOS folder that you downloaded in the prerequisites. Then, navigate to the sample project:
52+
In a terminal window, navigate to the folder containing the repository that you downloaded in the [prerequisites](#prerequisites). Then, navigate to the sample project:
5353

5454
```sh
5555
cd quickstart/sample-device

articles/iot-hub/quickstart-control-device-android.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ In this quickstart, you use a direct method to control a simulated device connec
2424

2525
* [Git](https://git-scm.com/download/).
2626

27-
* [Device SDK sample Android application](https://github.com/Azure-Samples/azure-iot-samples-java/tree/master/iot-hub/Samples/device/AndroidSample), included in [Azure IoT Samples (Java)](https://github.com/Azure-Samples/azure-iot-samples-java).
27+
* [Device SDK sample Android application](https://github.com/Azure/azure-iot-sdk-java/tree/main/device/iot-device-samples/android-sample), included in the [Microsoft Azure IoT SDKs for Java repository](https://github.com/Azure/azure-iot-sdk-java).
2828

29-
* [Service SDK sample Android application](https://github.com/Azure-Samples/azure-iot-samples-java/tree/master/iot-hub/Samples/service/AndroidSample), included in Azure IoT Samples (Java).
29+
* [Service SDK sample Android application](https://github.com/Azure/azure-iot-sdk-java/tree/main/device/iot-device-samples/android-sample), included in the [Microsoft Azure IoT SDKs for Java repository](https://github.com/Azure/azure-iot-sdk-java).
3030

3131
* Port 8883 open in your firewall. The device sample in this quickstart uses MQTT protocol, which communicates over port 8883. This port may be blocked in some corporate and educational network environments. For more information and ways to work around this issue, see [Connecting to IoT Hub (MQTT)](iot-hub-mqtt-support.md#connecting-to-iot-hub).
3232

@@ -92,11 +92,11 @@ You use this value later in the quickstart. This service connection string is di
9292

9393
## Listen for direct method calls
9494

95-
Both of the samples for this quickstart are part of the azure-iot-samples-java repository on GitHub. Download or clone the [azure-iot-samples-java](https://github.com/Azure-Samples/azure-iot-samples-java) repository.
95+
Both of the samples for this quickstart are part of the [Microsoft Azure IoT SDKs for Java repository](https://github.com/Azure/azure-iot-sdk-java) on GitHub. Download or clone the repository.
9696

9797
The device SDK sample application can be run on a physical Android device or an Android emulator. The sample connects to a device-specific endpoint on your IoT hub, sends simulated telemetry, and listens for direct method calls from your hub. In this quickstart, the direct method call from the hub tells the device to change the interval at which it sends telemetry. The simulated device sends an acknowledgment back to your hub after it executes the direct method.
9898

99-
1. Open the GitHub sample Android project in Android Studio. The project is located in the following directory of your cloned or downloaded copy of [azure-iot-sample-java](https://github.com/Azure-Samples/azure-iot-samples-java) repository: *\azure-iot-samples-java\iot-hub\Samples\device\AndroidSample*.
99+
1. Open the GitHub sample Android project in Android Studio. The project is located in the following directory of your cloned or downloaded copy of the [Microsoft Azure IoT SDKs for Java repository](https://github.com/Azure/azure-iot-sdk-java): *\azure-iot-sdk-java\device\iot-device-samples\android-sample*.
100100

101101
2. In Android Studio, open *gradle.properties* for the sample project and replace the **Device_Connection_String** placeholder with the device connection string you made a note of earlier.
102102

@@ -146,7 +146,7 @@ Run this app on a separate physical Android device or Android emulator.
146146
147147
An IoT Hub back-end service application typically runs in the cloud, where it's easier to mitigate the risks associated with the sensitive connection string that controls all devices on an IoT Hub. In this example, we are running it as an Android app for demonstration purposes only. The other-language versions of this quickstart provide examples that align more closely with a typical back-end service application.
148148
149-
1. Open the GitHub service sample Android project in Android Studio. The project is located in the following directory of your cloned or downloaded copy of [azure-iot-sample-java](https://github.com/Azure-Samples/azure-iot-samples-java) repository: *\azure-iot-samples-java\iot-hub\Samples\service\AndroidSample*.
149+
1. Open the GitHub service sample Android project in Android Studio. The project is located in the following directory of your cloned or downloaded copy of the [Microsoft Azure IoT SDKs for Java repository](https://github.com/Azure/azure-iot-sdk-java): *\azure-iot-sdk-java\device\iot-device-samples\android-sample*.
150150
151151
2. In Android Studio, open *gradle.properties* for the sample project. Update the values for the **ConnectionString** and **DeviceId** properties with the service connection string you noted earlier and the Android device ID you registered.
152152

0 commit comments

Comments
 (0)