Difference between revisions of "How to develop a new Protocol"
From AGILE IoT Wiki
Line 1: | Line 1: | ||
[[File:Work-in-progress.png|50px]] | [[File:Work-in-progress.png|50px]] | ||
− | + | == Create a repo with agile-<yourprotocolname> == | |
+ | |||
+ | The easiest way to develop an AGILE protocol is to take one of the examples. We recommend using [https://github.com/Agile-IoT/agile-ble agile-ble] or [https://github.com/Agile-IoT/agile-dummy 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. | |
− | |||
− |
Revision as of 14:10, 3 September 2018
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.