# tmsg **Repository Path**: vic_is_genius/tmsg ## Basic Information - **Project Name**: tmsg - **Description**: 基于MQTT与MessagePack的通讯框架-C++实现版本 - **Primary Language**: C++ - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 5 - **Created**: 2022-02-26 - **Last Updated**: 2022-02-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 项目依赖 * paho.mqtt.cpp * paho.mqtt.c(被paho.mqtt.cpp依赖) * msgpack-c(head only, 内置版本3.0.1) [https://github.com/msgpack/msgpack-c](https://github.com/msgpack/msgpack-c) ## arduino2tmsg依赖 * 所有的项目依赖 * asio(head only, 内置版本1.12.1) [http://think-async.com/Asio](http://think-async.com/Asio) * json(head only, 内置版本3.1.2_20180721) [https://github.com/nlohmann/json](https://github.com/nlohmann/json) ## arduino2tmsg用法 ``` [可选项] arduino2tmsg SerialPort DataDefineJSON [MQTT Server URI] arduino2tmsg_auto SerialPortDefineJSON [MQTT Server URI] ``` arduino2tmsg会根据DataDefineJSON发布到相关主题 arduino2tmsg_auto会根据SerialPortDefineJSON定义的串口或设备号对应的DataDefineJSON目录自动启动arduino2tmsg, 建议采用绝对路径