Skip to content

Instantly share code, notes, and snippets.

@amcjen
Last active August 29, 2015 13:57
Show Gist options
  • Save amcjen/9401768 to your computer and use it in GitHub Desktop.
Save amcjen/9401768 to your computer and use it in GitHub Desktop.
announcing to 48879 [36,[36,37],[[0,0,0],[255,128,0]]]
HQ signalling
{"type":"report","from":1,"report":{"type":"led","led":[0,0,0],"torch":[255,128,0]}}
looking for packet in: {"type":"command","to":1,"id":1,"command":"if(!scout.isleadscout) report"}
command
1
HQ signalling
{"type":"reply","from":1,"id":1,"end":true,"reply":"1\n"}
looking for packet in: {"type":"command","to":"1","id":2,"command":"led.red"}
command
announcing to 48879 [36,[36,0],[[255,0,0],[255,128,0]]]
HQ signalling
{"type":"report","from":1,"report":{"type":"led","led":[255,0,0],"OVERFLOW":[255,128,0]}}
HQ signalling
{"type":"reply","from":1,"id":2,"end":true,"reply":"announcing to 48879 [36,[36,0],[[255,0,0],[255,128,0]]]\nHQ signalling\n{\"type\":\"report\",\"from\":1,\"report\":{\"type\":\"led\",\"led\":[255,0,0],\"OVERFLOW\":[255,128,0]}}\n\n"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment