I am trying to publish data through desktop MQTT Client, but it's get connected but when I am doing subscribe it says connection lost?
7 views (last 30 days)
Show older comments
Siddharth Lotia
on 26 Feb 2022
Commented: Siddharth Lotia
on 1 Mar 2022
But when I am doing subscribe , it get's disconnected , says client not connected?
Also even after entering the required data in topic as per the excample it still says topic required, why it is so?
Someone kindly suggest what I am doing wrong in these two steps?
0 Comments
Accepted Answer
Christopher Stapels
on 28 Feb 2022
The topic location is a little confusing. Where it says "topic" you need to edit that field.
More Answers (1)
Vinod
on 28 Feb 2022
If the connection is being dropped when you attempt to subscribe, it is most likely you are subscribing to an incorrect topic, or to a topic your client does not have permissions to.
0 Comments
Communities
More Answers in the ThingSpeak Community
See Also
Categories
Find more on MQTT API in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!