\doxysection{ss\+\_\+request Struct Reference}
\label{structss__request}\index{ss\_request@{ss\_request}}


This structure represents some meaningful parts of a decoded and/or to be encoded GSM 04.\+80 message.  




{\ttfamily \#include $<$gsm0480.\+h$>$}

\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
uint8\+\_\+t \textbf{ opcode}
\begin{DoxyCompactList}\small\item\em GSM TS 04.\+80, section 3.\+6.\+4 \char`\"{}\+Operation code\char`\"{} See GSM0480\+\_\+\+OP\+\_\+\+CODE\+\_\+$\ast$ for possible values. \end{DoxyCompactList}\item 
uint8\+\_\+t \textbf{ ss\+\_\+code}
\begin{DoxyCompactList}\small\item\em GSM TS 04.\+80, section 4.\+4.\+3.\+9 \char`\"{}ss-\/\+Code\char`\"{} The ss-\/\+Code identifier refers to the code which identify a supplementary service or a group of supplementary services. \end{DoxyCompactList}\item 
uint8\+\_\+t \textbf{ ussd\+\_\+text} [\textbf{ GSM0480\+\_\+\+USSD\+\_\+\+OCTET\+\_\+\+STRING\+\_\+\+LEN}]
\begin{DoxyCompactList}\small\item\em A rudiment of deprecated \textquotesingle{}\doxyref{ussd\+\_\+request}{p.}{structussd__request}\textquotesingle{} structure. \end{DoxyCompactList}\item 
uint8\+\_\+t \textbf{ ussd\+\_\+data} [\textbf{ GSM0480\+\_\+\+USSD\+\_\+\+OCTET\+\_\+\+STRING\+\_\+\+LEN}]
\begin{DoxyCompactList}\small\item\em Represents the data of either an INVOKE, either a RETURN\+\_\+\+RESULT component \textquotesingle{}as is\textquotesingle{}. \end{DoxyCompactList}\item 
uint8\+\_\+t \textbf{ ussd\+\_\+data\+\_\+len}
\item 
uint8\+\_\+t \textbf{ ussd\+\_\+data\+\_\+dcs}
\item 
uint8\+\_\+t \textbf{ transaction\+\_\+id}
\begin{DoxyCompactList}\small\item\em GSM TS 04.\+80, section 3.\+3 \char`\"{}\+Transaction identifier\char`\"{} See GSM TS 04.\+07, section 11.\+2.\+3 for details. \end{DoxyCompactList}\item 
uint8\+\_\+t \textbf{ invoke\+\_\+id}
\begin{DoxyCompactList}\small\item\em GSM TS 04.\+80, section 3.\+6.\+3 \char`\"{}\+Component ID tag\char`\"{} The term Component ID refers to the Invoke ID or the Linked ID. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
This structure represents some meaningful parts of a decoded and/or to be encoded GSM 04.\+80 message. 

\doxysubsection{Field Documentation}
\mbox{\label{structss__request_a893cb5790f20d1a987fc9d53b988563d}} 
\index{ss\_request@{ss\_request}!invoke\_id@{invoke\_id}}
\index{invoke\_id@{invoke\_id}!ss\_request@{ss\_request}}
\doxysubsubsection{invoke\_id}
{\footnotesize\ttfamily uint8\+\_\+t ss\+\_\+request\+::invoke\+\_\+id}



GSM TS 04.\+80, section 3.\+6.\+3 \char`\"{}\+Component ID tag\char`\"{} The term Component ID refers to the Invoke ID or the Linked ID. 



Referenced by \textbf{ gsm0480\+\_\+decode\+\_\+ussd\+\_\+request()}, \textbf{ parse\+\_\+ss\+\_\+invoke()}, and \textbf{ parse\+\_\+ss\+\_\+return\+\_\+result()}.

\mbox{\label{structss__request_a0549485c004cafbed8902e5635922f9b}} 
\index{ss\_request@{ss\_request}!opcode@{opcode}}
\index{opcode@{opcode}!ss\_request@{ss\_request}}
\doxysubsubsection{opcode}
{\footnotesize\ttfamily uint8\+\_\+t ss\+\_\+request\+::opcode}



GSM TS 04.\+80, section 3.\+6.\+4 \char`\"{}\+Operation code\char`\"{} See GSM0480\+\_\+\+OP\+\_\+\+CODE\+\_\+$\ast$ for possible values. 



Referenced by \textbf{ parse\+\_\+ss\+\_\+invoke()}, and \textbf{ parse\+\_\+ss\+\_\+return\+\_\+result()}.

\mbox{\label{structss__request_acaa7b642474918340de177eecf8745a1}} 
\index{ss\_request@{ss\_request}!ss\_code@{ss\_code}}
\index{ss\_code@{ss\_code}!ss\_request@{ss\_request}}
\doxysubsubsection{ss\_code}
{\footnotesize\ttfamily uint8\+\_\+t ss\+\_\+request\+::ss\+\_\+code}



GSM TS 04.\+80, section 4.\+4.\+3.\+9 \char`\"{}ss-\/\+Code\char`\"{} The ss-\/\+Code identifier refers to the code which identify a supplementary service or a group of supplementary services. 



Referenced by \textbf{ parse\+\_\+ss\+\_\+for\+\_\+bs\+\_\+req()}.

\mbox{\label{structss__request_a8e032e48ff96ead64d918266945eb690}} 
\index{ss\_request@{ss\_request}!transaction\_id@{transaction\_id}}
\index{transaction\_id@{transaction\_id}!ss\_request@{ss\_request}}
\doxysubsubsection{transaction\_id}
{\footnotesize\ttfamily uint8\+\_\+t ss\+\_\+request\+::transaction\+\_\+id}



GSM TS 04.\+80, section 3.\+3 \char`\"{}\+Transaction identifier\char`\"{} See GSM TS 04.\+07, section 11.\+2.\+3 for details. 



Referenced by \textbf{ gsm0480\+\_\+decode\+\_\+ss\+\_\+request()}, and \textbf{ gsm0480\+\_\+decode\+\_\+ussd\+\_\+request()}.

\mbox{\label{structss__request_a44ce3efa5a3909a798d4260e9e97699b}} 
\index{ss\_request@{ss\_request}!ussd\_data@{ussd\_data}}
\index{ussd\_data@{ussd\_data}!ss\_request@{ss\_request}}
\doxysubsubsection{ussd\_data}
{\footnotesize\ttfamily uint8\+\_\+t ss\+\_\+request\+::ussd\+\_\+data[\textbf{ GSM0480\+\_\+\+USSD\+\_\+\+OCTET\+\_\+\+STRING\+\_\+\+LEN}]}



Represents the data of either an INVOKE, either a RETURN\+\_\+\+RESULT component \textquotesingle{}as is\textquotesingle{}. 

Useful when decoding is not supported or not desired.

Shall be always followed by its length (in bytes) and DCS (Data Coding Scheme). 

Referenced by \textbf{ parse\+\_\+process\+\_\+uss\+\_\+data()}, and \textbf{ parse\+\_\+process\+\_\+uss\+\_\+req()}.

\mbox{\label{structss__request_a4cd39ab795f17d74c5c39e963c40c3ec}} 
\index{ss\_request@{ss\_request}!ussd\_data\_dcs@{ussd\_data\_dcs}}
\index{ussd\_data\_dcs@{ussd\_data\_dcs}!ss\_request@{ss\_request}}
\doxysubsubsection{ussd\_data\_dcs}
{\footnotesize\ttfamily uint8\+\_\+t ss\+\_\+request\+::ussd\+\_\+data\+\_\+dcs}



Referenced by \textbf{ parse\+\_\+process\+\_\+uss\+\_\+data()}, and \textbf{ parse\+\_\+process\+\_\+uss\+\_\+req()}.

\mbox{\label{structss__request_a3032560dfd8c6b9363d61df6b87eb8b4}} 
\index{ss\_request@{ss\_request}!ussd\_data\_len@{ussd\_data\_len}}
\index{ussd\_data\_len@{ussd\_data\_len}!ss\_request@{ss\_request}}
\doxysubsubsection{ussd\_data\_len}
{\footnotesize\ttfamily uint8\+\_\+t ss\+\_\+request\+::ussd\+\_\+data\+\_\+len}



Referenced by \textbf{ parse\+\_\+process\+\_\+uss\+\_\+data()}, and \textbf{ parse\+\_\+process\+\_\+uss\+\_\+req()}.

\mbox{\label{structss__request_a74dc4dc0c3cb91546b405a4b1fba471e}} 
\index{ss\_request@{ss\_request}!ussd\_text@{ussd\_text}}
\index{ussd\_text@{ussd\_text}!ss\_request@{ss\_request}}
\doxysubsubsection{ussd\_text}
{\footnotesize\ttfamily uint8\+\_\+t ss\+\_\+request\+::ussd\+\_\+text[\textbf{ GSM0480\+\_\+\+USSD\+\_\+\+OCTET\+\_\+\+STRING\+\_\+\+LEN}]}



A rudiment of deprecated \textquotesingle{}\doxyref{ussd\+\_\+request}{p.}{structussd__request}\textquotesingle{} structure. 

Represents the data of either an INVOKE, either a RETURN\+\_\+\+RESULT component, encoded as ASCII in case if DCS is 0x0f (i.\+e. decoded by the code itself), otherwise raw bytes \textquotesingle{}as is\textquotesingle{}. 

Referenced by \textbf{ gsm0480\+\_\+decode\+\_\+ussd\+\_\+request()}, \textbf{ parse\+\_\+process\+\_\+uss\+\_\+data()}, \textbf{ parse\+\_\+process\+\_\+uss\+\_\+req()}, and \textbf{ parse\+\_\+ss()}.



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
include/osmocom/gsm/\textbf{ gsm0480.\+h}\end{DoxyCompactItemize}
