\doxysection{fcch.\+h} \label{fcch_8h_source}\index{include/osmocom/gmr1/sdr/fcch.h@{include/osmocom/gmr1/sdr/fcch.h}} \textbf{ Go to the documentation of this file.} \begin{DoxyCode}{0} \DoxyCodeLine{1 \textcolor{comment}{/* GMR-\/1 SDR -\/ FCCH bursts */}} \DoxyCodeLine{2 \textcolor{comment}{/* See GMR-\/1 05.004 (ETSI TS 101 376-\/5-\/4 V3.1.1) -\/ Section 8 */}} \DoxyCodeLine{3 } \DoxyCodeLine{4 \textcolor{comment}{/* (C) 2011-\/2019 by Sylvain Munaut }} \DoxyCodeLine{5 \textcolor{comment}{ * All Rights Reserved}} \DoxyCodeLine{6 \textcolor{comment}{ *}} \DoxyCodeLine{7 \textcolor{comment}{ * This program is free software; you can redistribute it and/or modify}} \DoxyCodeLine{8 \textcolor{comment}{ * it under the terms of the GNU Affero General Public License as published by}} \DoxyCodeLine{9 \textcolor{comment}{ * the Free Software Foundation; either version 3 of the License, or}} \DoxyCodeLine{10 \textcolor{comment}{ * (at your option) any later version.}} \DoxyCodeLine{11 \textcolor{comment}{ *}} \DoxyCodeLine{12 \textcolor{comment}{ * This program is distributed in the hope that it will be useful,}} \DoxyCodeLine{13 \textcolor{comment}{ * but WITHOUT ANY WARRANTY; without even the implied warranty of}} \DoxyCodeLine{14 \textcolor{comment}{ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the}} \DoxyCodeLine{15 \textcolor{comment}{ * GNU Affero General Public License for more details.}} \DoxyCodeLine{16 \textcolor{comment}{ *}} \DoxyCodeLine{17 \textcolor{comment}{ * You should have received a copy of the GNU Affero General Public License}} \DoxyCodeLine{18 \textcolor{comment}{ * along with this program. If not, see .}} \DoxyCodeLine{19 \textcolor{comment}{ */}} \DoxyCodeLine{20 } \DoxyCodeLine{21 \textcolor{preprocessor}{\#ifndef \_\_OSMO\_GMR1\_SDR\_FCCH\_H\_\_}} \DoxyCodeLine{22 \textcolor{preprocessor}{\#define \_\_OSMO\_GMR1\_SDR\_FCCH\_H\_\_}} \DoxyCodeLine{23 } \DoxyCodeLine{33 \textcolor{preprocessor}{\#include }} \DoxyCodeLine{34 } \DoxyCodeLine{35 } \DoxyCodeLine{36 \textcolor{keyword}{struct }gmr1\_fcch\_burst} \DoxyCodeLine{37 \{} \DoxyCodeLine{38 \textcolor{keywordtype}{float} freq; } \DoxyCodeLine{39 \textcolor{keywordtype}{int} len; } \DoxyCodeLine{40 \};} \DoxyCodeLine{41 } \DoxyCodeLine{42 \textcolor{keyword}{extern} \textcolor{keyword}{const} \textcolor{keyword}{struct }gmr1\_fcch\_burst gmr1\_fcch\_burst;} \DoxyCodeLine{43 \textcolor{keyword}{extern} \textcolor{keyword}{const} \textcolor{keyword}{struct }gmr1\_fcch\_burst gmr1\_fcch3\_lband\_burst;} \DoxyCodeLine{44 \textcolor{keyword}{extern} \textcolor{keyword}{const} \textcolor{keyword}{struct }gmr1\_fcch\_burst gmr1\_fcch3\_sband\_burst;} \DoxyCodeLine{45 } \DoxyCodeLine{46 } \DoxyCodeLine{47 \textcolor{keywordtype}{int} gmr1\_fcch\_rough(\textcolor{keyword}{const} \textcolor{keyword}{struct} gmr1\_fcch\_burst *burst\_type,} \DoxyCodeLine{48 \textcolor{keyword}{struct} osmo\_cxvec *search\_win\_in, \textcolor{keywordtype}{int} sps, \textcolor{keywordtype}{float} freq\_shift,} \DoxyCodeLine{49 \textcolor{keywordtype}{int} *toa);} \DoxyCodeLine{50 } \DoxyCodeLine{51 \textcolor{keywordtype}{int} gmr1\_fcch\_rough\_multi(\textcolor{keyword}{const} \textcolor{keyword}{struct} gmr1\_fcch\_burst *burst\_type,} \DoxyCodeLine{52 \textcolor{keyword}{struct} osmo\_cxvec *search\_win\_in, \textcolor{keywordtype}{int} sps, \textcolor{keywordtype}{float} freq\_shift,} \DoxyCodeLine{53 \textcolor{keywordtype}{int} *toa, \textcolor{keywordtype}{int} N);} \DoxyCodeLine{54 } \DoxyCodeLine{55 \textcolor{keywordtype}{int} gmr1\_fcch\_fine(\textcolor{keyword}{const} \textcolor{keyword}{struct} gmr1\_fcch\_burst *burst\_type,} \DoxyCodeLine{56 \textcolor{keyword}{struct} osmo\_cxvec *burst\_in, \textcolor{keywordtype}{int} sps, \textcolor{keywordtype}{float} freq\_shift,} \DoxyCodeLine{57 \textcolor{keywordtype}{int} *toa, \textcolor{keywordtype}{float} *freq\_error);} \DoxyCodeLine{58 } \DoxyCodeLine{59 \textcolor{keywordtype}{int} gmr1\_fcch\_snr(\textcolor{keyword}{const} \textcolor{keyword}{struct} gmr1\_fcch\_burst *burst\_type,} \DoxyCodeLine{60 \textcolor{keyword}{struct} osmo\_cxvec *burst\_in, \textcolor{keywordtype}{int} sps, \textcolor{keywordtype}{float} freq\_shift,} \DoxyCodeLine{61 \textcolor{keywordtype}{float} *snr);} \DoxyCodeLine{62 } \DoxyCodeLine{63 } \DoxyCodeLine{66 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* \_\_OSMO\_GMR1\_SDR\_FCCH\_H\_\_ */}\textcolor{preprocessor}{}} \end{DoxyCode}