Skip to content
Fork from STM32CubeExpansion_Cloud_CLD_GEN_V1.0.0 to allow setting topics for publish and subscribe from terminal at runtime
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

STM32-B-L475E-IOT01A connectivity

This is an update to the X-CUBE-CLD-GEN Expansion Package in order to allow for pub/sub topic customization.

Connection string format

Default connection string: HostName=xxx;HostPort=xxx;ConnSecurity=x;MQClientId=xxx;MQUserName=xxx;MQUserPwd=xxx; Updated connection string: HostName=xxx;HostPort=xxx;ConnSecurity=x;MQClientId=xxx;MQUserName=xxx;MQUserPwd=xxx;PublicationTopic=xxx;SubscriptionTopic=xxx;

Code updates


For step by step instructions, check out our blog entry.


The binary folder contains the builts package based on the modified code. For testing purposes, you will only need to paste the provided bin (B-L475E-IOT01_GenericMQTT.bin) on your device. Once the device restarts, you can configure all parameters from the terminal.


The updated files are provided in this repository. Before compiling, you will need to replace the files by the provided ones. The easiest would be to paste the full directory structure as-is on top of the unzipped X-CUBE-CLD-GEN Expansion Package

You can also use the provided diffs under the diff folder.

You can’t perform that action at this time.