Last active
August 29, 2015 14:06
-
-
Save mash/c82e6f52d04f4b6630ff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
msc { | |
# entities | |
User, App, IRKit, Server; | |
# space | |
|||; | |
IRKit note Server [label = "Successfully connected"]; | |
IRKit note IRKit [label = "Started listening on port 80"]; | |
|||; | |
User -> App [label = "User opens Learn View"]; | |
App => IRKit [label = "GET /irsignals (longpoll)"]; | |
App note IRKit [label = "Retain connection"]; | |
|||; | |
User -> IRKit [label = "Send IR signal"]; | |
App << IRKit [label = "IR signal in HTTP Response"]; | |
App -> IRKit [label = "GET /irsignals (longpoll)"]; | |
IRKit note IRKit [label = "HTTP Request Timeout"]; | |
App -> IRKit [label = "GET /irsignals (longpoll)"]; | |
User -> App [label = "User dismisses Learn View"]; | |
App note IRKit [label = "Disconnect"]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OUT = ir-state.png ir-learn.png ir-send.png packer.png wifi-morse-setup.png | |
all: $(OUT) | |
.SUFFIXES: .png .gv .msc | |
.gv.png: | |
dot -Tpng $< -o $@ | |
.msc.png: | |
mscgen -T png -i $< |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment