mqtt - How to test the `Mosquitto` server? -
i new mosquitto
, mqtt
, downloaded mosquitto
server library not know how test it.
is there way test mosquitto
server?
in separate terminal windows following:
start broker:
mosquitto
start command line subscriber:
mosquitto_sub -v -t 'test/topic'
publish test message command line publisher:
mosquitto_pub -t 'test/topic' -m 'helloworld'
as seeing both subscriber , publisher connection messages in broker terminal next should printed in subscriber terminal:
test/topic helloworld
mqtt mosquitto android-open-accessory
No comments:
Post a Comment