GetStartedGuide.md
6/3/2021
6 / 12
Configuring Squidsmartapp Azure IoT Handler
This section demonstrates how to configure the Azure IoT Handler by using the required parameters, to
connect to an Azure IoT Hub, through an Azure Device Provisioning Service.
First step is to go to /config/azureiot of the Squidsmart api and press Try it out and paste config information
and then execute buttons. The api command requires the following parameters, when using Symmetric Key as
security:
• mode: Security mode: SymmetricKey.
• deviceKey: Primary key from key pair.
• registrationId: Registration id for the gateway, if gateway EUI’s are used on the cloud side, this parameter
can be set to “${production.gateway.eui}”.
• globalEndpoint: Global device endpoint associated with targeted Azure Device Provisioning Service.
• scopeId: ID scope associated with targeted Azure Device Provisioning Service.
• modelId: ID of targeted DTDL template to match.
Aditionally the gateway requires a complete model mapping, containing a full list of end-devlce EUI’s as well
as the DTDL model tags to map to.
If connection is successful, you can see the following message at /config/azureiot/status, telling the handler is
started and connected.
Connect to Azure IoT Central