페이지 선택
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in pages

Frequently used Mosquitto commands

The list of commands used during testing on this site is as follows.

The test will be done later, so for now, let’s just read through it once and pass.

 

mosquitto -v [-c config filename]

Run MQTT Broker, “-v”  shows event log during execution, “-c” specifies mosquitto’s config file

 

mosquitto_sub -h hostname -t message-topic 

Subscribe to a message published on a topic called message-topic in the server/broker of hostname.

 

mosquitto_pub -h hostname -t message-topic -m message

Publish message to server/broker of hostname using topic called message-topic.

 

 

 

Mosquitto Command List

The commands for Mosquitto/MOTT are simply arranged in the table below.

Mosquitto command reference →  § https://mosquitto.org/ 

 

명령 분류 참조 링크
동작 내용 Server/Client
Blocker Server § https://mosquitto.org/man/mosquitto-8.html
Publish client § https://mosquitto.org/man/mosquitto_pub-1.html
Subscribe Client § https://mosquitto.org/man/mosquitto_sub-1.html
TLS Server&Client § https://mosquitto.org/man/mosquitto-tls-7.html
password Client § https://mosquitto.org/man/mosquitto_passwd-1.html
Request Response Clinet § https://mosquitto.org/man/mosquitto_rr-1.html

 

 

 

 

 

Adsense

 

 WiFi IoT Module

 

www.mxchip.com

 

 

 Bluetooth Module

www.feasycom.com

 

 

 5G/LTE/CAT-M1/NB-IoT

 

www.simcom.com

 

Viewed Page List