Skip to content

wud147/pomelo-mqtt-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pomelo-mqtt-demo

A simple demo using pomelo and mqttconnector

Test

In order to test this demo, you should install mqtt globally using following command

npm install -g mqtt

after start pomelo, on one terminal, run following command to subscribe

mqtt sub -t "AnyTopic" -h "localhost" -p 3010

on another, run following command to publish a message

mqtt pub -t "AnyTopic" -h "localhost" -p 3010 -m "Hello World"

About

mqttconnector demo for pomelo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published