summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRefik Hadzialic2012-08-04 21:03:07 +0200
committerRefik Hadzialic2012-08-04 21:03:07 +0200
commit969c2f3c81203ac70d71e1e25259291ef237eb9d (patch)
treee7972d586cd3bac84901d085e349b8299a967f61
parentRRLP Response (diff)
downloadmalign-969c2f3c81203ac70d71e1e25259291ef237eb9d.tar.gz
malign-969c2f3c81203ac70d71e1e25259291ef237eb9d.tar.xz
malign-969c2f3c81203ac70d71e1e25259291ef237eb9d.zip
RRLP Response
-rw-r--r--vorlagen/thesis/maindoc.pdfbin6198019 -> 6221891 bytes
-rw-r--r--vorlagen/thesis/src/img/ReqGPSAss.pdfbin0 -> 7135 bytes
-rw-r--r--vorlagen/thesis/src/img/ReqGPSAss.svg116
-rw-r--r--vorlagen/thesis/src/kapitel_x.tex136
-rw-r--r--vorlagen/thesis/src/maindoc.lof9
-rw-r--r--vorlagen/thesis/src/maindoc.lot7
6 files changed, 255 insertions, 13 deletions
diff --git a/vorlagen/thesis/maindoc.pdf b/vorlagen/thesis/maindoc.pdf
index fa89ec6..afc239e 100644
--- a/vorlagen/thesis/maindoc.pdf
+++ b/vorlagen/thesis/maindoc.pdf
Binary files differ
diff --git a/vorlagen/thesis/src/img/ReqGPSAss.pdf b/vorlagen/thesis/src/img/ReqGPSAss.pdf
new file mode 100644
index 0000000..c59d53f
--- /dev/null
+++ b/vorlagen/thesis/src/img/ReqGPSAss.pdf
Binary files differ
diff --git a/vorlagen/thesis/src/img/ReqGPSAss.svg b/vorlagen/thesis/src/img/ReqGPSAss.svg
new file mode 100644
index 0000000..46aed6a
--- /dev/null
+++ b/vorlagen/thesis/src/img/ReqGPSAss.svg
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="461"
+ height="127.05301"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.48.3.1 r9886"
+ sodipodi:docname="ReqGPSAss.svg">
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="1.7057542"
+ inkscape:cx="215.6404"
+ inkscape:cy="84.016091"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="true"
+ units="px"
+ objecttolerance="1"
+ gridtolerance="1"
+ guidetolerance="1"
+ inkscape:window-width="1366"
+ inkscape:window-height="692"
+ inkscape:window-x="0"
+ inkscape:window-y="24"
+ inkscape:window-maximized="1"
+ showguides="true"
+ inkscape:guide-bbox="true"
+ fit-margin-top="0"
+ fit-margin-left="0"
+ fit-margin-right="0"
+ fit-margin-bottom="0"
+ inkscape:snap-from-guide="false" />
+ <defs
+ id="defs4" />
+ <metadata
+ id="metadata7">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-136,-239.48718)">
+ <text
+ xml:space="preserve"
+ style="font-size:16px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
+ x="148.73723"
+ y="251.36218"
+ id="text3074"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ id="tspan3076"
+ x="148.73723"
+ y="251.36218">8 7 6 5 4 3 2 1</tspan></text>
+ <g
+ id="g4054"
+ transform="translate(96,-4001)">
+ <rect
+ y="4262.2217"
+ x="41"
+ height="104.31851"
+ width="459"
+ id="rect3078"
+ style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
+ <path
+ inkscape:connector-curvature="0"
+ id="path3848-36"
+ d="m 40.5,4316.7216 459,0"
+ style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
+ </g>
+ <text
+ xml:space="preserve"
+ style="font-size:16px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
+ x="150.00002"
+ y="294.64789"
+ id="text4070"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ id="tspan4072"
+ x="150.00002"
+ y="294.64789">A B C D E F G H</tspan></text>
+ <text
+ xml:space="preserve"
+ style="font-size:16px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
+ x="150.00002"
+ y="345.74188"
+ id="text4070-4"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ id="tspan4072-9"
+ x="150.00002"
+ y="345.74188">0 0 0 0 0 K J I</tspan></text>
+ </g>
+</svg>
diff --git a/vorlagen/thesis/src/kapitel_x.tex b/vorlagen/thesis/src/kapitel_x.tex
index 01a72c8..eaf5002 100644
--- a/vorlagen/thesis/src/kapitel_x.tex
+++ b/vorlagen/thesis/src/kapitel_x.tex
@@ -2046,7 +2046,7 @@ emphstyle={[2]\color{blue}}]
threeDLocation(Ext-GeographicalInformation):
.......0 @\textcolor{narandzasta}{Ext-GeographicalInformation length(octet)}@ = 13 :13 + 1 = 14
D9 1101....
- ....1001 @\textcolor{narandzasta}{Ext-GeographicalInformation}@ = 904445940594B200000707000700h
+ ....1001 @\textcolor{narandzasta}{Ext-GeographicalInformation = 904445940594B200000707000700h}@
04 00000100
44 01000100
59 01011001
@@ -2073,8 +2073,12 @@ It may include the estimated position, data for estimating the position on the B
choosen as the prefered method) or errors indicating that some of the
previously mentioned assistance data are missing. Missing data and errors are
specified inside of the RRLP response. The response data will be PER encoded and require
-to be decoded into the ASN.1 notation.
-
+to be decoded into the ASN.1 notation. In listing \ref{lst:RRLPRespError} an example of an
+RRLP response with an error can be seen. The location error bit is set if the location
+of the MS is not present within the message (colored in red). The MS may sometimes supply more
+information on the error if the MS knows this information (newer models support this).
+In case it does support more information, it will set an optional IE \textit{additionalAssistanceData} bit
+(colored in cyan).
\begin{lstlisting}[label=lst:RRLPRespError,
caption={\textbf{Decoding an error RRLP response from Samsung Galaxy S3}},
backgroundcolor=\color{light-gray},
@@ -2101,16 +2105,16 @@ emphstyle={[2]\color{blue}}]
......0. extensionContainer = 0 :Absent
LocationError:
.......0 Extension of LocationError = 0 :Absent
-99 1....... additionalAssistanceData = 1 :Present
+99 1....... @\textcolor{cyan}{additionalAssistanceData = 1 :Present}@
LocErrorReason:
.0...... Extension of LocErrorReason = 0 :Absent
..0110.. @\textcolor{blue}{LocErrorReason = 6 :gpsAssDataMissing}@
AdditionalAssistanceData:
......0. Extension of AdditionalAssistanceData = 0 :Absent
- .......1 gpsAssistanceData = 1 :Present
+ .......1 @\textcolor{magenta}{gpsAssistanceData = 1 :Present}@
0B 0....... extensionContainer = 0 :Absent
GPSAssistanceData:
- .000101. GPSAssistanceData length(octet) = 5 :5 + 1 = 6
+ .000101. @\textcolor{narandzasta}{GPSAssistanceData length(octet)}@ = 5 :5 + 1 = 6
.......1 @\textcolor{narandzasta}{GPSAssistanceData = E80000000000h}@
D0 11010000
00 00000000
@@ -2120,6 +2124,126 @@ D0 11010000
00 0000000.
.......0 Spare Bits = 0b
\end{lstlisting}
+This is followed with a more detailed explanation of the error that not sufficient
+assistance data were present, \textit{LocErrorReason} (colored in blue). There
+are other possible location error reasons as well and they are listed in listing
+\ref{lst:RRLPPosError}. Depending on the MS model, it can even further specify
+what kind of GPS assistance data are missing. This will be well specified by setting
+the IE \textit{gpsAssistanceData} bit, this is shown in listing \ref{lst:RRLPRespError}
+(colored in magenta). If this bit is set, the length of the IE for requested missing assistance
+data will be exactly specified as well as what assistance data are missing (colored in orange).
+\begin{lstlisting}[label=lst:RRLPPosError,
+caption={\textbf{Possible location error reasons}},
+backgroundcolor=\color{light-gray},
+basicstyle=\scriptsize\ttfamily]
+LocErrorReason ::= ENUMERATED {
+ unDefined (0),
+ notEnoughBTSs (1),
+ notEnoughSats (2),
+ eotdLocCalAssDataMissing (3),
+ eotdAssDataMissing (4),
+ gpsLocCalAssDataMissing (5),
+ gpsAssDataMissing (6),
+ methodNotSupported (7),
+ notProcessed (8),
+ refBTSForGPSNotServingBTS (9),
+ refBTSForEOTDNotServingBTS (10),
+ notEnoughGANSSSats (11),
+ ganssAssDataMissing (12),
+ refBTSForGANSSNotServingBTS (13)
+}
+\end{lstlisting}
+\begin{figure}[hb]
+ \centering
+ \includegraphics[scale=0.5]{img/ReqGPSAss.pdf}
+ \caption{Requested AGPS assistance data to be delivered}
+\label{img:RequestedGPSAss}
+\end{figure}
+The first two bytes of the IE \textit{GPSAssistanceData} contain the information for requested
+assistance AGPS data (colored in orange). They can be seen
+in figure \ref{img:RequestedGPSAss} \citep{49.031V8.1.0}. If one of these bits from A to K is set,
+the MS requires more assistance data. The meaning of the bits in figure \ref{img:RequestedGPSAss}
+is given in table \ref{tbl:RRLPReqAss}. In this particular example, the first two bytes are: \textbf{E800},
+indicating acquisition assistance, reference time, reference location and the navigation model are requsted
+by the MS as assistance data. The next RRLP response example, shown in listing \ref{lst:RRLPRespSucc}, is
+a response with successfully estimated position!
+\begin {table}[ht]
+\caption{Requested AGPS assistance data bit meaning}
+\label{tbl:RRLPReqAss}\centering
+%\rowcolor{2}{light-gray}{}
+\scriptsize\fontfamily{iwona}\selectfont
+\begin{tabular}{clccc}
+\toprule
+%$D$&&$P_u$&$\sigma_N$\\
+Bit (IE) & Description\\\toprule
+$A$&Acquisition assistance requested\\\midrule
+$B$&Reference time requested\\\midrule
+$C$&Reference location requested\\\midrule
+$D$&DGPS corrections requested\\\midrule
+$E$&Navigation model requested\\\midrule
+$F$&Ionospheric model requested\\\midrule
+$G$&UTC model requested\\\midrule
+$H$&Almanac data requested\\\midrule
+$I$&Real time integrity requested\\\midrule
+$J$&Ephemeris extension requested\\\midrule
+$K$&Ephemeris extension check requested
+\\\bottomrule
+\end {tabular}
+\end {table}
+
+\clearpage
+\begin{lstlisting}[label=lst:RRLPRespSucc,
+caption={\textbf{Decoding a successful RRLP response from iPhone 3GS}},
+backgroundcolor=\color{light-gray},
+basicstyle=\scriptsize\ttfamily,
+escapechar=@,
+emph={gps-AssistData},
+emphstyle=\color{red},
+emph={[2]referenceTime,refLocation,dgpsCorrections,
+navigationModel,ionosphericModel,utcModel,almanac,acquisAssist,realTimeIntegrity},
+emphstyle={[2]\color{blue}}]
+ RRLP Message:
+42 010..... referenceNumber = 2
+ component(RRLP-Component):
+ ...0.... Extension of RRLP-Component = 0 :Absent
+ @\textbf{....001.}@ @\textbf{RRLP-Component = 1 :msrPositionRsp}@
+ MsrPosition-Rsp:
+ .......0 Extension of MsrPosition-Rsp = 0 :Absent
+11 0....... multipleSets = 0 :Absent
+ .0...... referenceIdentity = 0 :Absent
+ ..0..... otd-MeasureInfo = 0 :Absent
+ ...1.... @\textcolor{red}{locationInfo = 1 :Present}@
+ ....0... gps-MeasureInfo = 0 :Absent
+ .....0.. locationError = 0 :Absent
+ ......0. extensionContainer = 0 :Absent
+ LocationInfo:
+ .......1 gpsTOW = 1 :Present
+FF 11111111 refFrame = 65535
+FF 11111111
+61 01100001 gpsTOW = 6399000
+A4 10100100
+18 00011000
+ FixType:
+B6 1....... FixType = 1 :threeDFix
+ posEstimate(Ext-GeographicalInformation):
+ .01101.. @\textcolor{narandzasta}{Ext-GeographicalInformation length(octet)}@ = 13 :13 + 1 = 14
+ ......10 @\textcolor{narandzasta}{Ext-GeographicalInformation = 904445840594A6016316114F1D44h}@
+41 01000001
+11 00010001
+16 00010110
+10 00010000
+16 00010110
+52 01010010
+98 10011000
+05 00000101
+8C 10001100
+58 01011000
+45 01000101
+3C 00111100
+75 01110101
+10 000100..
+ ......00 Spare Bits = 00b
+\end{lstlisting}
diff --git a/vorlagen/thesis/src/maindoc.lof b/vorlagen/thesis/src/maindoc.lof
index bd1e075..f566cdb 100644
--- a/vorlagen/thesis/src/maindoc.lof
+++ b/vorlagen/thesis/src/maindoc.lof
@@ -29,11 +29,12 @@
\contentsline {figure}{\numberline {4.2}{\ignorespaces An example RRLP request. Constructing a binary RRLP request in PER from ASN.1. Yellow zero bits are extension markers or spare bits. \relax }}{46}{figure.caption.31}
\contentsline {figure}{\numberline {4.3}{\ignorespaces Reference location is a 14 octet stream built according to the given rule as specified in the standard \citep {3gppequations} under section \textit {7.3.6}.\relax }}{50}{figure.caption.32}
\contentsline {figure}{\numberline {4.4}{\ignorespaces World Geodetic System 1984\relax }}{50}{figure.caption.33}
+\contentsline {figure}{\numberline {4.5}{\ignorespaces Requested AGPS assistance data to be delivered\relax }}{56}{figure.caption.38}
\addvspace {10\p@ }
\addvspace {10\p@ }
-\contentsline {figure}{\numberline {6.1}{\ignorespaces nanoBTS with its plastic cover. Image courtesy of ip.access ltd\relax }}{60}{figure.caption.40}
-\contentsline {figure}{\numberline {6.2}{\ignorespaces nanoBTS with two external antennas and five connection ports\relax }}{61}{figure.caption.42}
-\contentsline {figure}{\numberline {6.3}{\ignorespaces Navilock NL-402U, opened up with the antenna and USB cable\relax }}{63}{figure.caption.44}
-\contentsline {figure}{\numberline {6.4}{\ignorespaces Cable connections, showing interconnection diagram\relax }}{64}{figure.caption.45}
+\contentsline {figure}{\numberline {6.1}{\ignorespaces nanoBTS with its plastic cover. Image courtesy of ip.access ltd\relax }}{62}{figure.caption.42}
+\contentsline {figure}{\numberline {6.2}{\ignorespaces nanoBTS with two external antennas and five connection ports\relax }}{63}{figure.caption.44}
+\contentsline {figure}{\numberline {6.3}{\ignorespaces Navilock NL-402U, opened up with the antenna and USB cable\relax }}{65}{figure.caption.46}
+\contentsline {figure}{\numberline {6.4}{\ignorespaces Cable connections, showing interconnection diagram\relax }}{66}{figure.caption.47}
\addvspace {10\p@ }
\addvspace {10\p@ }
diff --git a/vorlagen/thesis/src/maindoc.lot b/vorlagen/thesis/src/maindoc.lot
index bb89d8a..7176128 100644
--- a/vorlagen/thesis/src/maindoc.lot
+++ b/vorlagen/thesis/src/maindoc.lot
@@ -8,10 +8,11 @@
\contentsline {table}{\numberline {4.2}{\ignorespaces Navigation message (ephemeris) content\relax }}{52}{table.caption.35}
\contentsline {table}{\numberline {4.3}{\ignorespaces Almanac message content\relax }}{53}{table.caption.36}
\contentsline {table}{\numberline {4.4}{\ignorespaces GPS Ionosphere Model content\relax }}{53}{table.caption.37}
+\contentsline {table}{\numberline {4.5}{\ignorespaces Requested AGPS assistance data bit meaning\relax }}{57}{table.caption.39}
\addvspace {10\p@ }
\addvspace {10\p@ }
-\contentsline {table}{\numberline {6.1}{\ignorespaces Indicator LED status on the nanoBTS\relax }}{62}{table.caption.43}
+\contentsline {table}{\numberline {6.1}{\ignorespaces Indicator LED status on the nanoBTS\relax }}{64}{table.caption.45}
\addvspace {10\p@ }
\addvspace {10\p@ }
-\contentsline {table}{\numberline {A.3.1}{\ignorespaces Example uncertainties (latitude and longitude) for various integer values of $K$\relax }}{77}{table.caption.51}
-\contentsline {table}{\numberline {A.3.2}{\ignorespaces Example uncertainties (altitude) for various integer values of $K$\relax }}{78}{table.caption.52}
+\contentsline {table}{\numberline {A.3.1}{\ignorespaces Example uncertainties (latitude and longitude) for various integer values of $K$\relax }}{79}{table.caption.53}
+\contentsline {table}{\numberline {A.3.2}{\ignorespaces Example uncertainties (altitude) for various integer values of $K$\relax }}{80}{table.caption.54}