Close

PlugAndLive (part 1)

A project log for LifeFramework

A technology Framework to ease everyone's life.

carlos-oliveiraCarlos Oliveira 10/03/2016 at 10:410 Comments

Now that we start to have a couple of modules, somehow we have to put them talking with the system.

For that one of the modules requirement is that we have protocol to which all modules have to abide.

This protocol that we will start calling PlugAndLive will have at least the following constituents: Presentation and Vocabulary.

In the Presentation part the module announces its name to the server, so that the server can uniquely identify it.

In the Vocabulary part, the module indicates which events and methods it responds to.

As we can see in the following printscreen, the server enumerates all COM ports searching for connected arduinos and in case it finds one, it try to establish communication with the module.


Discussions