tech-doc: improve colours

master
S.J.R. van Schaik 7 years ago
parent 1315d4caba
commit ed201a4f83
  1. 28
      tech-doc/tech-spec.tex

@ -164,27 +164,27 @@ The communication between the host device and the TBM follows a client-server mo
\draw[thick,draw=gray!70,->] (-0.2,0) node[left] {\tt\small\uppercase{TBM}} -- (15,0);
\draw[thick,draw=gray!70,->] (-0.2,4) node[left] {\tt\small\uppercase{ROTS}} -- (15,4);
\draw[thick,draw=green!70!black,dashed] (0,0) -- ++(0,4) node[midway, sloped, below] {\tt\small\uppercase{trusted}};
\draw[thick,draw=green!70!black,dashed] (0,0) -- ++(0,4) node[midway, sloped, above] {\color{green!70!black}\tt\small\uppercase{trusted}};
\draw[thick,draw=blue!30,->] (1, 4) -- ++(.5,-4) node[midway, sloped, below] {\tt\small\uppercase{hi <version>}};
\draw[thick,draw=red!30,->] (1.75, 0) -- ++(.5,4) node[midway, sloped, below] {\tt\small\uppercase{hello <version>}};
\draw[thick,draw=blue!70!black,->] (1, 4) -- ++(.5,-4) node[midway, sloped, below] {\color{blue!70!black}\tt\small\uppercase{hi <version>}};
\draw[thick,draw=red!70!black,->] (1.75, 0) -- ++(.5,4) node[midway, sloped, below] {\color{red!70!black}\tt\small\uppercase{hello <version>}};
\draw[thick,draw=blue!30,->] (3, 4) -- ++(.5,-4) node[midway, sloped, below] {\tt\small\uppercase{ls certs}};
\draw[thick,draw=red!30,->] (3.75, 0) -- ++(.5,4) node[midway, sloped, below] {\tt\small\uppercase{<listing>}};
\draw[thick,draw=blue!70!black,->] (3, 4) -- ++(.5,-4) node[midway, sloped, below] {\color{blue!70!black}\tt\small\uppercase{ls certs}};
\draw[thick,draw=red!70!black,->] (3.75, 0) -- ++(.5,4) node[midway, sloped, below] {\color{red!70!black}\tt\small\uppercase{<listing>}};
\draw[thick,draw=blue!30,->] (5, 4) -- ++(.5,-4) node[midway, sloped, below] {\tt\small\uppercase{cat certs/cert.crt}};
\draw[thick,draw=red!30,->] (5.75, 0) -- ++(.5,4) node[midway, sloped, below] {\tt\small\uppercase{<content>}};
\draw[thick,draw=blue!70!black,->] (5, 4) -- ++(.5,-4) node[midway, sloped, below] {\color{blue!70!black}\tt\small\uppercase{cat certs/cert.crt}};
\draw[thick,draw=red!70!black,->] (5.75, 0) -- ++(.5,4) node[midway, sloped, below] {\color{red!70!black}\tt\small\uppercase{<content>}};
\draw[thick,draw=blue!30,->] (7, 4) -- ++(.5,-4) node[midway, sloped, below] {\tt\small\uppercase{time}};
\draw[thick,draw=red!30,->] (7.75, 0) -- ++(.5,4) node[midway, sloped, below] {\tt\small\uppercase{1501842512}};
\draw[thick,draw=blue!70!black,->] (7, 4) -- ++(.5,-4) node[midway, sloped, below] {\color{blue!70!black}\tt\small\uppercase{time}};
\draw[thick,draw=red!70!black,->] (7.75, 0) -- ++(.5,4) node[midway, sloped, below] {\color{red!70!black}\tt\small\uppercase{1501842512}};
\draw[thick,draw=blue!30,->] (9, 4) -- ++(.5,-4) node[midway, sloped, below] {\tt\small\uppercase{booting <version>}};
\draw[thick,draw=red!30,->] (9.75, 0) -- ++(.5,4) node[midway, sloped, below] {\tt\small\uppercase{ok}};
\draw[thick,draw=blue!70!black,->] (9, 4) -- ++(.5,-4) node[midway, sloped, below] {\color{blue!70!black}\tt\small\uppercase{booting <version>}};
\draw[thick,draw=red!70!black,->] (9.75, 0) -- ++(.5,4) node[midway, sloped, below] {\color{red!70!black}\tt\small\uppercase{ok}};
\draw[thick,draw=red!70!black,dashed] (11, 0) -- ++(0, 4) node[midway, sloped, below] {\tt\small\uppercase{untrusted}};
\draw[thick,draw=red!70!black,dashed] (12, 0) -- ++(0, 4) node[midway, sloped, above] {\color{red!70!black}\tt\small\uppercase{untrusted}};
\draw[thick,draw=blue!30,->] (12, 4) -- ++(.5,-4) node[midway, sloped, below] {\tt\small\uppercase{booting ok}};
\draw[thick,draw=red!30,->] (12.75, 0) -- ++(.5,4) node[midway, sloped, below] {\tt\small\uppercase{ok}};
\draw[thick,draw=blue!70!black,->] (13, 4) -- ++(.5,-4) node[midway, sloped, below] {\color{blue!70!black}\tt\small\uppercase{booting ok}};
\draw[thick,draw=red!70!black,->] (13.75, 0) -- ++(.5,4) node[midway, sloped, below] {\color{red!70!black}\tt\small\uppercase{ok}};
\end{tikzpicture}
\end{adjustbox}
\caption{protocol diagram.}

Loading…
Cancel
Save