当前位置:网站首页>Mqtt server setup and mqtt.fx testing
Mqtt server setup and mqtt.fx testing
2022-07-29 07:54:00 【Never Done777】
MQTT It's based on client - The server The news release of / Subscription transport protocol .MQTT The agreement is light weight 、 Simple 、 Open and easy to implement , These features make it very versatile . In many cases , Including in a limited environment , Such as : Machines and machines (M2M) Communications and the Internet of things (IoT). Its presence , Communication of sensors via satellite link 、 Occasionally dialing medical devices 、 Smart home 、 And some miniaturized equipments have been widely used .

MQTT Server setup :
at present MQTT The main platforms of agent are as follows :
Mosquitto:https://mosquitto.org/
VerneMQ:https://vernemq.com/
EMQTT:http://emqtt.io/
One : Next use Mosquitto stay win10 Build under the system mqtt The server ( Simple version ):
1) I downloaded the self-test E disc However, the installation path is :E:/cccc/mosquitto Remember this path ( Their own )


2: open win10 terminal Because the installation file path is E:/cccc/mosquitto So get to this position first

Start the agent :mosquitto -d -v

Two test
Method repeatedly open two terminals
1) . Terminal 1 The subscription topic is test The news of Input :mosquitto_sub -d -v -t test

2) At the other end Post a theme for test, The message is hellomqtt The news of
Instructions for :mosquitto_pub -d -t test -m “hellomqtt never done”

3) Subscriber view 
3、 ... and : use MQTT.fx software test
Download address :Index of /apps/mqttfx/1.7.1
1) Open the software and see

2)

3) Subscribe to the name :

4)

5)

6)

边栏推荐
- JVM garbage collection mechanism (GC)
- Cfdiv1+2-bash and a high math puzzle- (gcd+ summary of segment tree single point interval maintenance)
- Access数据库引入datagridview数据后,显示错误
- Data unit: bit, byte, word, word length
- Embroidery of little D
- Realize the effect of changing some colors of a paragraph of text
- Database persistence +jdbc database connection
- [cryoelectron microscope] relation4.0 - subtomogram tutorial
- Blue Bridge Cup group a selection XOR
- 在一个sql文件中,上面定义一个测试表及数据,下面可以select* from 测试表
猜你喜欢

My entrepreneurial neighbors

JVM garbage collection mechanism (GC)

Multi thread shopping

C language data type

10 practical uses of NFT

Jianmu continuous integration platform v2.5.2 release

Cs61abc sharing session (VI) detailed explanation of program input and output - standard input and output, file, device, EOF, command line parameters

Research on autojs wechat: the final product of wechat automatic information sending robot (effective demonstration)

Matrix decomposition and gradient descent
![[untitled] format save](/img/6c/df2ebb3e39d1e47b8dd74cfdddbb06.gif)
[untitled] format save
随机推荐
Research on autojs wechat: the final product of wechat automatic information sending robot (effective demonstration)
Sqlmap (SQL injection automation tool)
After the access database introduces DataGridView data, an error is displayed
功能自动化测试实施的原则以及方法有哪些?
你学习·我奖励,21天学习挑战赛 | 等你来战
Matlab simulation of LDPC minimum sum decoding based on high-order six ring free
黑盒测试常见错误类型说明及解决方法有哪些?
[introduction to cryoelectron microscopy] Caltech open class course notes part 3:image formation
[lecture notes] how to do in-depth learning in poor data?
Technology sharing | quick intercom integrated dispatching system
State machine DP (simple version)
Compare three clock circuit schemes of single chip microcomputer
Up sampling deconvolution operation
Resize2fs: bad magic number in super block
Day 014 2D array exercise
《nlp入门+实战:第五章:使用pytorch中的API实现线性回归》
Cfdiv1+2-bash and a high math puzzle- (gcd+ summary of segment tree single point interval maintenance)
输出1234无重复的三位数
The new colleague wrote a few pieces of code, broke the system, and was blasted by the boss!
You study, I reward, 21 day learning challenge | waiting for you to fight