Steps To Follow; Create Azure Iot Central Application; Create X.509 Certificates - Bosch XDK110 Connection Manual

Connect device to your azure iot services
Hide thumbs Also See for XDK110:
Table of Contents

Advertisement

Connect XDK110 device to your Azure IoT services
1 Introduction
The AzurePlugAndPlay application is aimed at simplifying the development of your IoT solutions. Through this application
you will be able to access the data from all built-in sensors of XDK110 and get the luxury of easy connectivity with Azure
using X.509 certificates. This application will enable you to select which all sensors to be enabled, at what time they needs
to be sampled, at what time the mean value of sampled data should be send to Azure. In addition to these, the application
supports heart beat message operations and reboot command support. This quick start guide is intended for you to make
use of the AzurePlugAndPlay application with
additional detail at the end, regarding how to connect with the
2 Before you start
It is mandatory that the firmware of the built-in CC3100 WiFi chip has to be updated before flashing the
AzurePlugAndPlay application to XDK110.
Module Upgrade
' documentation for understanding how to update the WiFi chip firmware.
 The CC3100 WiFi chip can support certificates of maximum length 2048bytes only.
In order to create an X.509 certificate for the device, you will be needing OpenSSL installed in the system as well.
3
Overview

1. Create Azure IoT Central application

2. Create X.509 certificates

3. Create enrollment group and verify root X.509 certificate
4. Customize and publish device template
5. Update configuration file
6. Keep the configuration file and credentials in SD card
7. Flash the application to your device and get connected
8. Additional details : Connecting to IoT Hub
9. Additional details : Connecting to Azure IoT Explorer

4 Steps to follow

4.1 Create Azure IoT Central application
Follow the steps discussed in the '
application.
4.2 Create X.509 certificates
For easy creation of X.509 certificate you can make use of the CACertificates tool provided by Azure. You can either
access
this github link
to get the tool or else you can go to the location
'AzurePlugAndPlay/SDK/xdk110/Libraries/AzureIotSdkForC/3rd-party/azure-iot-sdk-c/tools/CACertificates' within
the workbench.
The X.509 Certificates created by these scipts MUST NOT be used for production. They contain hard-coded passwords
("1234"), expire after 30 days, and most importantly are provided for demonstration purposes to help you quickly
understand CA Certificates.
4.2.1 Edit certGen.sh file within the CACertificates tool and change
from key_bits_length="4096" to key_bits_length="2048".
key length of 2048bytes.
4.2.2 Open Bash in the folder where certGen.sh is located and run below command to set permission
chmod 700 certGen.sh
Data subject not change without notice | Printed in Germany | December 2020
Azure IoT Central Application
This will enable the WiFi chip to handle TLSv1.2. Please refer the '
Create An IoT Central Application
This is mandatory as CC3100 WiFi chip can support maximum
service. You will also be provided with an
Azure IoT Hub service
as well.
' for quickly deploying an Azure IoT Central
3 | 16
Wi-Fi
BCDS

Advertisement

Table of Contents
loading

Table of Contents