The X-CUBE-AZURE Expansion Package consists of a set of libraries and application examples for STM32L4 Series, STM32F4 Series, and STM32F7 Series microcontrollers acting as end devices.
X-CUBE-AZURE runs on four platforms. The B-L475E-IOT01A and 32F413HDISCOVERY boards support Wi-Fi® connectivity with an on-board Inventek module. The 32F769IDISCOVERY board provides a native Ethernet interface. The P-L496G-CELL02 pack includes an STM32L496AGI6-based low-power Discovery board equipped with Quectel’s BG96 modem (LTE Cat M1/NB/2G fallback) for cellular connectivity.
For the four platforms, a sample application configures the network connectivity parameters, and illustrates the various ways for a device to interact with Microsoft® Azure® IoT Hub. The application shows how a simple client application connects to the Azure® IoT Hub in order to publish device state and telemetry data, and receive device configuration from the cloud.
The application handles Azure® messages, methods and twin update commands. This allows, from the Azure IoT console, the remote control of the user LED state, the change of the telemetry interval, or the trigger of remote firmware update.
Key features
- Ready-to-run firmware example using cellular, Wi-Fi®, and Ethernet connectivity to support quick evaluation and development of Microsoft® Azure® cloud-connected applications
- Board configuration interface for connection to the Azure® IoT Hub
- Secure Boot and Secure Firmware Update
- TLS encryption
- Azure® IoT Hub, and bidirectional communication examples implemented
- Azure® X509 device authentication and Azure® Device Provisioning Service (DPS)
- Connection to an Azure® IoT central demonstration
- Connection to STMicroelectronics dashboard for Azure®, for easy sensor data visualization and device control
- Specific features on the B-L475E-IOT01A board such as measurement of humidity, temperature, 3-axis magnetic data, 3-axis acceleration, 3-axis gyroscope data, atmospheric pressure, and time-of-flight
It connects to the ST-AZURE-Dashboard for easy sensor data visualization and device control. It is possible to securely update firmware based on a bootloader derived from the X-CUBE-SBSFU Expansion Package.
Device authentication and TLS encryption security features are complemented on the client side by the Secure Boot and Secure Firmware Update features.
The B-L475E-IOT01A board reports telemetry data such as measurement of humidity, temperature, and atmospheric pressure.