root/experimental/components/FrameAssembler/src/PNCodes.h @ 3826

Revision 3826, 1.7 KB (checked in by jgaeddert, 6 years ago)

Separating P/N codes from header file

  • Property svn:eol-style set to native
Line 
1/****************************************************************************
2
3Copyright 2007 Virginia Polytechnic Institute and State University
4
5This file is part of the OSSIE FrameAssembler.
6
7OSSIE FrameAssembler is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 2 of the License, or
10(at your option) any later version.
11
12OSSIE FrameAssembler is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with OSSIE FrameAssembler; if not, write to the Free Software
19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20
21****************************************************************************/
22
23/// \brief P/N frame synchronization code
24///
25/// Maximal length bit sequence for synchronizing the receiver with the
26/// beginning of the frame.
27///
28/// generator polynomial : g = 435 (octal)
29extern bool pnFrameSyncCode[255];
30
31/// \brief P/N frame end-of-message (EOM) code
32///
33/// Maximal length bit sequence for synchronizing the receiver with the
34/// end of the frame.
35///
36/// generator polynomial : g = 453 (octal)
37extern bool pnFrameEOMCode[255];
38
39/// \brief P/N control code
40///
41/// Maximal length bit sequence for relaying basic control information.
42///
43/// generator polynomial : g = 45 (octal)
44extern bool pnControlCode[31];
45
46/// \brief Inverse P/N control code
47///
48/// Inverse of pnControlCode
49extern bool pnControlCodeInv[31];
50
Note: See TracBrowser for help on using the browser.