|
@ -27,3 +27,68 @@ TIP: Start poc-datacollector |
|
|
video::650056224[vimeo, start=48] |
|
|
video::650056224[vimeo, start=48] |
|
|
**** |
|
|
**** |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
== usage dummy_service |
|
|
|
|
|
|
|
|
|
|
|
WARNING: Change to project root directory |
|
|
|
|
|
|
|
|
|
|
|
=== 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 date 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 |
|
|
|
|
|
---- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|