Changes

Jump to: navigation, search
no edit summary
Following the example illustrated [https://docs.microsoft.com/en-us/azure/iot-edge/how-to-deploy-modules-vscode here], the first step is to create a <code>deployment.json</code> file. In this case, the [https://azuremarketplace.microsoft.com/en-us/marketplace/apps/microsoft.edge-simulated-temperature-sensor-ga ''Simulated Temperature Sensor'' module] will be deployed to the edge device.
The following picture shows the file and the ''Azure IoT Hub Devices'' section in the bottom left corner. This section in turn lists the connected edge devices—<code>sbcx</code> in the example—and the their running modules (TBD<code>edgeAgent</code> and <code>edgeHub</code> in the example).
[[File:SBCX-VSC-Azure-IoT-Tools2.png|thumb|center|600px|The ''Azure IoT Hub Devices'' section before deploying the ''Simulated Temperature Sensor'' module]]
 
[[File:SBCX-VSC-Azure-IoT-Tools3.png|thumb|center|600px|The output console during the deployment process]]
 
 
 
After refreshing the lists of the modules associated with the <code>sbcx</code> device, a new module named ''SimulatedTemperatureSensor'' should appear:
 
 
[[File:SBCX-VSC-Azure-IoT-Tools5.png|thumb|center|600px|The list of the modules after deploying ''SimulatedTemperatureSensor'']]
 
 
 
There are different ways to verify that the ''Simulated Temperature Sensor'' module is sending data to the cloud. In VSC, it is possible to monitor the by clicking the ''Start Monitoring Built-in Event Endpoint'' item in the drop-down menu associated with the <code>sbcx</code> device:
 
 
[[File:SBCX-VSC-Azure-IoT-Tools6.png|thumb|center|600px|Messages associated with data generated by the ''Simulated Temperature Sensor'' module]]
 
 
In the output console, the messages relating to the transmission of such data will be visible.
 
Another method to
4,650
edits

Navigation menu