Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mosquitto » Newbie problem - -m flag not working(mosquitto was installed, seems to work, yet not really)
Newbie problem - -m flag not working [message #1859815] Wed, 28 June 2023 16:59 Go to next message
Yigal Bi is currently offline Yigal BiFriend
Messages: 4
Registered: July 2012
Junior Member
I just installed mosquitto MWTT from the official web on Windows 10. According to the guides I looked I opened 2 cmd terminals.
On the first I typed: mosquitto_sub.exe -t "test" . The machine is waiting.

On the 2nd; mosquitto_sub.exe -h localhost -t "TEST" -m "Hello World"

The response was:
Error: Unknown option '-m'.
Use 'mosquitto_sub --help' to see usage.

When I tried the --help: I noticed no -m flag was available.

What am I doing wrong?
Re: Newbie problem - -m flag not working [message #1859817 is a reply to message #1859815] Wed, 28 June 2023 18:32 Go to previous messageGo to next message
Christoph Krey is currently offline Christoph KreyFriend
Messages: 2
Registered: September 2018
Junior Member
The second command is mosquitto_pub.exe, not mosquitto_sub.exe
Re: Newbie problem - -m flag not working [message #1859818 is a reply to message #1859817] Wed, 28 June 2023 18:49 Go to previous message
Yigal Bi is currently offline Yigal BiFriend
Messages: 4
Registered: July 2012
Junior Member
Christoph Krey wrote on Wed, 28 June 2023 14:32
The second command is mosquitto_pub.exe, not mosquitto_sub.exe

Thank you !!!!
Problem solved,
Previous Topic:no stable connection with client
Next Topic:Bridge Connect Multiple Devices not Round Robbin
Goto Forum:
  


Current Time: Wed May 01 23:27:58 GMT 2024

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

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

Back to the top