\doxysection{osim\+\_\+card\+\_\+sw Struct Reference}
\label{structosim__card__sw}\index{osim\_card\_sw@{osim\_card\_sw}}


A card status word (SW)  




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

\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
uint16\+\_\+t \textbf{ code}
\begin{DoxyCompactList}\small\item\em status word code (2 bytes) \end{DoxyCompactList}\item 
uint16\+\_\+t \textbf{ mask}
\begin{DoxyCompactList}\small\item\em status word mask (2 bytes), to match range/prefix of SW \end{DoxyCompactList}\item 
enum \textbf{ osim\+\_\+card\+\_\+sw\+\_\+type} \textbf{ type}
\item 
enum \textbf{ osim\+\_\+card\+\_\+sw\+\_\+class} \textbf{ class}
\item 
\begin{tabbing}
xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=\kill
union \{\\
\>const char $\ast$ \textbf{ str}\\
\>\>{\em Human-\/readable meaning of SW. }\\
\} \textbf{ u}\\

\end{tabbing}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
A card status word (SW) 

\doxysubsection{Field Documentation}
\mbox{\label{structosim__card__sw_a6dbb2e41d725963dbbdd968fdaec70f5}} 
\index{osim\_card\_sw@{osim\_card\_sw}!class@{class}}
\index{class@{class}!osim\_card\_sw@{osim\_card\_sw}}
\doxysubsubsection{class}
{\footnotesize\ttfamily enum \textbf{ osim\+\_\+card\+\_\+sw\+\_\+class} osim\+\_\+card\+\_\+sw\+::class}



Referenced by \textbf{ osim\+\_\+sw\+\_\+class()}.

\mbox{\label{structosim__card__sw_a1a6415988a1f50a18ebb11bf73fe812b}} 
\index{osim\_card\_sw@{osim\_card\_sw}!code@{code}}
\index{code@{code}!osim\_card\_sw@{osim\_card\_sw}}
\doxysubsubsection{code}
{\footnotesize\ttfamily uint16\+\_\+t osim\+\_\+card\+\_\+sw\+::code}



status word code (2 bytes) 

\mbox{\label{structosim__card__sw_af691d3566193df66c39e60ad89cf8bd9}} 
\index{osim\_card\_sw@{osim\_card\_sw}!mask@{mask}}
\index{mask@{mask}!osim\_card\_sw@{osim\_card\_sw}}
\doxysubsubsection{mask}
{\footnotesize\ttfamily uint16\+\_\+t osim\+\_\+card\+\_\+sw\+::mask}



status word mask (2 bytes), to match range/prefix of SW 

\mbox{\label{structosim__card__sw_a56d07b0a397f93e0bd1391ad731df957}} 
\index{osim\_card\_sw@{osim\_card\_sw}!str@{str}}
\index{str@{str}!osim\_card\_sw@{osim\_card\_sw}}
\doxysubsubsection{str}
{\footnotesize\ttfamily const char$\ast$ osim\+\_\+card\+\_\+sw\+::str}



Human-\/readable meaning of SW. 



Referenced by \textbf{ osim\+\_\+print\+\_\+sw\+\_\+buf()}.

\mbox{\label{structosim__card__sw_aff2459d444d1cac74611274881f0cd11}} 
\index{osim\_card\_sw@{osim\_card\_sw}!type@{type}}
\index{type@{type}!osim\_card\_sw@{osim\_card\_sw}}
\doxysubsubsection{type}
{\footnotesize\ttfamily enum \textbf{ osim\+\_\+card\+\_\+sw\+\_\+type} osim\+\_\+card\+\_\+sw\+::type}



Referenced by \textbf{ osim\+\_\+print\+\_\+sw\+\_\+buf()}.

\mbox{\label{structosim__card__sw_a1ee803b134406834293a7dfc4b912abb}} 
\index{osim\_card\_sw@{osim\_card\_sw}!u@{u}}
\index{u@{u}!osim\_card\_sw@{osim\_card\_sw}}
\doxysubsubsection{}
{\footnotesize\ttfamily union  \{ ... \}  osim\+\_\+card\+\_\+sw\+::u}



Referenced by \textbf{ osim\+\_\+print\+\_\+sw\+\_\+buf()}.



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