Using MQTT with UaCPP Demo Server

Unified Architecture topics related to OPC UA Specification, compliant behavior and any technical issues of OPC UA, like Security, Information Model, Companion Specs DI, PLCopen, ADI, ...

Moderator: Support Team

Post Reply
chcseh
Jr. Member
Jr. Member
Posts: 1
Joined: 17 Nov 2022, 13:15

Using MQTT with UaCPP Demo Server

Post by chcseh »

Hello,

I would like to publish server data via pubsub/MQTT to a cloud broker like HiveMQ using the UaCPP Demo Server.
The HiveMQ Broker needs MQTT Access Credentials like user name and password.

- Where can I set these parameters (user and password) in the PubSubConfig View of the UAExpert Client?
- Where do I set the topic of the published message?
I did add the MQTT-Server of HiveMQ, the OPC-UA Demo Server, a Writer Group, Nodes to be published and downloaded the configuration to the CPP Demo Server.
But nevertheless the CPP Demo Server does not publish anything?

User avatar
Support Team
Hero Member
Hero Member
Posts: 3097
Joined: 18 Mar 2011, 15:09

Re: Using MQTT with UaCPP Demo Server

Post by Support Team »

Hi,

the feature (PubSub/MQTT) is currently not supported. The UaExpert Plugin "PubSub Config View" can currently not be used for configuring topic/user/pwd, hence can not be used to configure PubSub with MQTT Brokers. Our Cpp-Demo-Server currenly supports the PubSub/UDP only.
Best regards
Unified Automation Support Team

Post Reply