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
I have installed the mosquitto broker,and publish the message on subseribed topic. using this cammand .

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

In the second terminal run
$ mosquitto_pub -h -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: Sun Nov 29 05:56:07 GMT 2020

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

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

Back to the top