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.tex~33
1 files changed, 31 insertions, 2 deletions
diff --git a/notFinishedCode/Report/test.tex~ b/notFinishedCode/Report/test.tex~
index dd25b8a..6857113 100644
--- a/notFinishedCode/Report/test.tex~
+++ b/notFinishedCode/Report/test.tex~
@@ -103,9 +103,21 @@ Before we had started working on our project, we had to analyze the overall netw
Gradually we implemented a bit-by-bit of the final software. Every single step was accompanied by testing and validation procedures. At the end we connected all the ``black-boxes'' into one big piece of software. We have fulfilled our requests and goals and made a fully working and operable test software. Despite developing a working software, all the way along we thought about the simplicity of the usage of the software. In the following chapters we will describe in more detail our approach and how each subsystem works.
\clearpage
\section{Requirements} % chapter 2
+\begin{figure}[ht!]
+ \centering
+ \includegraphics[width=140mm]{BigPicture_new1.png}
+ \caption[]{Database relationship diagram}
+\end{figure}
\newpage
\section{Database design}
-How we designed our database and why, explain in this section! Our database of choice was MySQL b
+At the start our database of choice was MySQL.
+When the
+\begin{figure}[ht!]
+ \centering
+ \includegraphics[width=130mm]{DBRelationship.png}
+ \caption[]{Database relationship diagram}
+\end{figure}
+
\newpage
\section{Software design} % section 2.1
\subsection{Database access} % subsection 2.1.1
@@ -156,7 +168,23 @@ The client class can be seen in the following figure. To initialize the client o
Once an instance of it is created and loaded with the IP address and the port, one needs to call the \emph{connect()} method.
The method will produce an integer based on its connection state. Output information and the programming code can be found on our project wiki page \cite{wiki}.
\subsection{Ping class}
+Before making any test and establishing a connection we were required to ensure that the server is online. The best way to assess the liveness property was to ping the server computer running the required service. Once the class is properly defined, we could easily set the number of ping tries.
+A ping timeout response was set up to 2 seconds. For more details and insights, one can read more about it on our wiki page \cite{wiki}.
+\begin{figure}[ht!]
+ \centering
+ \includegraphics[width=70mm]{ping.png}
+ \caption[]{Ping class, used by test software}
+\end{figure}
\subsection{Data logging}
+If bugs appear it is important to reconstruct the case. One of the best ways to reconstruct the case was to log every single step part of code gets executed.
+We had used the logging class to follow our handler code run on the BeagleBoard. In case there is an error we could look inside of the log files and track the error.
+How the class works and what kind of outputs it produces can be found on our project wiki page \cite{wiki}.
+\begin{figure}[ht!]
+ \centering
+ \includegraphics[width=60mm]{logging.png}
+ \caption[]{Logging class}
+\end{figure}
+\subsection{SSH Class}
\clearpage
\section{Hardware design}
In our team project we had the option to choose all the required hardware ourself beside the two BeagleBoards, which we were supplied by Konrad and Dennis.
@@ -194,7 +222,8 @@ Once they were plugged into the USB port, Ubuntu automatically recognized the ca
The virtual serial ports were created and could be found on \emph{/dev/ttyUSBx}, where $x$ is the automatically assigned number for the port.
Some of the cables had the cability to charge the Siemens S55 phones.
Konrad had opened several cables to solder the power supplies to some contacts and the problem was solved for all of the cables.
-
+\subsection{Server}
+We were given an old Pentium 3 computer where we installed Ubuntu Linux. Configured the Appache web server and MySQL.
\clearpage
\section{Communication protocol}