aboutsummaryrefslogtreecommitdiff
path: root/Mussel/examples/voting_from_EddystoneTLM/voting_from_EddystoneTLM.puml
blob: f8270ecca8f913934213af383d63995c13e6650e (plain)
  1. @startuml
  2. 'start
  3. :instantiate object;
  4. :instantiate network;
  5. group init
  6. :activate object;
  7. :setup network beacon scanner;
  8. end group
  9. split
  10. while (each beacon detected)
  11. :collect beacon data;
  12. endwhile
  13. -[hidden]->
  14. kill
  15. split again
  16. while (each 500ms)
  17. group loop {
  18. :allign beacon data as a ballot;
  19. :qualify ballot for specific vote;
  20. :conclude vote result;
  21. :act on vote result;
  22. end group
  23. endwhile
  24. -[hidden]->
  25. kill
  26. @enduml