Skip to main content



      Home
Home » Eclipse Projects » Mosquitto » Received MQTT data from a subscribed topic on text file.(I have to receive MQTT data from a subscribed topic and I want to save the data in a text file)
Received MQTT data from a subscribed topic on text file. [message #1805058] Fri, 05 April 2019 01:56
Eclipse UserFriend
Hello,
I have installed the mosquitto broker,and publish the message on subseribed topic. using this cammand .

In the first terminal run
$ mosquitto_sub -h 127.0.0.1 -t myTopic

In the second terminal run
$ mosquitto_pub -h 127.0.0.1 -t myTopic -m "My first message"

Now i want to received subscribed topic on text file.How can i do this with the
my mosquitto broker.
Previous Topic:Unable to test Mosquitto broker
Next Topic:1.5.8-0: $SYS Subscription Wildcards
Goto Forum:
  


Current Time: Sat Jul 12 22:27:18 EDT 2025

Powered by FUDForum. Page generated in 0.03240 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top