Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 05:56
sayali Kutwal is currently offline sayali KutwalFriend
Messages: 1
Registered: April 2019
Junior Member
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 Sep 21 02:58:45 GMT 2019

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

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

Back to the top