Swarmlab docs

Application development in a distributed system

Development of Distributed Systems from Design to Application


You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
779 B

3 years ago
= Usage dummy_service
3 years ago
== usage dummy_service
3 years ago
WARNING: Change to project root directory. You can find thw here: Instances -> [Select Instance] -> Connect --> "*Project BaseDir*"
3 years ago
=== List devices
* Open a terminal and Run:
[source.bash]
----
./tools/poc-dummy-ls
----
=== Add device
* Open a terminal and Run:
[source.bash]
----
./tools/poc-dummy-create device-name
----
=== Remove device
* Open a terminal and Run:
[source.bash]
----
./tools/poc-dummy-rm device-name
----
=== Send data from device
* Open a terminal and Run:
[source.bash]
----
./tools/poc-dummy-send device-name "data test"
----
TIP: Always use double quotes around data
=== Device history
* Open a terminal and Run:
[source.bash]
----
./tools/poc-dummy-log device-name
----