| 1 | /**************************************************************************** |
|---|
| 2 | |
|---|
| 3 | Copyright 2007 Virginia Polytechnic Institute and State University |
|---|
| 4 | |
|---|
| 5 | This file is part of the OSSIE FrameAssembler. |
|---|
| 6 | |
|---|
| 7 | OSSIE FrameAssembler is free software; you can redistribute it and/or modify |
|---|
| 8 | it under the terms of the GNU General Public License as published by |
|---|
| 9 | the Free Software Foundation; either version 2 of the License, or |
|---|
| 10 | (at your option) any later version. |
|---|
| 11 | |
|---|
| 12 | OSSIE FrameAssembler is distributed in the hope that it will be useful, |
|---|
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 15 | GNU General Public License for more details. |
|---|
| 16 | |
|---|
| 17 | You should have received a copy of the GNU General Public License |
|---|
| 18 | along with OSSIE FrameAssembler; if not, write to the Free Software |
|---|
| 19 | Foundation, 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) |
|---|
| 29 | extern 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) |
|---|
| 37 | extern 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) |
|---|
| 44 | extern bool pnControlCode[31]; |
|---|
| 45 | |
|---|
| 46 | /// \brief Inverse P/N control code |
|---|
| 47 | /// |
|---|
| 48 | /// Inverse of pnControlCode |
|---|
| 49 | extern bool pnControlCodeInv[31]; |
|---|
| 50 | |
|---|