1 Star 0 Fork 0

何亚红 / SimpleMQTTGateWayStack

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

注意

当前进度为文档设计,并无实际有效代码。

说明

SimpleMQTTGateWayStack是一个基于MQTT的网关的自定义协议代码,并非标准协议。

通常用于不接入第三方平台时使用。

此源代码不单独使用,通常作为某个固件程序的子模块。

源代码下载

由于本源代码包含第三方源代码,故直接下载可能有部分源代码缺失,需要通过以下方法解决:

  • 在进行git clone 使用--recurse-submodules参数。

  • 若已通过git clone下载,则在源代码目录中执行以下命令下载子模块:

     git submodule update --init --recursive

用途

  • 编写MQTT Demo与上位机程序。
  • 快速开发简易产品。

协议

详见 doc/Protocol

C语言版本的协议栈库

目录 lib/

库说明

  • 依赖极少的简易MQTT网关协议栈库,可方便移植到各种设备上。
  • 支持CMake编译,非CMake编译需直接添加源代码程序与头文件包含目录。

测试程序

目录 tests/

用于测试协议栈库,通常可进入相应目录使用CMake编译测试程序。若未做特殊说明,通常支持以下编译环境:

  • Linux
  • MSYS2

工具

目录 tools

包含部分用于开发阶段调试硬件的工具。

MIT License Copyright (c) 2022 何亚红 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

暂无描述 展开 收起
C 等 3 种语言
MIT
取消

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/HEYAHONG/SimpleMQTTGateWayStack.git
git@gitee.com:HEYAHONG/SimpleMQTTGateWayStack.git
HEYAHONG
SimpleMQTTGateWayStack
SimpleMQTTGateWayStack
master

搜索帮助