How to develop a new Protocol

From AGILE IoT Wiki
Revision as of 13:10, 3 September 2018 by Cskiraly (talk | contribs)
Jump to: navigation, search

Work-in-progress.png

Create a repo with agile-<yourprotocolname>

The easiest way to develop an AGILE protocol is to take one of the examples. We recommend using agile-ble or agile-dummy. These two repositories both use the Java implementation of the AGILE protocol API. Alternatively, you can also implement the same API. in other langauages.

Customize you agile-stack by adding your new container

Make sure a proper Dockerfile is created as well (see examples in the above repositories), and add your protocol to the AGILE stack. For this, edit docker-compose.yml, and add a new block with the agile-<yourprotocolname> service. Make sure it connects to the Agile DBus as the example services above.