\doxysection{src/gsm/gsup\+\_\+sms.c File Reference}
\label{gsup__sms_8c}\index{src/gsm/gsup\_sms.c@{src/gsm/gsup\_sms.c}}


SMS (Short Message Service) extensions for Osmocom GSUP.  


{\ttfamily \#include $<$stdint.\+h$>$}\newline
{\ttfamily \#include $<$string.\+h$>$}\newline
{\ttfamily \#include $<$errno.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/core/logging.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/core/msgb.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/gsm/gsup.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/gsm/tlv.\+h$>$}\newline
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \textbf{ osmo\+\_\+gsup\+\_\+sms\+\_\+encode\+\_\+sm\+\_\+rp\+\_\+da} (struct \textbf{ msgb} $\ast$\textbf{ msg}, const struct \textbf{ osmo\+\_\+gsup\+\_\+message} $\ast$gsup\+\_\+msg)
\begin{DoxyCompactList}\small\item\em Encode SM-\/\+RP-\/\+DA IE (see 7.\+6.\+8.\+1), Destination Address. \end{DoxyCompactList}\item 
int \textbf{ osmo\+\_\+gsup\+\_\+sms\+\_\+decode\+\_\+sm\+\_\+rp\+\_\+da} (struct \textbf{ osmo\+\_\+gsup\+\_\+message} $\ast$gsup\+\_\+msg, uint8\+\_\+t $\ast$\textbf{ data}, size\+\_\+t data\+\_\+len)
\begin{DoxyCompactList}\small\item\em Decode SM-\/\+RP-\/\+DA IE (see 7.\+6.\+8.\+1), Destination Address. \end{DoxyCompactList}\item 
int \textbf{ osmo\+\_\+gsup\+\_\+sms\+\_\+encode\+\_\+sm\+\_\+rp\+\_\+oa} (struct \textbf{ msgb} $\ast$\textbf{ msg}, const struct \textbf{ osmo\+\_\+gsup\+\_\+message} $\ast$gsup\+\_\+msg)
\begin{DoxyCompactList}\small\item\em Encode SM-\/\+RP-\/\+OA IE (see 7.\+6.\+8.\+2), Originating Address. \end{DoxyCompactList}\item 
int \textbf{ osmo\+\_\+gsup\+\_\+sms\+\_\+decode\+\_\+sm\+\_\+rp\+\_\+oa} (struct \textbf{ osmo\+\_\+gsup\+\_\+message} $\ast$gsup\+\_\+msg, uint8\+\_\+t $\ast$\textbf{ data}, size\+\_\+t data\+\_\+len)
\begin{DoxyCompactList}\small\item\em Decode SM-\/\+RP-\/\+OA IE (see 7.\+6.\+8.\+2), Originating Address. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
SMS (Short Message Service) extensions for Osmocom GSUP. 

