summaryrefslogtreecommitdiffstats
path: root/notFinishedCode/Report/test.tex
diff options
context:
space:
mode:
Diffstat (limited to 'notFinishedCode/Report/test.tex')
-rw-r--r--notFinishedCode/Report/test.tex9
1 files changed, 8 insertions, 1 deletions
diff --git a/notFinishedCode/Report/test.tex b/notFinishedCode/Report/test.tex
index 38e4a52..dfcc87f 100644
--- a/notFinishedCode/Report/test.tex
+++ b/notFinishedCode/Report/test.tex
@@ -312,9 +312,16 @@ When defining these rules, it is important to define a limited state space for e
response from the other side. Our approch to this problem was to build a simple synchronous protocol, where every expected message is
confirmed or otherwise the connection between two sides is immediatelly terminated. Since designing protocols is a demanding and challenging
topic which requires years of experience and verification, we do not expect that we had developed the best possible and an optimum protocol.
-In the following paragraphs we will try to give you a brief introduction of how our protocol works.
+In the following paragraphs we will try to clarify how our protocol works. Before we start to go into detail how the protocol works,
+it is important to remember that we differentiate two sides, handler and the controller side. The handler side represent the device
+that physically handles the call (e.g. the BeagleBoard) whereas the controller (i.e. the main test software), is the test software
+controlling the handler side and assigning the task to it.
\subsection{Handler side}
+The handler side is always in the waiting mode, by waiting we denote the mode where the socket is already created and it is waiting
+for a connection to be accepted at the defined port. Subsequently, after the connection has been established, it is waiting for a
+message to be received. The first message has to be 13 characters long and include the following content \emph{HELLO HANDLER}.
+Thereupon, after the message has been validated the handler side sends the controller side a response, \emph{HELLO CONTROLLER}.
\begin{figure}[ht!]
\centering
\includegraphics[width=130mm]{protocolCommunicationHandler.png}