3 Star 7 Fork 3

cpp-master/protocal-adapter

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

protocal-adpater

License Language Platform

[English]

介绍

基于 cpp-tbox 框架实现的多协议适配器

功能

  • 支持UART, MQTT, TCP, UDP协议转换

构建

步骤一:构建 cpp-tbox 项目

git clone https://gitee.com/cpp-master/cpp-tbox.git
cd cpp-tbox;
STAGING_DIR=$HOME/.tbox make 3rd-party modules RELEASE=1
cd -

步骤二:构建 protocal-adapter 自身

git clone https://gitee.com/cpp-master/protocal-adapter.git
cd protocal-adapter/src;
make

构建完成之后,在 src 目录下会生成:adapter 可执行文件。

运行

执行命令:

./adapter -c ../config/default.conf

提示:

  • 如果没有权限打开串口文件的问题,则加 sudo 再执行。
  • 使用者可以根据需要修改 config/default.conf

配置文件

详见 config/default.conf,或阅读源码。

反馈途径

  • Issue: 任何问题都欢迎在issue里交流
  • 微信: hevake_lee
  • QQ群: 738084942 (cpp-tbox 技术交流)

鼓励我们

如果你觉得很有用,请您给我更多的鼓励。
你可以做这些:

  • 关注 cpp-tbox 开源项目;
  • 给它点亮三连: Star, Watch, Fork;
  • 向身边的同事与伙伴推荐,在技术论坛向您的读者推荐;
  • 加入上面的QQ群、加我微信进入微信群;
  • 积极反馈问题,提出建议;
  • 参与项目的开发,贡献您的力量。
MIT License Copyright (c) 2024 Hevake Lee <hevake@126.com> 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.

简介

串口、MQTT、TCP、UDP 多协议适配中间件 展开 收起
C++ 等 2 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cpp-master/protocal-adapter.git
git@gitee.com:cpp-master/protocal-adapter.git
cpp-master
protocal-adapter
protocal-adapter
master

搜索帮助