\doxysection{osim\+\_\+msgb\+\_\+cb Struct Reference}
\label{structosim__msgb__cb}\index{osim\_msgb\_cb@{osim\_msgb\_cb}}


APDU command body.  




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

\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
enum \textbf{ osim\+\_\+apdu\+\_\+case} \textbf{ apduc}
\begin{DoxyCompactList}\small\item\em command-\/response pair case, defining the encoding of Lc and Le \end{DoxyCompactList}\item 
uint16\+\_\+t \textbf{ lc}
\begin{DoxyCompactList}\small\item\em number of bytes in the command data field Nc, which will encoded in 0, 1 or 3 bytes into Lc, depending on the case \end{DoxyCompactList}\item 
uint16\+\_\+t \textbf{ le}
\begin{DoxyCompactList}\small\item\em maximum number of bytes expected in the response data field, which will encoded in 0, 1, 2 or 3 bytes into Le, depending on the case \end{DoxyCompactList}\item 
uint16\+\_\+t \textbf{ sw}
\begin{DoxyCompactList}\small\item\em status word, composed of SW1 and SW2 bytes \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
APDU command body. 

This structure encode a command body, as specified in ISO/\+IEC 7816-\/3\+:2006(E) §12.1. The data and response contents should be provided along with this structure. 

\doxysubsection{Field Documentation}
\mbox{\label{structosim__msgb__cb_ab1715ae79a45ad57781a7e5bcc5d3538}} 
\index{osim\_msgb\_cb@{osim\_msgb\_cb}!apduc@{apduc}}
\index{apduc@{apduc}!osim\_msgb\_cb@{osim\_msgb\_cb}}
\doxysubsubsection{apduc}
{\footnotesize\ttfamily enum \textbf{ osim\+\_\+apdu\+\_\+case} osim\+\_\+msgb\+\_\+cb\+::apduc}



command-\/response pair case, defining the encoding of Lc and Le 

\mbox{\label{structosim__msgb__cb_ab0841f8d704169cb0db6ed9e68fbdeee}} 
\index{osim\_msgb\_cb@{osim\_msgb\_cb}!lc@{lc}}
\index{lc@{lc}!osim\_msgb\_cb@{osim\_msgb\_cb}}
\doxysubsubsection{lc}
{\footnotesize\ttfamily uint16\+\_\+t osim\+\_\+msgb\+\_\+cb\+::lc}



number of bytes in the command data field Nc, which will encoded in 0, 1 or 3 bytes into Lc, depending on the case 

\mbox{\label{structosim__msgb__cb_af2f4ab18b0f6dd6569c6a71cb6a359fe}} 
\index{osim\_msgb\_cb@{osim\_msgb\_cb}!le@{le}}
\index{le@{le}!osim\_msgb\_cb@{osim\_msgb\_cb}}
\doxysubsubsection{le}
{\footnotesize\ttfamily uint16\+\_\+t osim\+\_\+msgb\+\_\+cb\+::le}



maximum number of bytes expected in the response data field, which will encoded in 0, 1, 2 or 3 bytes into Le, depending on the case 

\mbox{\label{structosim__msgb__cb_aaea2175c33b65b76c644773e9c2bccf0}} 
\index{osim\_msgb\_cb@{osim\_msgb\_cb}!sw@{sw}}
\index{sw@{sw}!osim\_msgb\_cb@{osim\_msgb\_cb}}
\doxysubsubsection{sw}
{\footnotesize\ttfamily uint16\+\_\+t osim\+\_\+msgb\+\_\+cb\+::sw}



status word, composed of SW1 and SW2 bytes 



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