Chapter 6
Device registration
Before exchanging information through a secure communication channel, a device must be registered (and enrolled) into the
Azure IoT Central application. This section explains how to quickly register the EasyEVSE to the Microsoft Azure IoT Central
application created in the previous section.
There are several authentication schemes to register a device in the Azure IoT Central application. This document implements a
simple SAS (Shared Access Signature) attestation and authentication scheme. This method relies on symmetric keys. The Azure
IoT Central generates a pair of symmetric keys that are shared with the EVSE (IoT device). You must add the keys to your specific
application code. For simplicity reasons, the keys along with other parameters are stored directly in the i.MX RT106x flash (not
in the secure SE050), because it needs several provisioning steps.
This guide shows how to store critical credentials in the non-volatile memory, because this simplifies the initial
startup process and understanding. In a commercial and secure application, use a secure element, such as the
Edge Lock SE050. Otherwise, any malicious individual may extract the credentials. The provisioning steps for the
Edge lock using i.MX RT106x are described in the EV Charging Station Development Platform User Manual.
WARNING
The Azure IoT Central provides a Device Provisioning Service (DPS) to enroll devices, such as the EasyEVSE. There are 2 ways
to enroll the device to the DPS: group enrollments and individual enrollments.
Individual enrollments are an entry for a single device that may register with the DPS. Individual enrollments may use either x509
certificates or SAS tokens (in a real or virtual TPM) as attestation mechanisms.
Individual enrollments require manual intervention for every newly added device, so the group enrollment is recommended as the
method for volume production. It is described in detail in the EV Charging Station Development Platform User Manual.
6.1 Creating a new device
To create a new device in your Azure IoT Central application, perform the following steps:
1. In your Azure IoT Central application, select "Devices".
2. Locate the EasyEVSE Dashboard.
3. Click "New" or "Create a device" to create a new device.
Figure 25. Creating a new Easy EVSE device
4. Write a recognizable device name into the “Create a new device” prompt. The "EasyEVSEDevice" device name is used
in this document.
5. Continue to write the Device ID. The "MyEasyEVSEDevice" device ID is used in this document.
The device ID is also the REGISTRATION ID used in the source code.
NOTE
6. Click "Create".
NXP Semiconductors
NXP EasyEVSE EV Charging Station Development Platform User Guide, Rev. 0, 18 March 2022
User Guide
23 / 64