Good morning,
Is it possible to have the MQTT Address as a variable? so that we can set it when the code is running
MQTT
-
Steve-Matrix
- Matrix Staff
- Posts: 2033
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 308 times
- Been thanked: 472 times
Re: MQTT
If you are creating an App Developer program that is running on the PC, then you can use a simulation macro to alter any property value (Component.Property.SetValue). However, for an embedded program, the host address of the MQTT_Client component is currently hardcoded.
It might be possible to include a function to set this value in a future update of the component. I'll ask Ben or Leigh to comment...
It might be possible to include a function to set this value in a future update of the component. I'll ask Ben or Leigh to comment...