|
|
@ -1,4 +1,4 @@ |
|
|
|
= Redis -> services redisserver |
|
|
|
= Usage datacollector |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -28,67 +28,3 @@ 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 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 |
|
|
|
---- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|