Skip to content

Commit e3f7ad3

Browse files
committed
Edits
1 parent 0f2f2c2 commit e3f7ad3

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

includes/iot-hub-howto-file-upload-dotnet.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ Follow this procedure to upload a file from a device to IoT hub:
3131

3232
### Connect to IoT hub
3333

34-
Supply the IoT hub primary connection string as described in prerequisites to [CreateFromConnectionString](/dotnet/api/microsoft.azure.devices.client.deviceclient.createfromconnectionstring?#microsoft-azure-devices-client-deviceclient-createfromconnectionstring(system-string)) method. `AMQP` is the default transport protocol.
34+
Call [CreateFromConnectionString](/dotnet/api/microsoft.azure.devices.client.deviceclient.createfromconnectionstring?#microsoft-azure-devices-client-deviceclient-createfromconnectionstring(system-string)) method to connect to IoT hub. See the prerequisites section for how to look up the IoT hub primary connection string.
35+
36+
`AMQP` is the default transport protocol.
3537

3638
``` csharp
3739
static string connectionString = "{IoT hub primary connection string}";

includes/iot-hub-howto-file-upload-java.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ IotHubClientProtocol protocol = IotHubClientProtocol.MQTT;
3939

4040
### Connect to IoT hub
4141

42-
Instantiate the `DeviceClient` to connect to IoT hub using the IoT hub primary connection string and protocol parameters.
42+
Instantiate the `DeviceClient` to connect to IoT hub using the IoT hub primary connection string. See the prerequisites section for how to look up the IoT hub primary connection string.
4343

4444
```java
4545
String connString = "{IoT hub connection string}";

includes/iot-hub-howto-file-upload-node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ To create a file upload notification application:
138138

139139
The [ServiceClient](/javascript/api/azure-iothub/client) class contains methods that services can use to receive file upload notifications.
140140

141-
Connect to IoT hub using [fromConnectionString](/javascript/api/azure-iothub/client?#azure-iothub-client-fromconnectionstring).
141+
Connect to IoT hub using [fromConnectionString](/javascript/api/azure-iothub/client?#azure-iothub-client-fromconnectionstring). See the prerequisites section for how to look up the IoT hub primary connection string.
142142

143143
```javascript
144144
const Client = require('azure-iothub').Client;

includes/iot-hub-howto-file-upload-python.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ from azure.storage.blob import BlobClient
4747

4848
### Connect to IoT hub
4949

50-
Call [create_from_connection_string](/python/api/azure-iot-device/azure.iot.device.iothubdeviceclient?#azure-iot-device-iothubdeviceclient-create-from-connection-string) to add the connection string. Then call [connect](/python/api/azure-iot-device/azure.iot.device.iothubdeviceclient?#azure-iot-device-iothubdeviceclient-connect) to connect the device client to an Azure IoT hub.
50+
Call [create_from_connection_string](/python/api/azure-iot-device/azure.iot.device.iothubdeviceclient?#azure-iot-device-iothubdeviceclient-create-from-connection-string) to add the IoT hub primary connection string. See the prerequisites section for how to look up the IoT hub primary connection string.
51+
52+
Then call [connect](/python/api/azure-iot-device/azure.iot.device.iothubdeviceclient?#azure-iot-device-iothubdeviceclient-connect) to connect the device client to an Azure IoT hub.
5153

5254
For example:
5355

0 commit comments

Comments
 (0)