aboutsummaryrefslogtreecommitdiff
path: root/Mussel/examples/voting_from_EddystoneTLM
diff options
context:
space:
mode:
Diffstat (limited to 'Mussel/examples/voting_from_EddystoneTLM')
-rw-r--r--Mussel/examples/voting_from_EddystoneTLM/voting_from_EddystoneTLM.puml15
1 files changed, 9 insertions, 6 deletions
diff --git a/Mussel/examples/voting_from_EddystoneTLM/voting_from_EddystoneTLM.puml b/Mussel/examples/voting_from_EddystoneTLM/voting_from_EddystoneTLM.puml
index 6bb5868..f8270ec 100644
--- a/Mussel/examples/voting_from_EddystoneTLM/voting_from_EddystoneTLM.puml
+++ b/Mussel/examples/voting_from_EddystoneTLM/voting_from_EddystoneTLM.puml
@@ -7,16 +7,19 @@ group init
:setup network beacon scanner;
end group
split
-while (each ½s)
-group loop {
-:fetch and print voting tally;
-end group
+while (each beacon detected)
+:collect beacon data;
endwhile
-[hidden]->
kill
split again
-while (at each beacon detected)
-:register vote;
+while (each 500ms)
+group loop {
+:allign beacon data as a ballot;
+:qualify ballot for specific vote;
+:conclude vote result;
+:act on vote result;
+end group
endwhile
-[hidden]->
kill