\doxysection{src/sdr/dkab.c File Reference}
\label{dkab_8c}\index{src/sdr/dkab.c@{src/sdr/dkab.c}}


Osmocom GMR-\/1 DKABs bursts implementation.  


{\ttfamily \#include $<$complex.\+h$>$}\newline
{\ttfamily \#include $<$math.\+h$>$}\newline
{\ttfamily \#include $<$errno.\+h$>$}\newline
{\ttfamily \#include $<$stdint.\+h$>$}\newline
{\ttfamily \#include $<$stdio.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/core/bits.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/dsp/cxvec.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/dsp/cxvec\+\_\+math.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/gmr1/sdr/defs.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/gmr1/sdr/dkab.\+h$>$}\newline
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bfseries DKAB\+\_\+\+PWR\+\_\+\+RATIO\+\_\+\+THRESHOLD}~10.\+0f
\begin{DoxyCompactList}\small\item\em Ratio between peak power and valley power for DKAB detection. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \textbf{ gmr1\+\_\+dkab\+\_\+demod} (struct \textbf{ osmo\+\_\+cxvec} $\ast$burst\+\_\+in, int sps, float freq\+\_\+shift, int p, \textbf{ sbit\+\_\+t} $\ast$ebits, float $\ast$toa\+\_\+p)
\begin{DoxyCompactList}\small\item\em All-\/in-\/one finding and demodulation of DKAB bursts. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Osmocom GMR-\/1 DKABs bursts implementation. 

