summaryrefslogtreecommitdiffstats
path: root/vorlagen/thesis/src/kapitel_A.tex
diff options
context:
space:
mode:
Diffstat (limited to 'vorlagen/thesis/src/kapitel_A.tex')
-rw-r--r--vorlagen/thesis/src/kapitel_A.tex62
1 files changed, 48 insertions, 14 deletions
diff --git a/vorlagen/thesis/src/kapitel_A.tex b/vorlagen/thesis/src/kapitel_A.tex
index 0bd73b5..cea6e90 100644
--- a/vorlagen/thesis/src/kapitel_A.tex
+++ b/vorlagen/thesis/src/kapitel_A.tex
@@ -41,7 +41,7 @@ sudo apt-get install libtool autoconf automake git-core
sudo apt-get install pkg-config libortp-dev
\end{lstlisting}
-After the packages were installed, $libosmocore$ library must be downloaded, compiled and installed.
+After the packages were installed, \textit{libosmocore} library must be downloaded, compiled and installed.
By executing the following instructions:
\begin{lstlisting}[backgroundcolor=\color{light-gray}][numbers = none]
git clone git://git.osmocom.org/libosmocore.git
@@ -54,7 +54,7 @@ sudo ldconfig
cd ..
\end{lstlisting}
-In the next step $libosmo-abis$ will be installed.
+In the next step \textit{libosmo-abis} will be installed.
\begin{lstlisting}[backgroundcolor=\color{light-gray}][numbers = none]
git clone git://git.osmocom.org/libosmo-abis.git
cd libosmo-abis
@@ -85,17 +85,17 @@ steps have to be made. It is necessary to inform the nanoBTS of the IP address o
the server that is running OpenBSC since it must connect to OpenBSC. We need
to find a free ARFCN channel where our system is
expected to operate\footnote{A licence has to be obtained from the Federal
-Network Agency (German: $Bundesnetzagentur$), otherwise it is ilegal and may
+Network Agency (German: \textit{Bundesnetzagentur}), otherwise it is ilegal and may
be considered as a criminal act.}.
To find the ID and the IP address of the nanoBTS it is required to
-start $ipaccess-find$\footnote{The nanoBTS ought to be blinking in orange color
-before starting $ipaccess-find$.}.
+start \textit{ipaccess-find}\footnote{The nanoBTS ought to be blinking in orange color
+before starting \textit{ipaccess-find}.}.
\begin{lstlisting}[backgroundcolor=\color{light-gray}][numbers = none]
cd ~/gsm_localization/openbsc/openbsc/src/ipaccess
./ipaccess-find
\end{lstlisting}
-$ipaccess-find$ will produce an output similar to the one given:
+\textit{ipaccess-find} will produce an output similar to the one given:
\begin{lstlisting}[backgroundcolor=\color{light-gray}][numbers = none]
Trying to find ip.access BTS by broadcast UDP...
MAC_Address='00:02:95:00:61:70' IP_Address='132.230.4.63'
@@ -159,26 +159,60 @@ At this point the nanoBTS and OpenBSC configuration is done.
\newpage
\subsection{Installation and configuration of GNSS assistance software}
To install the RRLP software that generates GNSS assistance data several
-libraries are required to be installed, cURL\footnote{It may happen that
-the given download URL is wrong and in the meantime has changed, but one
-can easily find the latest version on \url{http://curl.haxx.se/}}
-and SQLite. cURL was used
+libraries are required to be installed, \textit{cURL}\footnote{It may happen that
+the given download URLs are wrong and in the meantime have changed, but one
+can easily find the latest versions on \url{http://curl.haxx.se/} and \url{http://www.hyperrealm.com/libconfig/}},
+\textit{libconfig} and \textit{SQLite}. \textit{cURL} was used
for the purpose of safely downloading GNSS data from the
-Navigation Center of the US Coast Guard and Trimble server; whereas the
-SQLite library was employed to access the database used by OpenBSC to
+Navigation Center of the US Coast Guard and Trimble server. \textit{libconfig}
+library is used for reading in the configuration file, this
+way compiling of the software whenever one changes the settings was avoided. The
+\textit{SQLite} library was employed to access the database used by OpenBSC to
store the respondence data from the mobile stations.
\begin{lstlisting}[backgroundcolor=\color{light-gray}][numbers = none]
cd ~/gsm_localization
sudo apt-get install libsqlite3-dev
wget http://curl.haxx.se/download/curl-7.25.0.tar.gz
+wget http://www.hyperrealm.com/libconfig/libconfig-1.4.8.tar.gz
tar -xvzf curl-7.25.0.tar.gz
+tar -xvzf libconfig-1.4.8.tar.gz
cd curl-7.25.0
make
sudo make install
+cd ..
+cd libconfig-1.4.8/
+./configure
+make
+sudo make install
\end{lstlisting}
Once the libraries have been successfully installed, the user may proceed
-with setting up and compiling the GNSS assistance software, which is the
-key software produced in this thesis.
+with the configuration and compiling the GNSS assistance software, which is the
+key software produced in this thesis.
+\begin{lstlisting}
+// An example configuration file for the GNSS RRLP software.
+name = "Configuration for GNSS and RRLP";
+
+// Change the settings if required:
+settings =
+{
+ config = ( {
+ ephemeris_url = "ftp://ftp.trimble.com/pub/eph/CurRnxN.nav";
+ almanac_url = "http://www.navcen.uscg.gov/ ?pageName=currentAlmanac&format=yuma";
+ latitude_of_BTS = 48.003601;
+ longitude_of_BTS = 7.848056;
+ altitude_of_BTS = 0.0;
+ uncertainty_of_lat_long = 7;
+ uncertainty_of_alt = 7;
+ confidence_level = 0;
+ ephemeris_repair = false;
+ use_reference_time = false;
+ extra_seconds_to_add = 7;
+ timezone_of_BTS = 1;
+ time_to_refresh_ephem = 1;
+ time_to_refresh_alm = 1 ; } );
+};
+\end{lstlisting}
+
\newpage
\section{Sourcecode}