Overview
MqttLink connects to an MQTT broker, publishes and subscribes to topics with QoS levels, and delivers messages to Blueprints. Helper nodes build messages and validate/match topics.
Fork note Module
MqttUtilities was renamed to MqttLink for UE 4.27–5.0+; bundled demo content is migrated via CoreRedirects. MakeMqttMessage, topic validation and wildcard matching were added.Disabled by default This plugin ships the bundled third-party library
mosquitto / MQTT client (per-platform) and is shipped with "EnabledByDefault": false. Enable it from Edit → Plugins (or set the flag in its .uplugin) once the library builds on your target platform.Requirements
| Requirement | Details |
|---|---|
| Unreal Engine | 4.27–5.0+ |
| Bundled library | mosquitto / MQTT client (per-platform) (in Source/ThirdParty) |
| Language | Blueprints and/or C++ |
| Platforms | Win64 · Mac · Linux · iOS · Android |
Installation
- Copy the
MqttLinkfolder into your project'sPlugins/directory. - C++ projects: regenerate project files and build. Blueprint-only projects can launch the editor directly.
- Open Edit → Plugins and confirm MqttLink is enabled (it is off by default — turn it on).
Client & helpers (UMqttLinkBPL)
| Node | Type | Description |
|---|---|---|
| Create Mqtt Client | Callable | Create a client from a config. |
| Make Mqtt Message | Pure | Build an FMqttMessage (topic, payload, QoS, retain). |
| Is Valid Mqtt Topic | Pure | Validate a publish topic. |
| Match Mqtt Topic | Pure | Test a topic against a subscription filter (+ / # wildcards). |
Utility node pack
General-purpose networking utilities added to UMqttLinkBPL — available from Blueprints and C++.
| Node | Type | Description |
|---|---|---|
| CRC32 Of Bytes | Pure | CRC32 checksum of a byte array. |
| MD5 Of String / SHA1 Of String | Pure | Hex digests of a UTF-8 string. |
| Make Guid String | Pure | New random GUID (hyphenated). |
| Now Unix Seconds | Pure | Current UTC time as Unix seconds. |
| Unix Seconds To ISO8601 | Pure | Unix seconds → ISO-8601 UTC string. |
| Format Byte Size | Pure | Human-readable size, e.g. 1536 → 1.5 KB. |
| Random Token | Pure | Random alphanumeric token (ids, nonces). |
| XOR Bytes With Key | Pure | XOR bytes with a repeating key (obfuscation, not encryption). |
| Is Valid Hostname | Pure | RFC-952/1123-style hostname validation. |
Credits
© Alpha XP — alphaxp.net. Developed and maintained for UE 4.27–5.0+.
