Skip to content

UART, MQTT, TCP, UDP multi-protocol adaptation middleware

License

Notifications You must be signed in to change notification settings

cpp-main/protocal-adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

protocal-adpater

License Language Platform

[中文]

What

Multi-protocol adapter implemented based on the cpp-tbox framework.

Feature

  • Support Uart, MQTT, TCP as server, TCP as client, UDP

Build

Step 1:build cpp-tbox first

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

Step 2:build protocal-adapter

git clone https://github.com/cpp-main/protocal-adapter.git
cd protocal-adapter/src;
make

After build, we will see executable file adapter at src/.

Run

Cmd:

./adapter ../config/default.conf

Note:

  • If there is a problem with not having permission to open the serial port file, add sudo and execute again.
  • You can modify config/default.conf as needed.

Config

See config/default.conf for details, or read the source code.

Feedback

  • Issue: Any questions are welcome to communicate in issue
  • WeChat: hevake_lee
  • QQ group: 738084942 (cpp-tbox 技术交流)

Encourage us

If you find it useful, please give me more encouragement. You can do these:

  • Follow cpp-tbox open source project;
  • Light up three combos for it: Star, Watch, Fork;
  • Recommend to colleagues and partners around you, and recommend to your readers in technical forums;
  • Join the above QQ group, add me on WeChat to enter the WeChat group;
  • Positive feedback on issues and suggestions;
  • Participate in the development of the project and contribute your strength.

About

UART, MQTT, TCP, UDP multi-protocol adaptation middleware

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published