Skip to content

Development Process

XRT allows you to create connected edge applications by assembling and configuring specific combinations of standard XRT components to fulfill a use case. XRT allows you to create connected Azure Sphere applications for a range of industrial protocols; for example, Modbus, BACnet and OPC-UA. XRT gives you the ability to create IoT applications by configuring a set of deployment-ready components.

XRT application development is supported by IOTech's Device Configuration Tool, which is a graphical tool for the definition and creation of protocol-specific configuration files, called device profiles. Device profiles are used to define OT device endpoint types and their properties.

The process for creating a connected Azure Sphere IoT application using XRT is illustrated below:

DevProcess

This development process has the following steps:

  1. Install the XRT for Azure Sphere package and the Azure Sphere example projects on a host machine

  2. Create a device profile, <device_profile>.json, to represent the IoT device type using the Device Configuration Tool

    You can also use the Device Configuration Tool to generate a Digital Twins Definition Language (DTDL) file representing the same IoT device

  3. Update the configuration files as follows:

    a. Specify the device instances that the XRT Device Service component creates at runtime, based on the device profile created above, in the <device_service>.json file

    b. Specify the endpoint information needed by the XRT Azure Sphere Export Service to send data to, and accept commands from, the IoT Hub in the <azure_export_service>.json file

    c. Describe the resources, also called application capabilities, that an application requires in the <azure_application_manifest>.json file. Every application has an application manifest

  4. Build the XRT Azure application

  5. Deploy the XRT Azure Application to the Azure Sphere hardware module, such as the Guardian 100

  6. Visualize the data on the Azure IoT Hub and, optionally, send commands to the connected IoT device

Back to top