\doxysection{src/sdr/fcch.c File Reference}
\label{fcch_8c}\index{src/sdr/fcch.c@{src/sdr/fcch.c}}


Osmocom GMR-\/1 FCCH bursts implementation.  


{\ttfamily \#include $<$complex.\+h$>$}\newline
{\ttfamily \#include $<$math.\+h$>$}\newline
{\ttfamily \#include $<$errno.\+h$>$}\newline
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
{\ttfamily \#include $<$fftw3.\+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/fcch.\+h$>$}\newline
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \textbf{ gmr1\+\_\+fcch\+\_\+rough} (const struct \textbf{ gmr1\+\_\+fcch\+\_\+burst} $\ast$burst\+\_\+type, struct \textbf{ osmo\+\_\+cxvec} $\ast$search\+\_\+win\+\_\+in, int sps, float freq\+\_\+shift, int $\ast$toa)
\begin{DoxyCompactList}\small\item\em Rough FCCH timing acquisition. \end{DoxyCompactList}\item 
int \textbf{ gmr1\+\_\+fcch\+\_\+rough\+\_\+multi} (const struct \textbf{ gmr1\+\_\+fcch\+\_\+burst} $\ast$burst\+\_\+type, struct \textbf{ osmo\+\_\+cxvec} $\ast$search\+\_\+win\+\_\+in, int sps, float freq\+\_\+shift, int $\ast$peaks\+\_\+toa, int N)
\begin{DoxyCompactList}\small\item\em Rough FCCH timing acquisition w/ multiple FCCH detection. \end{DoxyCompactList}\item 
int \textbf{ gmr1\+\_\+fcch\+\_\+fine} (const struct \textbf{ gmr1\+\_\+fcch\+\_\+burst} $\ast$burst\+\_\+type, struct \textbf{ osmo\+\_\+cxvec} $\ast$burst\+\_\+in, int sps, float freq\+\_\+shift, int $\ast$toa, float $\ast$freq\+\_\+error)
\begin{DoxyCompactList}\small\item\em Fine FCCH timing \& frequency acquisition. \end{DoxyCompactList}\item 
int \textbf{ gmr1\+\_\+fcch\+\_\+snr} (const struct \textbf{ gmr1\+\_\+fcch\+\_\+burst} $\ast$burst\+\_\+type, struct \textbf{ osmo\+\_\+cxvec} $\ast$burst\+\_\+in, int sps, float freq\+\_\+shift, float $\ast$snr)
\begin{DoxyCompactList}\small\item\em SNR estimation on a FCCH burst. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
const struct \textbf{ gmr1\+\_\+fcch\+\_\+burst} \textbf{ gmr1\+\_\+fcch\+\_\+burst}
\begin{DoxyCompactList}\small\item\em FCCH burst (GMR-\/1 version) See GMR-\/1 05.\+004 (ETSI TS 101 376-\/5-\/2 V3.\+1.\+1) -\/ Section 8.\+1. \end{DoxyCompactList}\item 
const struct \textbf{ gmr1\+\_\+fcch\+\_\+burst} \textbf{ gmr1\+\_\+fcch3\+\_\+lband\+\_\+burst}
\begin{DoxyCompactList}\small\item\em FCCH3 L-\/band burst (GMR-\/1 3G version for L-\/band) See GMR-\/1 05.\+004 (ETSI TS 101 376-\/5-\/2 V3.\+1.\+1) -\/ Section 8.\+2.\+1. \end{DoxyCompactList}\item 
const struct \textbf{ gmr1\+\_\+fcch\+\_\+burst} \textbf{ gmr1\+\_\+fcch3\+\_\+sband\+\_\+burst}
\begin{DoxyCompactList}\small\item\em FCCH3 S-\/band burst (GMR-\/1 3G version for S-\/band) See GMR-\/1 05.\+004 (ETSI TS 101 376-\/5-\/2 V3.\+1.\+1) -\/ Section 8.\+2.\+2. \end{DoxyCompactList}\end{DoxyCompactItemize}


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

