CommProtocol is an adaptable, backend protocol tool for scalable systems. It is intended for abstractly communicating over via TCP/IP, UDP, Serial, and/or wireless network layers, while also giving you the freedom to work with servers and clients seemlessly, high performance. Being a large state machine that handles communications universally, CommProtocol is a fantastic tool to work the backbone of communications with simplicity.
- Powerful
- Robust
- Adaptable
CommProtocol should be able to handle data dynamically, without needing to be hardcoded in. This will allow programmers more flexibility to change and adapt based on the agreement from both ends of the link, without too much work on the library itself. It should be able to allow programmers to define what is needed to be sent between both parties, so that the maintainers of this library have room to optimize the library itself without having to figure out what needs to be sent.
Current Beta Features:
- Cross-platform library (Linux/POSIX/Windows)
- Supports Loose Coupling.
- Allows connections via Serial, UDP, TCP, and Zigbee.
- C# Wrapper.
- Encrypted connection with AES.
- Designed in an Object Oriented manner to make it easier to use the library.
- Pinging system/ heartbeat networks.
Features currently implementing:
- custom AES Encryption implementation for protocol.
- JNI Wrapping for communications use.
- Network Automation
- Publish/Subscribe designing
Building CommProtocol should be relatively easy, you will need the following tools in order to make your life easier:
- CMake (At least 2.8 and above)
- Visual Studio 2013+ (if using windows)
- GCC 4.8+ (if using linux/posix operating systems)
- Python 3.0+ (optional to make it easier to set up)
Simply download this repository (Clone if you will), navigate to the directory/folder of where you cloned this repository, and create a new folder called "build." inside this build directory, you will open a command prompt (or bash shell) inside and use the following command:
cmake -Dtest=ON ../
Which will execute the cmake build for CommProtocol. When finished, you will either see the .sln project of NGCP-Comnet-v2 (on Windows) OR a makefile for Linux.
If you are on Windows, simply open the .sln file which will hold all files and projects for CommProtocol, and compile from the ALL_BUILDS project.
If you are on Linux, simply call inside the current directory (assuming you are still in "build" directory):
make
Which will compile all the projects for CommProtocol.
#Note CommProtocol Library requires libxbee3 to execute copy the file to your bin folder (ie .exe)
- Windows {build dir}\libxbee3(debug or release)\libxbee3.dll
- Linux: {build dir}\libxbee3\libxbee3.o
Coming soon...