You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/iot-hub-device-update/device-update-agent-provisioning.md
+9-15Lines changed: 9 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,7 +89,7 @@ Follow these instructions to provision the Device Update agent on [IoT Edge enab
89
89
90
90
1. Install the Device Update image update agent.
91
91
92
-
We provide sample images in the [Assets here](https://github.com/Azure/iot-hub-device-update/releases) repository. The swUpdate file is the base image that you can flash onto a Raspberry Pi B3+ board. The .gz file is the update you would import through Device Update for IoT Hub. For an example, see [How to flash the image to your IoT Hub device](./device-update-raspberry-pi.md#flash-an-sd-card-with-the-image).
92
+
We provide sample images in the [Assets here](https://github.com/Azure/iot-hub-device-update/releases) repository. The swUpdate file is the base image that you can flash onto a Raspberry Pi B3+ board. The .gz file is the update you would import through Device Update for IoT Hub. For an example, see [How to flash the image to your IoT Hub device](./device-update-raspberry-pi.md).
93
93
94
94
1. Install the Device Update package update agent.
95
95
@@ -119,7 +119,7 @@ Follow these instructions to provision the Device Update agent on [IoT Edge enab
119
119
```shell
120
120
sudo nano /etc/adu/du-config.json
121
121
```
122
-
Change the connectionType to "AIS" for agents who will be using the IoT Identity Service for provisioning. The ConnectionData field must be a empty string. Please note that all values with the 'Place value here' tag must be set. See [Configuring a DU agent](./device-update-configuration-file.md#example-du-configjson-file-contents).
122
+
Change the connectionType to "AIS" for agents who will be using the IoT Identity Service for provisioning. The ConnectionData field must be an empty string. Please note that all values with the 'Place value here' tag must be set. See [Configuring a DU agent](./device-update-configuration-file.md#example-du-configjson-file-contents).
123
123
124
124
5. You are now ready to start the Device Update agent on your IoT device.
125
125
@@ -131,22 +131,22 @@ Follow these instructions to provision the Device Update agent on your IoT Linux
131
131
132
132
2. Configure the IoT Identity Service by following the instructions in [Configuring the Azure IoT Identity Service](https://azure.github.io/iot-identity-service/configuration.html).
133
133
134
-
3. Finally install the Device Update agent. We provide sample images in [Assets here](https://github.com/Azure/iot-hub-device-update/releases), the swUpdate file is the base image that you can flash onto a Raspberry Pi B3+ board, and the .gz file is the update you would import through Device Update for IoT Hub. See example of [how to flash the image to your IoT Hub device](./device-update-raspberry-pi.md#flash-an-sd-card-with-the-image).
134
+
3. Finally install the Device Update agent. We provide sample images in [Assets here](https://github.com/Azure/iot-hub-device-update/releases), the swUpdate file is the base image that you can flash onto a Raspberry Pi B3+ board, and the .gz file is the update you would import through Device Update for IoT Hub. See example of [how to flash the image to your IoT Hub device](./device-update-raspberry-pi.md).
135
135
136
136
4. After you've installed the device update agent, you will need to edit the configuration file for Device Update by running the command below.
137
137
138
138
```shell
139
139
sudo nano /etc/adu/du-config.json
140
140
```
141
-
Change the connectionType to "AIS"for agents who will be using the IoT Identity Service for provisioning. The ConnectionData field must be a empty string. Please note that all values with the 'Place value here' tag must be set. See [Configuring a DU agent](./device-update-configuration-file.md#example-du-configjson-file-contents).
141
+
Change the connectionType to "AIS"for agents who will be using the IoT Identity Service for provisioning. The ConnectionData field must be an empty string. Please note that all values with the 'Place value here' tag must be set. See [Configuring a DU agent](./device-update-configuration-file.md#example-du-configjson-file-contents).
142
142
143
143
5. You are now ready to start the Device Update agent on your IoT device.
144
144
145
145
### Other IoT devices
146
146
147
147
The Device Update agent can also be configured without the IoT Identity service for testing or on constrained devices. Follow the below steps to provision the Device Update agent using a connection string (from the Module or Device).
148
148
149
-
1. We provide sample images in the [Assets here](https://github.com/Azure/iot-hub-device-update/releases) repository. The swUpdate file is the base image that you can flash onto a Raspberry Pi B3+ board. The .gz file is the update you would import through Device Update for IoT Hub. For an example, see [How to flash the image to your IoT Hub device](./device-update-raspberry-pi.md#flash-an-sd-card-with-the-image).
149
+
1. We provide sample images in the [Assets here](https://github.com/Azure/iot-hub-device-update/releases) repository. The swUpdate file is the base image that you can flash onto a Raspberry Pi B3+ board. The .gz file is the update you would import through Device Update for IoT Hub. For an example, see [How to flash the image to your IoT Hub device](./device-update-raspberry-pi.md).
150
150
151
151
1. Log onto the machine or IoT Edge device/IoT device.
152
152
@@ -172,7 +172,7 @@ The Device Update agent can also be configured without the IoT Identity service
172
172
173
173
This section describes how to start and verify the Device Update agent as a module identity running successfully on your IoT device.
174
174
175
-
1. Log into the machine or device that has the Device Update agent installed.
175
+
1. Log in to the machine or device that has the Device Update agent installed.
176
176
177
177
1. Open a Terminal window, and enter the command below.
178
178
@@ -195,18 +195,12 @@ This section describes how to start and verify the Device Update agent as a modu
195
195
196
196
## How to build and run Device Update Agent
197
197
198
-
You can also build and modify your own customer Device Update agent.
199
-
200
-
Follow the instructions to [build](https://github.com/Azure/iot-hub-device-update/blob/main/docs/agent-reference/how-to-build-agent-code.md) the Device Update Agent
201
-
from source.
198
+
You can also build and modify your own customer Device Update agent. Follow the instructions to [build](https://github.com/Azure/iot-hub-device-update/blob/main/docs/agent-reference/how-to-build-agent-code.md) the Device Update Agent from source.
202
199
203
200
Once the agent is successfully building, it's time to [run](https://github.com/Azure/iot-hub-device-update/blob/main/docs/agent-reference/how-to-run-agent.md)
204
-
the agent.
205
-
206
-
Now, make the changes needed to incorporate the agent into your image. Look at how to
201
+
the agent. Now, make the changes needed to incorporate the agent into your image. Look at how to
207
202
[modify](https://github.com/Azure/iot-hub-device-update/blob/main/docs/agent-reference/how-to-modify-the-agent-code.md) the Device Update Agent for guidance.
208
203
209
-
210
204
## Troubleshooting guide
211
205
212
206
If you run into issues, review the Device Update for IoT Hub [Troubleshooting Guide](troubleshoot-device-update.md) to help unblock any possible issues and collect necessary information to provide to Microsoft.
@@ -216,7 +210,7 @@ If you run into issues, review the Device Update for IoT Hub [Troubleshooting Gu
216
210
217
211
You can use the following tutorials for a simple demonstration of Device Update for IoT Hub:
218
212
219
-
- [Image Update: Getting Started with Raspberry Pi 3 B+ Reference Yocto Image](device-update-raspberry-pi.md) extensible via open source to build you own images for other architecture as needed.
213
+
- [Image Update: Getting Started with Raspberry Pi 3 B+ Reference Yocto Image](device-update-raspberry-pi.md) extensible via open source to build your own images for other architecture as needed.
220
214
221
215
- [Package Update: Getting Started using Ubuntu Server 18.04 x64 Package agent](device-update-ubuntu-agent.md)
0 commit comments