X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=appendix-protocol.tex;h=08cb71b37cccb2616d42d6b89800005aa3230096;hb=047ee8a13310ba90d01934827cb17c680b32a4b5;hp=4f1672dadc870c826f1497db171b17a4c3bb77ef;hpb=57dab117db1fa358785cc3992053206584df0b53;p=msc-thesis1617.git diff --git a/appendix-protocol.tex b/appendix-protocol.tex index 4f1672d..08cb71b 100644 --- a/appendix-protocol.tex +++ b/appendix-protocol.tex @@ -1,6 +1,6 @@ \section{General message format} Messages are delimited by newlines to make processing by line based devices -more easy. Message exchanges have a \emph{Request} and \emph{Response} header. +easier. Message exchanges have a \emph{Request} and \emph{Response} header. The \emph{Request} header means that the server is sending to the client. The \emph{Response} header means that the client is sending to the server. In some cases either the \emph{Request} or \emph{Response} is empty. This means that @@ -20,9 +20,7 @@ the message is not acknowledged or responded upon. byte & value\\ \midrule 1 & \texttt{'t'}\\ - 2,3 & interval. If the first bit is 1 the other 15 indicate the - interrupt on which the task should be run. If the first bit is 0 - the other 15 indicate the interval in milliseconds\\ + 2,3 & interval or interrupt\\ 4,5 & length (\texttt{n})\\ 6 to n+6 & bytecode\\ \midrule\midrule