Skip to main content

MQTT - Unity interface

[!WARNING] This documentation is set to be partialy merged with the API documentation for Unity.

Project owner: Yann van Eijk

Project description

This repository contains the scripts needed within Unity to create an interface between MQTT and Unity. Its main functionality is to receive and sent real-time messages from topics on the MQTT Broker. These messages are processed within Unity as strings, for other types use TryParse.

Installation

The MQTT package is part of the 'DT lab Unity interface package'. For a full installation guide, please refer to...

MQTT broker connections

A connection to the MQTT broker can be established using the MQTT editor window. This window can be found under the header Tools -> EAISI Digital Twin Lab -> MQTT editor. A new window should pop up next to the Inspector window.

In this window, the following parameters need to be set: