浅析mosquitto系列之一:简介

mosquitto版本 : 1.5

作者:jafon.tian

转载请注明出处:https://blog.csdn.net/JT_Notes

简介

Mosquitto是一个开源(EPL/EDL licensed)的使用MQTT协议(3.1和3.1.1版本)的消息代理软件,它是非常轻量级的代理,可运行于从单板计算机到全功能服务器的所有设备上。

MQTT协议提供了一种消息负载小的发布/订阅(publish/subscribe)模型。使得它很适合物联网(Internet of Things)通信,比如低功耗传感器或手机、嵌入式设备。

Mosquitto项目还提供了一个用于实现MQTT客户端的C库和mosquitto_pub和mosquitto_sub命令行工具。

特性

  • $SYS主题,实现对运行时状态进行监控
  • 提供了bridge模式,实现broker之间的消息共享

相关网址

目录文件及说明

mosquitto-1.5
|-- about.html      项目介绍页面
|-- aclfile.example 访问控制(Access Control List)配置示例
|-- ChangeLog.txt   变更日志
|-- client          客户端工具mosquitto_pub和mosquitto_sub
|-- CMakeLists.txt  cmake脚本
|-- compiling.txt   编译说明
|-- config.h        配置头文件
|-- config.mk       配置和功能探测脚本
|-- CONTRIBUTING.md 如何为项目做贡献的说明
|-- edl-v10         Eclipse Distribution License - v 1.0
|-- epl-v10         Eclipse Public License - v 1.0
|-- examples        示例
|   |-- mysql_log         通过mysql记录所有消息
|   |-- subscribe_simple  订阅示例
|   `-- temperature_conversion  温度传感示例
|-- installer       NSIS安装脚本
|-- lib             mosquitto库,broker和client都会用到
|-- libmosquitto.pc.in      c库cmake文件
|-- libmosquittopp.pc.in    c++库cmake文件
|-- LICENSE.txt             license
|-- logo                    logo文件
|-- Makefile                make编译文件
|-- man                     man文件
|-- misc
|-- mosquitto.conf          配置文件
|-- notice.html             声明文件
|-- pskfile.example         psk示例
|-- pwfile.example          pw示例
|-- readme.md               readme markdown版本
|-- readme-windows.txt      readme txt版本
|-- security                AppArmor配置
|-- service                 服务
|-- src                     broker代码
`-- test                    测试

猜你喜欢

转载自blog.csdn.net/JT_Notes/article/details/81906445