How to set up an Azure Connector

Using an Azure Connector will help send data directly from your device to your Azure IoT Hub in a few quick steps.

Here is a quick how to guide to create and add a Azure Connector to a SIM.

Requirements

  1. An active Azure IoT Hub instance
  2. An Onomondo SIM

How-to:

  1. Go to "Devices" in the sidebar of the IoT Hub instance and click "Add Device"
    auzre_create_device1

  2. Enter an appropriate name in the "Device ID" field and click "Save"
    auzre_create_device2
  3. Click your newly created device
    auzre_create_device3

  4. Copy the "Primary Connection String"
    auzre_create_device4

  5. Go to https://app.onomondo.com/connectors and create a "New connector"
    1. Give the Connector a name
    2. In the "Connector type" dropdown choos Microsoft Azure IoT
    3. Paste the connection string that you got in the previous step into the "Connection string" field
      create_azure_connector1

  6. Add the Connector to a SIM
    1. Find the SIM (using the search on the Dashboard or SIMs page)
    2. Go to the SIMs page
    3. Click the edit SIM button
    4. Add the Connector
      add_azure_connector_sim

Now all TCP data from the device will be sent to Device endpoint on your Azure Portal.

Only TCP Protocol supported

If you want to send data via UDP packets to Azure through a Connector, look into setting up a Azure DPS connector instead. You can still send UDP packets to other servers by bypassing the Connector using a passthrough rule (see below).

You can customize which data is ignored by the Connector by setting up passthrough Rules.