GNU Radio's GR-AIR-MODES Package
types.h
Go to the documentation of this file.
1 /*
2 # Copyright 2010 Nick Foster
3 #
4 # This file is part of gr-air-modes
5 #
6 # gr-air-modes is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3, or (at your option)
9 # any later version.
10 #
11 # gr-air-modes is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with gr-air-modes; see the file COPYING. If not, write to
18 # the Free Software Foundation, Inc., 51 Franklin Street,
19 # Boston, MA 02110-1301, USA.
20 #
21 */
22 
23 #ifndef AIR_MODES_TYPES_H
24 #define AIR_MODES_TYPES_H
25 
28 
29 struct modes_packet {
30  unsigned char data[14];
31 // unsigned char confidence[14]; //112 bits of boolean high/low confidence data for each bit
32  unsigned char lowconfbits[24]; //positions of low confidence bits within the packet
33 
34  unsigned long crc;
35  unsigned int numlowconf;
36  framer_packet_type type; //what length packet are we
37  unsigned int message_type;
39  double timestamp;
40 };
41 
43  bool decision;
44  bool confidence;
45 };
46 
47 #endif
bruteResultTypeDef
Definition: types.h:27
Definition: types.h:27
Definition: types.h:42
Definition: types.h:27
Definition: types.h:26
Definition: types.h:27
double timestamp
Definition: types.h:39
Definition: types.h:27
Definition: types.h:29
unsigned int message_type
Definition: types.h:37
bool confidence
Definition: types.h:44
unsigned long crc
Definition: types.h:34
Definition: types.h:27
unsigned char lowconfbits[24]
Definition: types.h:32
float reference_level
Definition: types.h:38
unsigned int numlowconf
Definition: types.h:35
Definition: types.h:26
framer_packet_type type
Definition: types.h:36
Definition: types.h:26
bool decision
Definition: types.h:43
Definition: types.h:26
unsigned char data[14]
Definition: types.h:30
framer_packet_type
Definition: types.h:26