🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

How to setup MQTT broker for read/write data via MQTTPUB/MQTTSUB block on Altair Activate

User: "Aditap Khongjun_21800"
Altair Community Member
Updated by Aditap Khongjun_21800

I try to send/receive data via MQTTPUB and MQTTSUB with mqtt example file in Activate 

image

MQTT broker that I use is mosquitto broker 

image

When I run example to publish and subscribe data, then the error will occur that "Connection Refused: identifier rejected".

On Broker say that "Bad socket read/write on client MQTTPUB: Invalid arguments provided."

image 

image

I don't know why and how to solve it.

Could you please tell me why this problem occur and how to setup mosquitto mqtt broker to solve this problem?

 

Find more posts tagged with

Sort by:
1 - 1 of 11