Pluto Bi-Directional Comm library 2.0.0.38 review

Download
by rbytes.net on

Pluto Bi-Directional Comm library automates bi-directional communication over bluetooth or sockets

License: GPL (GNU General Public License)
File size: 0K
Developer: PLUTO
0 stars award from rbytes.net

Pluto Bi-Directional Comm library automates bi-directional communication over bluetooth or sockets. Very object oriented and easy to use. Allows 2 devices to send each other commands.

The framework handles all the handshaking & protocols, and provides a template for commands.

How does it work?

This library allows 2 devices to communicate with each other over sockets or a Bluetooth connection. BD handles the handshaking, communication protocol, and provides a very simple way to send and implement commands.

Both sides are truly peers, and either side send the other a command by creating an instance of the command. Each side creates an instance of BDCommandProcessor, and then either side can create an instance of a command, add it to BDCommandProcessor, and the other side will implement the command. Each command is really just a simple class derived from BDCommand.

You only add whatever member variables your command, and implement a pure virtual "ProcessAction" member function. When one side wants to send that command to the other, it just creates an instance of it, sets member variables, and passes it to the "SendCommand" function in BDCommandProcessor.

The framework will automatically serialize the member variables in the class, and send the data to the other side. On the other side, the framework will recreate the class with the member variables set, and call the "ProcessAction" function which you implement to do whatever the command is supposed to do.

Your software doesn't need to worry about any of the data serialization, or the handshaking, or the sending of the commands. The framework handles all that--you just implement the "ProcessAction" function.

Pluto Bi-Directional Comm library 2.0.0.38 keywords