aboutsummaryrefslogtreecommitdiff
path: root/Mussel/examples/read_to_EddystoneTLM/read_to_EddystoneTLM.puml
blob: e65d30ca02ffd8af898ddcb0e9e85b3a286ed899 (plain)
  1. @startuml
  2. 'start
  3. :instantiate object;
  4. :instantiate network;
  5. group init
  6. :activate object;
  7. :setup network beacon service;
  8. end group
  9. split
  10. while (each 500ms)
  11. group loop {
  12. :read sensors;
  13. :normalize sensor data
  14. as a gape angle;
  15. :add gape angle to beacon;
  16. end group
  17. endwhile
  18. -[hidden]->
  19. kill
  20. split again
  21. while (each 100ms)
  22. :broadcast beacon;
  23. endwhile
  24. -[hidden]->
  25. kill
  26. @enduml