
April 2018 UM2347 Rev 2 1/60
1
UM2347
User manual
Getting started with X-CUBE-CLD-GEN IoT cloud generic
software expansion for STM32Cube
Introduction
This user manual describes the content and use of the X-CUBE-CLD-GEN IoT cloud
generic Expansion Package for STM32Cube.
The X-CUBE-CLD-GEN Expansion Package consists of a set of libraries and application
examples for STM32L4 Series, STM32F4 Series, and STM32F7 Series microcontrollers
acting as end devices.
These examples implement IoT cloud applications using the MQTT and HTTP protocols,
over Wi-Fi®, Ethernet, or cellular connections.
X-CUBE-CLD-GEN runs on five platforms:
•The B-L475E-IOT01A and 32F413HDISCOVERY boards support Wi-Fi®connectivity
with an on-board Inventek ISM43362 module
•The 32F769IDISCOVERY board provides a native Ethernet interface
•The P-L496G-CELL01 and P-L496G-CELL02 packs, with the 2G/3G Quectel UG96
and LTE Quectel BG96 cellular modem daughterboards respectively, support cellular
connectivity
For the five platforms, the sample applications configure the network connectivity
parameters, and illustrate the various ways for a device to interact with the cloud.
An application shows how an MQTT client can connect to an MQTT broker in order to
publish data and receive parameter updates or commands from the cloud.
Device authentication through MQTT login and password is supported. TLS encryption,
server authentication and device authentication are supported.
The MQTT broker can be a self-administrated server like Eclipse Mosquitto™, or the
Ubidots or Litmus Loop cloud platforms.
Other applications also demonstrate how a simple HTTP client can connect to either the
Exosite, Grovestreams or Ubidots cloud platforms using the HTTP or HTTPS protocol.
The B-L475E-IOT01A board reports telemetry data such as measurements of humidity,
temperature, 3-axis magnetic, acceleration, and gyroscope data, atmospheric pressure and
distance.
www.st.com