Skip to content

ShirRaj/KeepTalkingAndNobodyExpoldes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rpi chooses modules, locations and parameters for wires.
space seperated values

Link to the manual -https://docs.google.com/document/d/1h8VP7N_FWcMYxiyH7pzzA1065ZJ98JLBcauPc3oHvbI/edit?usp=sharing

BOOT SEQUENCE

BOOT - Sent from module. Parameter - module ID
DATA - Sent from Rpi to module. Parameters - free according to specific logic per module.
READY - Sent from module after all parameters are set correctly.
UNREADY - Sent from module. When module READY fails.
START - Sent from Rpi to start.
ACK - Response for START. 

PERIODIC

TIME - Sent from rpi each ten seconds; Parameter - time in 10s resolution.

SOLUTION

BOOM - sent from rpi if bomb exploded.
TRIGGER - Sent from module if triggered.
PENALTY - Sent from module if penalty is assessed. Rpi decides penalty time.
SOLVED - Sent from module after it is solved correctly. No parameter

GENERAL 
PING - Sent from Rpi/module. No parameter


MODULE SPECIFIC PROTOCOL

Big Red Button - 
Data neeeded - whether all other modules have been solved.
Format - ALL_SOLVED:STATUS, where STATUS = 0 (not all other modules have been solved), 1 (otherwise).

Wires - 
Data needed - wire locations (for each wire - color and if present), bomb state (According to defusal manual).
Format - 
	Wire locations - ROW_DATA:C1,C2,C3,C4,C5. Where Ci is letter representing color with the following options
	Y - Yellow
	R - Red
	W - White
	B - Black
	G - Green
	E - Empty

	Wire locations need to be sent BEFORE Bomb state

	Bomb state - SETUP_DATA:STATE_ID. ID is by manual in increasing order according to tables. 




About

Geekcon2018 project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages